/* ============ PAGE DONS ============ */

/* Logo MTN SVG bien ajusté dans la carte */
.don-mtn-logo {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFCC00;
  overflow: hidden;
}
.don-mtn-logo svg {
  width: 100%;
  height: 100%;
  display: block;
}

.don-section {
  padding: 70px clamp(22px, 8vw, 130px) 100px;
  text-align: center;
}

.don-main-title {
  font: 700 clamp(2rem, 4vw, 3.2rem) 'Playfair Display', serif;
  letter-spacing: -0.04em;
  margin: 0 0 50px;
}

.don-payment-number {
  display: inline-block;
  margin: -25px auto 32px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--green-light);
  color: var(--green);
  font-weight: 700;
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.donation-toast { position: fixed; left: 50%; bottom: 28px; z-index: 10000; transform: translate(-50%, 18px); opacity: 0; pointer-events: none; padding: 14px 24px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 700; box-shadow: 0 10px 28px rgba(22, 163, 74, 0.35); transition: opacity .2s ease, transform .2s ease; }
.donation-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.donation-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto;
  align-items: end;
  gap: 16px;
  max-width: 840px;
  margin: 0 auto 38px;
  padding: 24px;
  text-align: left;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.06);
}

.donation-form h2 { grid-column: 1 / -1; margin: 0; color: var(--blue); font-family: 'Playfair Display', Georgia, serif; }
.donation-form label { display: grid; gap: 6px; font-weight: 600; color: var(--blue); }
.donation-form input, .donation-form select { min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; transition: border-color 0.2s; }
.donation-form input:focus, .donation-form select:focus { border-color: var(--blue); outline: none; }
.donation-submit { min-height: 44px; padding: 8px 24px; border: 0; border-radius: 999px; background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%); color: #fff; font-weight: 700; cursor: pointer; box-shadow: 0 6px 18px rgba(247, 148, 29, 0.35); transition: transform 0.2s, box-shadow 0.2s; }
.donation-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(247, 148, 29, 0.45); }
.donation-result { grid-column: 1 / -1; display: none; margin: 0; color: var(--green); font-weight: 600; }
.donation-result.is-visible { display: block; }

.don-payment-logo {
  width: 100%;
  height: 160px;
  display: grid;
  place-items: center;
  font: 700 2rem 'DM Sans', sans-serif;
  border-radius: 16px 16px 0 0;
}

.orange-logo { background: #ff7900; color: #fff; }

.payment-instructions {
  max-width: 680px;
  margin: 44px auto 0;
  padding: 26px;
  border: 1px solid rgba(22, 163, 74, 0.2);
  border-radius: 20px;
  background: var(--green-light);
  color: var(--blue);
}

.payment-instructions h2 { margin-top: 0; color: var(--blue); font-family: 'Playfair Display', Georgia, serif; }
.payment-note { font-size: .92rem; color: var(--muted); }

/* ---- Grille de cartes ---- */
.don-cards {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

/* ---- Carte cliquable ---- */
.don-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  width: 200px;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid var(--line);
  background: #fff;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: pointer;
}

.don-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,48,135,0.15);
  border-color: #F7941D;
}

/* L'image remplit tout le haut de la carte */
.don-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

/* Étiquette sous la photo */
.don-card-label {
  display: block;
  padding: 12px 10px 4px;
  font: 700 0.95rem 'DM Sans', sans-serif;
  color: var(--ink);
}

.don-card-sublabel {
  display: block;
  padding: 0 10px 14px;
  font: 500 0.78rem 'DM Sans', sans-serif;
  color: var(--muted);
}

/* Carte Don en nature (sans photo, fond vert clair) */
.don-card-nature {
  background: #e8f5e9;
  border-color: #c8e6c9;
  justify-content: center;
  gap: 8px;
  padding: 24px 16px;
}

.don-nature-icon {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 600px) {
  .donation-form { grid-template-columns: 1fr; }
  .don-cards {
    gap: 16px;
  }
  .don-card {
    width: 160px;
  }
  .don-card img {
    height: 120px;
  }
}
