/* ── Page Faire un don — Revival ── */

.don-hero {
  min-height: 48vh;
  background: radial-gradient(ellipse at 70% 0%, #0a2a6e 0%, #050d2a 55%, #000d1f 100%);
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.don-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  max-width: 720px;
  margin: 0 auto;
}
.don-hero__inner h1 {
  font-size: clamp(34px, 5vw, 58px);
  margin: 12px 0 20px;
  letter-spacing: -.03em;
}
.don-hero__inner p {
  font-size: 17px;
  color: rgba(255, 255, 255, .65);
  line-height: 1.75;
}
.don-hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* Why donate */
.don-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.don-why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: var(--transition);
}
.don-why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(1, 156, 214, .35);
}
.don-why-card__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(1, 156, 214, .12), rgba(3, 81, 148, .12));
  border: 1px solid rgba(1, 156, 214, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #019cd6;
}
.don-why-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.55;
  margin: 0;
}
.don-why-card strong {
  display: block;
  font-size: 14px;
  color: var(--black);
  margin-bottom: 4px;
}

/* Impact table */
.don-impact-wrap {
  overflow-x: auto;
  margin-top: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow);
}
.don-impact-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}
.don-impact-table th,
.don-impact-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.don-impact-table th {
  background: linear-gradient(135deg, #019cd6, #035194);
  color: var(--white);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.don-impact-table tr:last-child td { border-bottom: none; }
.don-impact-table tbody tr:hover td { background: rgba(1, 156, 214, .04); }
.don-impact-table td:first-child {
  font-weight: 700;
  color: #019cd6;
  white-space: nowrap;
  width: 120px;
}

/* Amount picker */
.don-picker-section {
  padding: 100px 0;
  background: var(--bg);
}
.don-picker-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.don-type-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
}
.don-type-tab {
  flex: 1;
  padding: 12px 16px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  transition: all .2s;
}
.don-type-tab.active {
  background: linear-gradient(135deg, #019cd6, #035194);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(1, 156, 214, .35);
}
.don-amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.don-amount-btn {
  padding: 14px 10px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  cursor: pointer;
  transition: all .2s;
}
.don-amount-btn:hover {
  border-color: #019cd6;
  color: #019cd6;
}
.don-amount-btn.active {
  border-color: #019cd6;
  background: rgba(1, 156, 214, .1);
  color: #035194;
  box-shadow: 0 0 0 3px rgba(1, 156, 214, .15);
}
.don-amount-btn--custom {
  grid-column: span 3;
  font-weight: 600;
  font-size: 14px;
}
.don-custom-wrap {
  display: none;
  margin-top: 12px;
}
.don-custom-wrap.visible { display: block; }

/* Form card */
.don-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 100px;
}
.don-form-card h3 {
  font-size: 22px;
  margin-bottom: 6px;
}
.don-form-card > p.sub {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 24px;
}
.don-form-section-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #019cd6;
  margin: 24px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.don-form-section-title:first-of-type { margin-top: 0; }
.don-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
}
.don-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.don-form .form-row:has(.form-group:only-child) {
  grid-template-columns: 1fr;
}
@media (max-width: 600px) {
  .don-form .form-row { grid-template-columns: 1fr; }
}
.don-form .form-group label { font-size: 13px; font-weight: 600; }
.don-form .form-group input,
.don-form .form-group select,
.don-form .form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  width: 100%;
  font-family: inherit;
  background: #fafbfc;
  transition: border-color .2s, box-shadow .2s;
}
.don-form .form-group input:focus,
.don-form .form-group select:focus,
.don-form .form-group textarea:focus {
  outline: none;
  border-color: #019cd6;
  box-shadow: 0 0 0 3px rgba(1, 156, 214, .12);
  background: #fff;
}
.don-form .form-group textarea { min-height: 80px; resize: vertical; }
.don-anonymous {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
  font-size: 14px;
  color: var(--gray);
  cursor: pointer;
}
.don-anonymous input { width: auto; accent-color: #019cd6; }

/* Payment methods */
.don-payment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 8px;
}
.don-payment-option {
  position: relative;
  cursor: pointer;
}
.don-payment-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.don-payment-option__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 12px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: #fafbfc;
  text-align: center;
  transition: all .2s;
  min-height: 88px;
  justify-content: center;
}
.don-payment-option input:checked + .don-payment-option__box {
  border-color: #019cd6;
  background: rgba(1, 156, 214, .08);
  box-shadow: 0 0 0 3px rgba(1, 156, 214, .12);
}
.don-payment-option__box svg { color: #019cd6; }
.don-payment-option__box strong {
  font-size: 12px;
  color: var(--black);
  line-height: 1.3;
}
.don-payment-option__box span {
  font-size: 11px;
  color: var(--gray);
}
.don-operators {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.don-operator-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--gray);
}

/* Transparency */
.don-trust {
  background: linear-gradient(135deg, #050d2a 0%, #0a2a6e 100%);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}
.don-trust__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ade80;
}
.don-trust p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .75);
}

/* Testimonials */
.don-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.don-testi {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
}
.don-testi::before {
  content: '"';
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 48px;
  line-height: 1;
  color: rgba(1, 156, 214, .15);
  font-family: Georgia, serif;
}
.don-testi p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--black);
  font-style: italic;
  margin-bottom: 20px;
}
.don-testi cite {
  font-size: 13px;
  color: var(--gray);
  font-style: normal;
  display: block;
}
.don-testi cite strong {
  display: block;
  color: var(--black);
  font-size: 14px;
  margin-bottom: 2px;
}

/* Final CTA */
.don-final-cta {
  text-align: center;
  padding: 100px 0;
  background: var(--bg);
}
.don-final-cta h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 24px;
  letter-spacing: -.03em;
}

.don-success {
  display: none;
  margin-top: 16px;
  padding: 16px 18px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 10px;
  color: #166534;
  font-size: 14px;
  line-height: 1.5;
}
.don-success.visible { display: block; }

.don-secure-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--gray);
  justify-content: center;
}
.don-secure-note svg { color: #22c55e; flex-shrink: 0; }

@media (max-width: 1024px) {
  .don-picker-layout { grid-template-columns: 1fr; }
  .don-form-card { position: static; }
  .don-why__grid { grid-template-columns: repeat(2, 1fr); }
  .don-testimonials { grid-template-columns: 1fr 1fr; }
}
/* FAQ (aligné sur home.css) */
.don-page-faq .faq-item { border-bottom: 1px solid var(--border); }
.don-page-faq .faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  text-align: left;
  cursor: pointer;
}
.don-page-faq .faq-q:hover { color: #019cd6; }
.don-page-faq .faq-icon {
  font-size: 22px;
  font-weight: 300;
  color: #019cd6;
  transition: transform .25s;
  flex-shrink: 0;
}
.don-page-faq .faq-item.open .faq-icon { transform: rotate(45deg); }
.don-page-faq .faq-a {
  display: none;
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
}
.don-page-faq .faq-item.open .faq-a { display: block; }

@media (max-width: 700px) {
  .don-why__grid { grid-template-columns: 1fr; }
  .don-amount-grid { grid-template-columns: repeat(2, 1fr); }
  .don-amount-btn--custom { grid-column: span 2; }
  .don-payment-grid { grid-template-columns: 1fr; }
  .don-testimonials { grid-template-columns: 1fr; }
  .don-form-card { padding: 28px 20px; }
}
