/* ==========================================================================
   STYLE GLOBAL & VARIABLES - HUMAN AID IN ACTION
   ========================================================================== */

:root {
  --primary: #2a7a4c;
  --primary-hover: #1f5937;
  --secondary: #e67e22;
  --secondary-hover: #d35400;
  --dark: #1e293b;
  --light: #f8fafc;
  --white: #ffffff;
  --gray: #64748b;
  --gray-light: #e2e8f0;
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--dark);
  line-height: 1.6;
}

body {
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- TYPOGRAPHIE & BOUTONS --- */
h1, h2, h3, h4 {
  color: var(--dark);
  line-height: 1.3;
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--dark);
}

.w-100 {
  width: 100%;
}

/* --- EN-TÊTE ET NAVIGATION --- */
.navbar {
  position: sticky;
  top: 0;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  padding: 15px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  text-decoration: none;
  text-transform: uppercase;
}

.logo span {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* --- BANNIÈRE EN-TÊTE DE PAGE --- */
.page-header {
  padding: 60px 0;
  text-align: center;
  color: var(--white);
  /* EMPLACEMENT BACKGROUND IMAGE PAGE HEADER: remplace l'url ci-dessous */
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), var(--primary);
}

.page-header h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 10px;
}

/* --- SECTIONS SPÉCIFIQUES --- */
.section {
  padding: 70px 0;
}

.bg-light {
  background-color: var(--light);
}

.section-title {
  text-align: center;
  margin-bottom: 45px;
}

.section-title h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.section-title p {
  color: var(--gray);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* --- CONTENEUR D'IMAGE DÉDIÉ --- */
.img-box {
  width: 100%;
  height: 250px;
  background-color: var(--gray-light);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-weight: 600;
  border: 2px dashed #cbd5e1;
  overflow: hidden;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- ACCUEIL HERO --- */
.hero {
  padding: 100px 0;
  text-align: center;
  color: var(--white);
  /* EMPLACEMENT BACKGROUND HERO ACCUEIL */
 background: url(haa/background.jpg) center/cover;
}

.hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin: 15px 0;
}

.hero p {
  font-size: 1.2rem;
  max-width: 650px;
  margin: 0 auto 30px;
  color: #e2e8f0;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* --- STATISTIQUES --- */
.stats-container {
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.stat-card {
  background: var(--white);
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.stat-card h3 {
  font-size: 2.2rem;
  color: var(--primary);
}

.stat-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* --- CARTES ET COMPOSANTS --- */
.card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.team-card {
  text-align: center;
}

.team-card .img-box {
  height: 200px;
  margin-bottom: 15px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  height: 220px;
}

/* --- FORMULAIRES --- */
.form-container {
  background: var(--light);
  padding: 35px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
}

.payment-options {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.payment-btn {
  flex: 1;
  padding: 12px;
  border: 1px solid var(--gray-light);
  background: var(--white);
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  text-align: center;
}

.payment-btn.active {
  border-color: var(--primary);
  background: #e8f5e9;
  color: var(--primary);
}

/* --- FOOTER --- */
.footer {
  background: var(--dark);
  color: var(--gray);
  padding: 40px 0 20px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 15px;
}

.footer-col a {
  display: block;
  color: var(--gray);
  text-decoration: none;
  margin-bottom: 8px;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #334155;
  padding-top: 20px;
  font-size: 0.9rem;
}
/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
 .menu-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-btns {
    flex-direction: column;
  }
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.identity-card {
    background: #423d3d;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
    color: whitesmoke;
}
.identity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.identity-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.identity-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c7a4d;
}
.volunteer-cta {
    padding: 80px 0;
    background: linear-gradient(
135deg
, #646260 0%, #5a5755 100%);
}
.volunteer-card {
    text-align: center;
    color: white;
    max-width: 700px;
    margin: 0 auto;
}
.volunteer-card h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
      color: white;
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c7a4d;
    margin-bottom: 15px;
}
.history-block {
    margin: 0 auto;
    padding: 40px;
    background: #9f8d8d;
    border-radius: 10px;
    border-left: 5px solid #e67e22;
}
.history-block h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2f3a33;
}

.news-grid {
      display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;

    margin-bottom: 40px;
}
.news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e67e22;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
}

.news-link {
    color: #e67e22;
    text-decoration: none;
    font-weight: 600;
}
.values-grid {
    display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.value-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}
.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #2c7a4d;
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c7a4d;
    margin-bottom: 15px;
}
.team-card img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}
.team-card h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #2c7a4d;
}
.team-role {
    color: #e67e22;
    font-weight: 600;
    margin-bottom: 10px;
}
.value-card {
    background: #797272;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgb(0 0 0 / 5%);
}
.media-item img, .media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
