/* ═══════════════════════════════════════════════════════════════════
   don.css — Page Don — AECJ Les Mureaux
   Mobile-first · breakpoints : 768px · 1024px
   Exclusivement des var(--x) de tokens.css — 0 hex inline
   ═══════════════════════════════════════════════════════════════════ */


/* ──────────────────────────────────────────────────────────────────
   HERO
   ────────────────────────────────────────────────────────────────── */
.don-hero {
  padding: 56px 0 64px;
}


/* ──────────────────────────────────────────────────────────────────
   SECTION HEADERS COMMUNS
   ────────────────────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(22px, 4vw, 30px);
  color: var(--ink);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}


/* ──────────────────────────────────────────────────────────────────
   POURQUOI DONNER
   ────────────────────────────────────────────────────────────────── */
.don-why {
  background: var(--white);
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.don-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .don-why-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .don-why-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }
}

.don-why-card {
  background: var(--green-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .2s, transform .2s;
}

.don-why-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.don-why-icon {
  width: 40px;
  height: 40px;
  color: var(--green);
  flex-shrink: 0;
}

.don-why-icon svg {
  width: 100%;
  height: 100%;
}

.don-why-card .don-why-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.don-why-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}


/* ──────────────────────────────────────────────────────────────────
   SECTION MONTANTS
   ────────────────────────────────────────────────────────────────── */
.don-montants {
  padding: 72px 0;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.don-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 1024px) {
  .don-form-wrap {
    flex-direction: row;
    align-items: flex-start;
    gap: 56px;
  }

  .don-amounts { flex: 1; }
  .don-rib { flex: 1; }
}

/* Montants suggérés */
.don-amounts {
  border: none;
  padding: 0;
  margin: 0;
}

.don-amounts-legend {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  display: block;
}

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

@media (min-width: 480px) {
  .don-amounts-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.don-amount-opt {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 8px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color .15s, background .15s, box-shadow .15s;
  text-align: center;
}

.don-amount-opt:hover {
  border-color: var(--green);
}

.don-amount-opt:has(.don-amount-radio:checked) {
  border-color: var(--green);
  background: var(--green-pale);
  box-shadow: 0 0 0 3px rgba(26,107,63,.12);
}

.don-amount-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.don-amount-equiv {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
}

.don-amount-opt--libre .don-amount-label {
  font-size: 14px;
}

/* Champ montant libre */
.don-libre-wrap {
  margin-top: 16px;
}

.don-libre-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.don-libre-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 200px;
}

.don-libre-input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--ink);
  transition: border-color .15s;
}

.don-libre-input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26,107,63,.12);
}

.don-libre-suffix {
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
}

.don-libre-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

/* Bloc RIB */
.don-rib {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.don-rib-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.don-rib-icon {
  width: 28px;
  height: 28px;
  color: var(--green);
  flex-shrink: 0;
}

.don-rib-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.don-rib-intro {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.don-rib-details {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
}

.don-rib-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}

.don-rib-row:last-child {
  border-bottom: none;
}

.don-rib-row dt {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  flex-shrink: 0;
  width: 90px;
}

.don-rib-row dd {
  font-size: 13px;
  color: var(--ink);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.don-rib-iban {
  font-family: monospace;
  font-size: 12px;
  letter-spacing: .04em;
}

.don-rib-copy {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px 6px;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
  transition: background .15s, color .15s;
}

.don-rib-copy:hover {
  background: var(--green-pale);
  color: var(--green);
}

.don-rib-copy svg {
  width: 14px;
  height: 14px;
}

.don-rib-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  background: var(--green-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.don-rib-note svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--green);
}

.don-rib-mail {
  color: var(--green);
  font-weight: 600;
}


/* ──────────────────────────────────────────────────────────────────
   REÇU FISCAL
   ────────────────────────────────────────────────────────────────── */
.don-fiscal {
  background: var(--green-dark);
  padding: 64px 0;
}

.don-fiscal-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .don-fiscal-inner {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }
}

.don-fiscal-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  color: var(--gold);
}

.don-fiscal-icon svg {
  width: 100%;
  height: 100%;
}

.don-fiscal-title {
  font-size: clamp(20px, 3.5vw, 26px);
  color: var(--white);
  margin-bottom: 12px;
}

.don-fiscal-desc {
  font-size: 14px;
  color: rgba(255,255,255,.8);
  line-height: 1.75;
  margin-bottom: 10px;
}

.don-fiscal-desc strong {
  color: var(--white);
}

.don-fiscal-example {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  padding: 10px 16px;
  border-left: 3px solid var(--gold);
  background: rgba(255,255,255,.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.don-fiscal-example strong {
  color: var(--white);
}


/* ──────────────────────────────────────────────────────────────────
   TÉMOIGNAGES
   ────────────────────────────────────────────────────────────────── */
.don-trust {
  background: var(--white);
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.don-trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .don-trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.don-trust-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.don-trust-quote {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}

.don-trust-quote::before {
  content: '\201C';
  font-size: 40px;
  line-height: 0;
  vertical-align: -14px;
  color: var(--green);
  font-style: normal;
  margin-right: 2px;
}

.don-trust-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.don-trust-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.don-trust-detail {
  font-size: 12px;
  color: var(--muted);
}


/* ──────────────────────────────────────────────────────────────────
   CTA FOOTER DON
   ────────────────────────────────────────────────────────────────── */
.don-cta {
  background: var(--green-pale);
  padding: 64px 0;
}

.don-cta-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .don-cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.don-cta-heading {
  font-size: clamp(20px, 3.5vw, 26px);
  color: var(--ink);
  margin-bottom: 8px;
}

.don-cta-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 480px;
}

.don-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}


/* ──────────────────────────────────────────────────────────────────
   ALTERNATIVES PAIEMENT (Cotizup / PayPal)
   ────────────────────────────────────────────────────────────────── */
.don-alts {
  margin-top: 28px;
}

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

.don-alts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.don-alt-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border);
  background: var(--white);
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
  min-width: 140px;
}

.don-alt-btn:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
  text-decoration: none;
}

.don-alt-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.don-alt-sub {
  font-size: 11px;
  color: var(--muted);
}

.don-alt-btn--cotizup {
  border-color: var(--green-light);
}

.don-alt-btn--cotizup:hover {
  border-color: var(--green);
  background: var(--green-pale);
}

.don-alt-btn--paypal {
  border-color: var(--border);
}


/* ──────────────────────────────────────────────────────────────────
   PROJET LOCAUX
   ────────────────────────────────────────────────────────────────── */
.don-projet {
  background: var(--green-dark);
  padding: 72px 0;
}

.don-projet-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .don-projet-inner {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }

  .don-projet-text { flex: 1; }
  .don-projet-objectif { flex-shrink: 0; }
}

.don-projet-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.don-projet-title {
  font-size: clamp(22px, 4vw, 30px);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.3;
}

.don-projet-desc {
  font-size: 14px;
  color: rgba(255,255,255,.8);
  line-height: 1.75;
  margin-bottom: 12px;
}

.don-projet-desc strong {
  color: var(--white);
}

.don-projet-objectif {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 220px;
}

.don-projet-amount {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  font-family: var(--font-title);
}

.don-projet-detail {
  font-size: 13px;
  color: rgba(255,255,255,.65);
}

.don-projet-btn {
  margin-top: 16px;
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green-dark);
}

.don-projet-btn:hover {
  background: var(--gold-dark, var(--gold));
  border-color: var(--gold-dark, var(--gold));
  color: var(--green-dark);
  text-decoration: none;
}


/* ──────────────────────────────────────────────────────────────────
   REVEAL ANIMATION
   ────────────────────────────────────────────────────────────────── */
.js-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .45s ease, transform .45s ease;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: none;
}
