.petition-wrap { max-width: 880px; margin: 0 auto; }

/* TITRE */
.petition-head {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0 1.25rem;
  text-align: center;
}

/* moins d'espace entre le bloc titre et la vue aérienne */
main { padding-top: 1.25rem; }

/* même police que « Rappel de notre démarche » */
.petition-label {
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.petition-head h1 {
  font-size: clamp(1.45rem, 3.5vw, 2.1rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.9rem;
}

.petition-lead {
  font-size: 1.02rem;
  color: var(--muted);
  margin: 0;
}

/* BOUTONS */
.petition-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.petition-action {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--blue);
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.petition-action:hover { background: var(--blue-light); color: var(--blue); }
.petition-action.primary { background: var(--blue); color: #fff; }
.petition-action.primary:hover { background: var(--blue-mid); border-color: var(--blue-mid); color: #fff; }

/* VUE AÉRIENNE */
.petition-aerial {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.petition-aerial img { display: block; width: 100%; height: auto; }

/* TEXTE */
.petition-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.petition-return { margin-bottom: 1.5rem; }

.petition-card h2,
.petition-return h2 { text-transform: uppercase; }

.petition-card h2 {
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: 1.5rem;
}

.petition-card p:last-child { margin-bottom: 0; }
.petition-card a, .petition-org a { color: var(--blue); }

.petition-photo { margin: 0 auto; max-width: 240px; }
.petition-photo img { display: block; width: 100%; height: auto; border-radius: 10px; }

/* INVITATION */
.petition-event {
  display: flex;
  gap: 1.1rem;
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  border-radius: 10px;
  padding: 1.35rem 1.5rem;
  margin: 1.5rem 0;
}

.petition-event > i { font-size: 1.8rem; line-height: 1.2; color: var(--blue); }

/* SIGNATURE : une lumière dans la nuit */
.petition-return {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(ellipse 70% 75% at 50% 0%, rgba(255,215,94,0.38), transparent 70%),
    linear-gradient(160deg, #1855a3 0%, #0d2d5c 55%, #071a38 100%);
  border: 2px solid #ffd75e;
  border-radius: 16px;
  padding: 2.25rem 2rem 2.5rem;
  box-shadow: 0 10px 34px rgba(13,45,92,0.35);
}

.petition-bulb {
  display: inline-block;
  font-size: 3rem;
  line-height: 1;
  color: #ffd75e;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 0 14px rgba(255,215,94,0.9));
  animation: petition-glow 2.4s ease-in-out infinite;
}

.petition-return h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #ffd75e;
  margin-bottom: 1rem;
}

.petition-return p { font-size: 1.05rem; max-width: 620px; margin: 0 auto 1.75rem; }
.petition-return p a { color: #ffd75e; font-weight: 600; }

.petition-deadline {
  display: inline-block;
  background: #ffd75e;
  color: #071a38;
  border-radius: 6px;
  padding: 0 0.55rem;
  white-space: nowrap;
}

.petition-return .petition-action {
  font-size: 0.95rem;
  padding: 0.8rem 1.7rem;
  color: #fff;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.75);
}

.petition-return .petition-action:hover { background: #fff; border-color: #fff; color: #0d2d5c; }

.petition-return .petition-action.primary {
  font-weight: 600;
  color: #071a38;
  background: #ffd75e;
  border-color: #ffd75e;
  animation: petition-pulse 2.4s ease-out infinite;
}

.petition-return .petition-action.primary:hover { background: #ffe595; border-color: #ffe595; color: #071a38; }

@keyframes petition-glow {
  50% { filter: drop-shadow(0 0 28px rgba(255,215,94,1)); transform: scale(1.08); }
}

@keyframes petition-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,215,94,0.75); }
  70%  { box-shadow: 0 0 0 14px rgba(255,215,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,215,94,0); }
}

/* sans animation pour les personnes qui les désactivent */
@media (prefers-reduced-motion: reduce) {
  .petition-bulb,
  .petition-return .petition-action.primary { animation: none; }
}

/* ORGANISATION */

.petition-org {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 575px) {
  .petition-card,
  .petition-return { padding: 1.35rem 1.15rem; }

  .petition-event { flex-direction: column; gap: 0.5rem; padding: 1.15rem; }

  .petition-action { width: 100%; justify-content: center; }
}
