/* ==========================================================================
   Fondation Muna Yala — Page d'accueil
   ========================================================================== */

/* --------------------------------------------------------------------------
   Bannière / diaporama
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 820px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--violet);
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero__media.est-active { opacity: 1; }
.hero__media--portrait { object-position: center 22%; }

.hero__voile {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
              rgba(46, 31, 82, 0.8) 0%,
              rgba(46, 31, 82, 0.5) 40%,
              rgba(46, 31, 82, 0.92) 100%);
}

.hero__contenu {
  position: relative;
  z-index: 2;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px var(--gouttiere) 130px;
}
.hero__bloc { max-width: 900px; }

.hero__titre {
  font-family: var(--police-titre);
  font-size: clamp(44px, 8vw, 104px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--creme);
  margin: 0 0 22px;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.hero__chapeau {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.75;
  color: rgba(251, 248, 243, 0.85);
  margin: 0 auto 28px;
  max-width: 62ch;
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.hero__chiffres {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: rgba(251, 248, 243, 0.72);
}
.hero__separateur { color: rgba(251, 248, 243, 0.35); }

.hero__puces {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-bottom: 108px;
}
.hero__puce {
  width: 28px;
  height: 4px;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(251, 248, 243, 0.45);
  transition: background 0.3s ease;
}
.hero__puce.est-active { background: var(--orange); }

/* --------------------------------------------------------------------------
   Les quatre axes d'intervention
   -------------------------------------------------------------------------- */
.axes {
  position: relative;
  z-index: 4;
  max-width: 1200px;
  margin: -90px auto 0;
  padding: 0 var(--gouttiere);
}
.axes__carte {
  background: var(--blanc);
  box-shadow: 0 30px 70px rgba(46, 31, 82, 0.18);
}
.axes__entete {
  padding: 34px 30px 26px;
  border-bottom: 1px solid rgba(46, 31, 82, 0.12);
  text-align: center;
}
.axes__entete .surtitre { margin: 0 0 12px; }
.axes__titre {
  font-family: var(--police-titre);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  color: var(--violet);
  margin: 0 auto 12px;
  max-width: 24ch;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.axes__chapeau {
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(46, 31, 82, 0.68);
  margin: 0 auto;
  max-width: 60ch;
  text-wrap: pretty;
}

.axes__grille { display: grid; grid-template-columns: 1fr; }
@media (min-width: 700px)  { .axes__grille { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .axes__grille { grid-template-columns: repeat(4, 1fr); } }

.axe {
  padding: 34px 30px;
  border-style: solid;
  border-color: rgba(46, 31, 82, 0.12);
  border-width: 0 0 1px 0;
}
.axe--dernier { border-width: 0; }
@media (min-width: 940px) {
  .axe { border-width: 0 1px 0 0; }
  .axe--dernier { border-width: 0; }
}

.axe__icone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 19px;
  margin-bottom: 18px;
}
.axe__icone--orange { background: rgba(230, 81, 0, 0.12);  color: var(--orange); }
.axe__icone--violet { background: rgba(75, 51, 129, 0.12); color: var(--violet-clair); }
.axe__icone--vert   { background: rgba(28, 69, 50, 0.12);  color: var(--vert); }
.axe__icone--sombre { background: rgba(46, 31, 82, 0.1);   color: var(--violet); }

.axe__titre {
  font-family: var(--police-titre);
  font-weight: 400;
  font-size: 25px;
  color: var(--violet);
  margin: 0 0 10px;
}
.axe__texte {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(46, 31, 82, 0.7);
  margin: 0 0 16px;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Une ONG ancrée dans les réalités du terrain
   -------------------------------------------------------------------------- */
.presentation {
  max-width: var(--largeur-max);
  margin: 0 auto;
  padding: 84px var(--gouttiere) 40px;
}
.presentation__grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 44px;
  align-items: center;
}
.presentation__image {
  width: 100%;
  height: clamp(300px, 46vw, 500px);
  object-fit: cover;
  display: block;
}
.presentation__titre {
  font-family: var(--police-titre);
  font-weight: 400;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.08;
  color: var(--violet);
  margin: 0 0 18px;
  max-width: 18ch;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.presentation__texte {
  font-size: 16.5px;
  line-height: 1.8;
  color: rgba(46, 31, 82, 0.72);
  margin: 0 0 24px;
  max-width: 54ch;
  text-wrap: pretty;
}

.preuves {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 24px;
}
.preuve {
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(46, 31, 82, 0.8);
  margin: 0;
  padding-left: 18px;
  border-left: 2px solid;
}
.preuve--orange { border-left-color: var(--orange); }
.preuve--violet { border-left-color: var(--violet-clair); }
.preuve--vert   { border-left-color: var(--vert); }

.groupe-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* --------------------------------------------------------------------------
   Dix ans d'action, étape par étape
   -------------------------------------------------------------------------- */
.histoire {
  background: var(--sable);
  padding: 78px 0;
}
.histoire__entete {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px 44px;
  align-items: end;
  margin-bottom: 44px;
}
@media (min-width: 1040px) {
  .histoire__entete { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.histoire__entete .surtitre { margin: 0 0 12px; }
.histoire__titre {
  font-family: var(--police-titre);
  font-weight: 400;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.05;
  color: var(--violet);
  margin: 0;
  max-width: 16ch;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.histoire__chapeau {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(46, 31, 82, 0.72);
  margin: 0;
  max-width: 52ch;
  text-wrap: pretty;
}

.histoire__grille {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px 30px;
}
@media (min-width: 700px)  { .histoire__grille { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .histoire__grille { grid-template-columns: repeat(4, 1fr); } }

.jalon { min-width: 0; }
.jalon__filet {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.jalon__point {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.jalon__point--orange { background: var(--orange); }
.jalon__point--violet { background: var(--violet-clair); }
.jalon__point--vert   { background: var(--vert); }
.jalon__point--sombre { background: var(--violet); }
.jalon__trait {
  flex-grow: 1;
  height: 1px;
  background: rgba(46, 31, 82, 0.2);
}
.jalon__annee {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin: 0 0 10px;
}
.jalon__annee--orange { color: var(--orange); }
.jalon__annee--violet { color: var(--violet-clair); }
.jalon__annee--vert   { color: var(--vert); }
.jalon__annee--sombre { color: var(--violet); }
.jalon__titre {
  font-family: var(--police-titre);
  font-weight: 400;
  font-size: 25px;
  line-height: 1.15;
  color: var(--violet);
  margin: 0 0 10px;
  overflow-wrap: break-word;
}
.jalon__texte {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(46, 31, 82, 0.7);
  margin: 0 0 16px;
  text-wrap: pretty;
}
.jalon__image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

/* --------------------------------------------------------------------------
   Nos chantiers en cours
   -------------------------------------------------------------------------- */
.chantiers {
  max-width: var(--largeur-max);
  margin: 0 auto;
  padding: 84px var(--gouttiere) 0;
}
.chantiers__entete {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 34px;
}
.chantiers__entete .surtitre { margin: 0 0 12px; }
.chantiers__titre {
  font-family: var(--police-titre);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  color: var(--violet);
  margin: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.chantiers__grille {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 940px) { .chantiers__grille { grid-template-columns: repeat(3, 1fr); } }

.chantier {
  display: block;
  text-decoration: none;
  background: var(--blanc);
  box-shadow: 0 14px 40px rgba(46, 31, 82, 0.08);
  transition: box-shadow 0.3s ease;
}
.chantier:hover { box-shadow: 0 22px 54px rgba(46, 31, 82, 0.16); }

.chantier__visuel { position: relative; }
.chantier__visuel img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.chantier__etiquette {
  position: absolute;
  left: 16px;
  bottom: 16px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--creme);
  padding: 7px 12px;
}
.chantier__etiquette--orange { background: var(--orange); }
.chantier__etiquette--violet { background: var(--violet-clair); }
.chantier__etiquette--vert   { background: var(--vert); }

.chantier__corps { padding: 24px 22px 26px; }
.chantier__titre {
  font-family: var(--police-titre);
  font-weight: 400;
  font-size: 24px;
  color: var(--violet);
  margin: 0 0 10px;
}
.chantier__texte {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(46, 31, 82, 0.7);
  margin: 0 0 16px;
  text-wrap: pretty;
}
.chantier__lien {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--orange);
}

/* --------------------------------------------------------------------------
   Initiative phare : le Prêt Academia
   -------------------------------------------------------------------------- */
.academia {
  background: var(--sable);
  margin-top: 84px;
  padding: 78px 0;
}
.academia__grille {
  max-width: var(--largeur-max);
  margin: 0 auto;
  padding: 0 var(--gouttiere);
  display: grid;
  grid-template-columns: 1fr;
  gap: 46px;
  align-items: center;
}
@media (min-width: 1000px) {
  .academia__grille { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
}

.academia__badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--creme);
  background: var(--orange);
  padding: 7px 14px;
  margin: 0 0 20px;
}
.academia__titre {
  font-family: var(--police-titre);
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.06;
  color: var(--violet);
  margin: 0 0 20px;
  max-width: 22ch;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.academia__texte {
  font-size: 16.5px;
  line-height: 1.8;
  color: rgba(46, 31, 82, 0.72);
  margin: 0 0 16px;
  max-width: 52ch;
  text-wrap: pretty;
}
.academia__texte--fin { margin-bottom: 26px; }

.academia__carte {
  background: var(--violet-clair);
  color: var(--creme);
  position: relative;
}
.academia__pastille {
  position: absolute;
  left: 50%;
  top: clamp(150px, 24vw, 200px);
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--creme);
  font-size: 23px;
}
.academia__visuel {
  position: relative;
  height: clamp(180px, 24vw, 230px);
  overflow: hidden;
}
.academia__visuel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}
.academia__degrade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
              rgba(75, 51, 129, 0) 0%,
              rgba(75, 51, 129, 0.35) 62%,
              rgba(75, 51, 129, 0.96) 100%);
}
.academia__corps {
  padding: 46px clamp(24px, 3vw, 38px) clamp(26px, 3.5vw, 38px);
  text-align: center;
}
.academia__sous-titre {
  font-family: var(--police-titre);
  font-weight: 400;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.15;
  margin: 0 0 12px;
  text-wrap: balance;
}
.academia__resume {
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(251, 248, 243, 0.82);
  margin: 0 0 24px;
  text-wrap: pretty;
}
.academia__faits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(251, 248, 243, 0.22);
  text-align: left;
}
.academia__fait {
  background: var(--violet-clair);
  padding: 16px 14px;
}
.academia__fait-titre {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 6px;
}
.academia__fait-texte {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(251, 248, 243, 0.9);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Le mot du fondateur
   -------------------------------------------------------------------------- */
.fondateur {
  max-width: var(--largeur-max);
  margin: 0 auto;
  padding: 84px var(--gouttiere) 0;
}
.fondateur__bloc {
  background: var(--violet-clair);
  color: var(--creme);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  align-items: stretch;
}
.fondateur__visuel {
  position: relative;
  min-height: clamp(280px, 40vw, 460px);
}
.fondateur__visuel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.fondateur__corps {
  padding: clamp(28px, 4.5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fondateur__surtitre {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 20px;
}
.fondateur__citation {
  font-family: var(--police-titre);
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.22;
  margin: 0 0 24px;
  text-wrap: pretty;
}
.fondateur__nom { font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.fondateur__role {
  font-size: 14px;
  color: rgba(251, 248, 243, 0.7);
  margin: 0 0 24px;
}
.fondateur__lien { align-self: flex-start; }

/* --------------------------------------------------------------------------
   Bande d'appel au don
   -------------------------------------------------------------------------- */
.bande-cta--accueil { margin: 84px 0 0; }
