/* ============================================
   GESIS — don.css
   ============================================ */

/* ---- HERO ---- */
.don-hero {
  background: linear-gradient(135deg, var(--blue) 0%, #1a5276 60%, var(--green) 100%);
}

/* ---- ÉTAPES ---- */
.don-steps-section { background: var(--white); }

.don-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 16px;
  flex-wrap: wrap;
}

.don-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  padding: 28px 20px;
  background: var(--paper);
  border-radius: 12px;
  border: 1px solid var(--rule);
}

.don-step-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--orange);
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.don-step-body h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.don-step-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.don-step-arrow {
  font-size: 22px;
  color: var(--rule);
  padding: 0 8px;
  flex-shrink: 0;
  align-self: center;
}

/* ---- FORMULAIRE ---- */
.don-section { background: var(--paper); }

.don-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: start;
}

.don-form-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 44px;
  box-shadow: var(--shadow-md);
}

.don-form-header { margin-bottom: 28px; }

.don-form-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.don-form-sub {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Montants */
.don-amounts-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 10px;
}

.don-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.don-amount-btn {
  position: relative;
  padding: 16px 8px;
  border: 2px solid var(--rule);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  transition: all 0.2s var(--ease);
  line-height: 1.2;
}

.don-amount-btn span {
  display: block;
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 1px;
  margin-top: 2px;
}

.don-amount-btn:hover {
  border-color: var(--blue);
  background: var(--blue-light);
  color: var(--blue);
}

.don-amount-btn.active {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(27,60,107,0.3);
}

.don-amount-btn.active span { color: rgba(255,255,255,0.7); }
.don-amount-popular { border-color: var(--orange); }

.don-popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 9px;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: 10px;
  white-space: nowrap;
}

.don-amount-popular.active .don-popular-badge {
  background: var(--white);
  color: var(--orange);
}

/* Montant libre */
.don-custom { margin-bottom: 14px; }

.don-custom label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 7px;
  font-family: var(--font-mono);
}

.don-custom-wrap { position: relative; }

.don-custom-wrap input {
  width: 100%;
  padding: 12px 64px 12px 16px;
  border: 1.5px solid var(--rule);
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.don-custom-wrap input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,60,107,0.1);
}

.don-custom-unit {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 1px;
}

/* Impact preview */
.don-impact-preview {
  display: none;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #92400e;
  line-height: 1.5;
}

.don-impact-preview.visible { display: flex; }
.don-impact-icon { flex-shrink: 0; }

/* Champs donateur */
.don-donor-fields { margin-bottom: 24px; }

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Bouton WhatsApp */
.btn-don-wa {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 700;
  background: #25d366;
  color: var(--white);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  font-family: var(--font-body);
}

.btn-don-wa:hover {
  background: #1fba58;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
}

/* Note WhatsApp */
.don-wa-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 10px;
  font-size: 12.5px;
  color: #166534;
  line-height: 1.6;
}

/* ---- COLONNE IMPACT ---- */
.don-impact-col {}

.don-impacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 28px 0;
}

.don-impact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 13px 16px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  transition: all 0.2s;
}

.don-impact-item:hover {
  border-color: var(--orange);
  background: #fffbeb;
}

.don-impact-featured {
  border-color: var(--orange);
  background: #fffbeb;
}

.don-impact-amount {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--orange);
  white-space: nowrap;
  min-width: 95px;
  padding-top: 2px;
}

.don-impact-desc {
  font-size: 13px;
  color: var(--body);
  line-height: 1.6;
}

/* Transparence */
.don-transparence {
  background: var(--blue-light);
  border: 1px solid rgba(27,60,107,0.12);
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 20px;
}

.don-transparence-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 12px;
}

.don-transparence-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}

.don-transparence-list li {
  font-size: 13px;
  color: var(--body);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.don-transparence-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.don-statuts-link {
  font-size: 13px;
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}

.don-statuts-link:hover { text-decoration: underline; }

/* Carte président */
.don-president-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border: 1.5px solid #25d366;
  border-radius: 12px;
  background: #f0fdf4;
}

.don-president-avatar {
  font-size: 36px;
  width: 56px;
  height: 56px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid #86efac;
}

.don-president-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 2px;
}

.don-president-role {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 5px;
}

.don-president-note {
  font-size: 12px;
  color: #166534;
  line-height: 1.5;
}

/* ---- AUTRES FAÇONS ---- */
.don-autres-section { background: var(--white); }

.don-autres-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.don-autre-item {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 28px 22px;
  text-align: center;
  transition: all 0.3s var(--ease);
}

.don-autre-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--blue);
}

.don-autre-icon { font-size: 36px; margin-bottom: 14px; }

.don-autre-item h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.don-autre-item p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .don-grid        { grid-template-columns: 1fr; gap: 48px; }
  .don-autres-grid { grid-template-columns: 1fr; max-width: 440px; margin: 48px auto 0; }
  .don-steps       { gap: 12px; }
  .don-step-arrow  { display: none; }
}

@media (max-width: 768px) {
  .don-form-card { padding: 24px 18px; }
  .don-amounts   { grid-template-columns: repeat(2, 1fr); }
  .form-row-2    { grid-template-columns: 1fr; }
  .don-autres-grid { max-width: 100%; }
}

@media (max-width: 480px) {
  .don-step { min-width: 100%; }
}
