/* Page signalement + lien discret */

/* Header fixed (app.css --header-height) : le contenu commence sous le header.
   min-height: 100dvh pousse le footer sous la ligne de flottaison. */
.report-page {
  padding: calc(var(--header-height) + 28px) 0 56px;
  min-height: 100dvh;
  box-sizing: border-box;
}

.report-page__container {
  max-width: 32rem;
}

.report-page__header {
  margin-bottom: 0;
}

.report-page__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.report-page__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
}

.report-page__subtitle {
  margin: 0 0 0.85rem;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.35;
}

.report-page__subtitle strong {
  color: var(--color-text);
  font-weight: 600;
}

.report-page__card {
  padding: 1rem 1.1rem 1.1rem;
  border: 1px solid rgba(139, 0, 0, 0.28);
  border-radius: 10px;
  background: rgba(20, 12, 12, 0.35);
}

.report-page__hint {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--color-text-muted);
}

.report-form .form-group {
  margin-bottom: 0.75rem;
}

.report-form .form-group__label {
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
}

.report-form .form-group__input {
  padding: 0.65rem 0.85rem;
  font-size: 0.875rem;
}

.report-form .form-group__input--textarea {
  min-height: 3.25rem;
  resize: vertical;
}

.report-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.report-form__actions .btn {
  flex: 1 1 auto;
  justify-content: center;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
}

.report-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.report-link:hover {
  color: var(--color-text);
}

.announcement-show__report {
  margin-top: 0.75rem;
}

@media (max-width: 640px) {
  .report-page {
    /* Pas de forçage 100vh du formulaire : scroll vertical normal, titre sous header. */
    padding: calc(var(--header-height) + 20px) 0 2.25rem;
    min-height: 0;
  }

  .report-page__card {
    padding: 0.9rem 0.85rem 1rem;
  }

  .report-form .form-group__input--textarea {
    min-height: 4.5rem;
  }

  .report-form__actions {
    flex-direction: column;
  }

  .report-form__actions .btn {
    width: 100%;
  }
}
