/* ==========================================================================
   Humour d'Utilité Publique — Pages Projet Déclic et Projet MIX UP
   ========================================================================== */

.titre-1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 56px;
  line-height: 70px;
  letter-spacing: -1.12px;
  color: var(--vert-fonce);
}

.titre-2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 40px;
  line-height: 48px;
  color: var(--vert-fonce);
}

.btn--orange   { background: var(--orange);        color: var(--blanc); }

.btn--violet   { background: var(--violet);        color: var(--blanc); }

.btn--md {
  padding: 16px 32px;
  font-family: var(--corps);
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
}

.btn--lg {
  padding: 20px 48px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
}

.etiquette {
  display: inline-flex;
  align-items: center;
  padding: 4px 16px;
  border-radius: 9999px;
  background: var(--violet);
  color: var(--blanc);
  font-size: 16px;
  line-height: 24px;
  text-transform: uppercase;
  align-self: flex-start;
}

.hero-projet {
  background: var(--vert-menthe-3);
  border-radius: 12px;
  margin: 128px 0 0;
  padding: 96px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.hero-projet__texte { display: flex; flex-direction: column; gap: 23px; align-items: flex-start; }

.hero-projet__texte h1 { font-size: 56px; line-height: 61.6px; }

.hero-projet__texte h1 em {
  font-style: italic;
  font-weight: 800;
}

.hero-projet--declic h1 em { color: var(--violet); }

.hero-projet--mixup  h1 em { color: var(--orange); }

.hero-projet__chapo { max-width: 672px; font-weight: 600; font-size: 16px; line-height: 24px; }

.hero-projet .etiquette--orange { background: var(--orange); letter-spacing: .8px; }

.hero-projet__visuel { position: relative; height: 342px; }

.hero-projet__blob {
  position: absolute;
  top: -32px; left: 32px; right: -32px;
  aspect-ratio: 1 / 1;
  background: var(--vert-blur);
  opacity: .5;
  border-radius: 273.6px 91.2px 296.4px 159.6px;
}

.hero-projet__photo {
  position: absolute;
  inset: -12px -8px auto;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,.35);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
  transform: rotate(3.16deg);
}

.hero-projet--mixup .hero-projet__photo { transform: rotate(2.9deg); }

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

.bloc-innovant {
  background: var(--vert-menthe-2);
  border: 1px solid var(--bord-vert-3);
  border-radius: 24px;
  margin-top: 57px;
  padding: 49px 49px 73px;
  text-align: center;
}

.bloc-innovant h2 { font-size: 40px; line-height: 24px; margin-bottom: 24px; }

.bloc-innovant p { max-width: 896px; margin: 0 auto; }

.bloc-innovant strong { font-weight: 600; }

.bloc-innovant--serre p { font-size: 18px; line-height: 28.8px; }

.bandeau-photos {
  display: flex;
  gap: 16px;
  margin-top: 48px;
}

.bandeau-photos img {
  flex: 1 1 0;
  min-width: 0;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
}

.section-objectifs { padding: 96px 0; margin-top: 96px; }

.section-objectifs--violet { background: var(--violet); }

.section-objectifs--orange { background: var(--orange); }

.section-objectifs h2 {
  color: var(--blanc);
  text-align: center;
  font-size: 40px;
  line-height: 24px;
  margin-bottom: 48px;
}

.cartes-objectifs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.carte-objectif {
  background: var(--vert-clair);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.05));
}

.carte-objectif img { height: 40px; width: auto; object-fit: contain; }

.carte-objectif h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--vert-fonce);
}

.carte-objectif p { font-size: 16px; line-height: 24px; }

.objectifs-declic { display: flex; flex-direction: column; align-items: center; gap: 32px; }

.objectifs-declic .carte-objectif h3 {
  font-family: var(--corps);
  font-weight: 700;
  font-size: 30px;
  line-height: 24px;
}

.objectifs-declic__large { width: 568px; max-width: 100%; }

.objectifs-declic__duo { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.objectifs-declic__duo .carte-objectif { width: 282px; }

.methodo-colonnes { padding: 48px 0; }

.methodo-colonnes h2 {
  color: var(--blanc);
  text-align: center;
  font-size: 40px;
  line-height: 24px;
  margin-bottom: 48px;
  font-family: var(--display);
  font-weight: 700;
}

.methodo-colonnes__grille { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 32px; list-style: none; }

.etape-col { text-align: center; display: flex; flex-direction: column; align-items: center; }

.etape-col__num {
  width: 64px; height: 64px;
  border-radius: 9999px;
  background: var(--vert-pale);
  color: var(--vert-fonce);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 20px; line-height: 28px;
  margin-bottom: 16px;
}

.etape-col h3 { font-weight: 700; font-size: 20px; line-height: 24px; color: var(--blanc); margin-bottom: 8px; }

.etape-col p { color: var(--blanc); }

.methodo-asym { padding: 40px 0; }

.methodo-asym__grille { display: grid; grid-template-columns: 31% 1fr; gap: 48px; }

.methodo-asym__intro { padding-top: 128px; display: flex; flex-direction: column; gap: 32px; }

.methodo-asym__intro h2 { font-size: 56px; line-height: 70px; letter-spacing: -1.12px; }

.methodo-asym__intro p { color: var(--blanc); }

.etapes { display: flex; flex-direction: column; gap: 64px; list-style: none; }

.etape { display: flex; gap: 32px; align-items: flex-start; }

.etape__num {
  flex: none;
  width: 64px; height: 64px;
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-weight: 600; font-size: 28px; line-height: 36.4px;
  color: var(--blanc);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
}

.etape__num--vert   { background: var(--vert-fonce); }

.etape__num--prune  { background: var(--violet-fonce); }

.etape__num--orange { background: var(--orange); }

.etape__corps { padding-top: 7px; display: flex; flex-direction: column; gap: 16px; }

.etape__corps h3 { font-family: var(--display); font-weight: 600; font-size: 28px; line-height: 36.4px; color: var(--vert-fonce); }

.etape__corps p { color: var(--blanc); }

.bloc-media-sombre { width: 242px; height: 430px; background: #1c1c1c; border-radius: 4px; }

.zone-motif {
  position: relative;
  margin-top: 96px;
  padding: 83px 0 112px;
  overflow: hidden;
  background: var(--vert-page);
}

.zone-motif__fond {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 320%;
  transform: translateX(-50%);
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  z-index: 0;
}

.zone-motif::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  
}

.cta-final {
  background: var(--vert-blur);
  border: 1px solid var(--bord-vert-2);
  border-radius: 48px;
  padding: 96px 96px 104px;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 18px auto 96px;   /* respiration avant le pied de page */
}

.cta-final::before, .cta-final::after {
  content: ""; position: absolute;
  width: 320px; height: 320px; border-radius: 9999px; filter: blur(32px);
}

.cta-final::before { background: var(--vert-blur); opacity: .3; left: -80px; top: -32px; }

.cta-final::after  { background: var(--rose);      opacity: .2; right: -80px; bottom: -80px; }

.cta-final__inner { position: relative; z-index: 1; max-width: 768px; margin: 0 auto; }

.cta-final h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 56px;
  line-height: 61.6px;
  letter-spacing: -1.12px;
  color: var(--vert-fonce);
}

@media (max-width: 1180px) {
  .methodo-colonnes__grille { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cartes-objectifs { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cta-final { padding: 72px 48px 80px; }
  .hero-projet { padding: 64px; }
  .zone-motif__fond { width: 500%; }
  .bandeau-photos img { height: 140px; }
}

@media (max-width: 900px) {
  .hero-projet,
  .cartes-objectifs,
  .methodo-asym__grille,
  .methodo-colonnes__grille { grid-template-columns: 1fr; }
  .titre-1, .hero-projet__texte h1, .methodo-asym__intro h2 { font-size: 38px; line-height: 46px; }
  .titre-2, .bloc-innovant h2, .section-objectifs h2, .methodo-colonnes h2 { font-size: 28px; line-height: 34px; }
  .cta-final h2, .don-titre { font-size: 32px; line-height: 40px; }
  .methodo-asym { padding: 64px 0; }
  .methodo-asym__intro { padding-top: 0; }
  .cta-final { padding: 56px 24px 64px; margin: 64px auto 56px; }
  .hero-projet { padding: 40px 24px; margin-top: 64px; }
  .hero-projet__visuel { height: 260px; }
  .objectifs-declic__large { width: 100%; }
  .objectifs-declic__duo .carte-objectif { width: 100%; }
  .zone-motif { padding: 56px 0 72px; }
  .bandeau-photos { gap: 10px; margin-top: 32px; }
  .bandeau-photos img { height: 96px; border-radius: 8px; }
}

/* Sur téléphone, la pastille numérotée mangeait la colonne de texte
   des étapes : on la réduit pour rendre le texte lisible. */
@media (max-width: 600px) {
  .etape { gap: 16px; }
  .etape__num { width: 48px; height: 48px; font-size: 22px; line-height: 28px; }
  .etape__corps { padding-top: 0; gap: 12px; }
  .etape__corps h3 { font-size: 22px; line-height: 30px; }
}
