/* Tickets solidaires (page Nos actions, onglet Maraudes) */

.tk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 16px;
}

.tk {
  --tk-bg: #0E2544;
  --tk-notch: #F6F8F8;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  min-height: 200px;
  border-radius: 26px;
  background: var(--tk-bg);
  color: #FFFFFF;
  text-decoration: none;
  transition: translate .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}
.tk.tk-alt { --tk-bg: #3C5A7B; }
.tk:hover, .tk:focus-visible { color: #FFFFFF; translate: 0 -4px; box-shadow: 0 26px 48px -28px rgba(14,37,68,.6); }

.tk-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px 24px 26px;
}
.tk-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.tk-label img { width: 22px; height: auto; flex: none; }
.tk-title {
  margin: 4px 0 0;
  font: 800 clamp(30px, 3vw, 40px)/.95 Archivo, sans-serif;
  font-stretch: 86%;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.tk-desc { margin: 0; font-size: 15.5px; line-height: 1.45; color: rgba(255,255,255,.9); }
.tk-impact {
  margin: auto 0 0;
  padding-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255,255,255,.82);
}
.tk-impact strong { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #3FE0A8; }

/* Talon détachable : montant et appel au don */
.tk-stub {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px 12px;
  border-left: 2px dashed rgba(255,255,255,.3);
}
.tk-stub::before, .tk-stub::after {
  content: "";
  position: absolute;
  left: -15px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--tk-notch);
}
.tk-stub::before { top: -14px; }
.tk-stub::after { bottom: -14px; }
.tk-price {
  font: 800 52px/.85 Archivo, sans-serif;
  font-stretch: 86%;
  color: #3FE0A8;
  white-space: nowrap;
}
.tk-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #FFFFFF;
  color: #0E2544;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .25s ease;
}
.tk:hover .tk-cta { background: #3FE0A8; }

/* Téléphone : ticket vertical, talon en bas */
@media (max-width: 640px) {
  .tk { grid-template-columns: 1fr; min-height: 0; }
  .tk-main { padding: 22px 22px 18px; }
  .tk-title { font-size: 30px; }
  .tk-stub {
    flex-direction: row;
    justify-content: space-between;
    padding: 16px 22px 20px;
    border-left: 0;
    border-top: 2px dashed rgba(255,255,255,.3);
  }
  .tk-stub::before, .tk-stub::after { top: -15px; left: auto; }
  .tk-stub::before { left: -14px; }
  .tk-stub::after { right: -14px; bottom: auto; }
  .tk-price { font-size: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .tk, .tk-cta { transition: none; }
  .tk:hover { translate: none; }
}
