/* Charte e-Agora — formulaire d'inscription journaliste
   Marianne, couleur principale noire #0A0A0A, accents discrets. */
.ij-wrapper {
  max-width: 880px;
  margin: 32px auto 48px;
  padding: 0 16px;
  font-family: var(--font-base);
  color: #0a0a0a;
}

.ij-tetiere {
  margin-bottom: 16px;
}

.ij-tetiere img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px 8px 0 0;
}

.ij-card {
  background: #fff;
  border: 1px solid #e5e2da;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 16px;
}

.ij-header {
  margin-bottom: 24px;
  border-bottom: 1px solid #e5e2da;
  padding-bottom: 18px;
}

.ij-header h1 {
  margin: 0 0 8px 0;
  font-size: 22px;
  font-weight: 700;
  color: #0a0a0a;
  font-family: Marianne, sans-serif;
}

.ij-header p {
  margin: 0;
  color: #4a4a4a;
  font-size: 14px;
  line-height: 1.5;
  font-family: Marianne, sans-serif;
}

.ij-section-title {
  font-size: 11px;
  font-weight: 700;
  color: #0a0a0a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 24px 0 12px 0;
  padding-bottom: 6px;
  border-bottom: 1px solid #e5e2da;
  font-family: Marianne, sans-serif;
}

.ij-section-title:first-of-type {
  margin-top: 0;
}

.ij-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.ij-row--full > * {
  grid-column: 1 / -1;
}

@media (max-width: 640px) {
  .ij-row {
    grid-template-columns: 1fr;
  }
}

.ij-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ij-field label {
  font-size: 12px;
  font-weight: 600;
  color: #0a0a0a;
  font-family: Marianne, sans-serif;
}

.ij-field .req {
  color: #b5170d;
  font-weight: 700;
}

.ij-field input[type="text"],
.ij-field input[type="email"],
.ij-field input[type="tel"],
.ij-field select {
  width: 100%;
  padding: 9px 12px;
  background: #fff;
  border: 1px solid #e5e2da;
  border-radius: 6px;
  color: #0a0a0a;
  font-family: Marianne, sans-serif;
  font-size: 14px;
  box-sizing: border-box;
  height: 40px;
}

.ij-field input:focus,
.ij-field select:focus {
  outline: none;
  border-color: #0a0a0a;
  box-shadow: 0 0 0 1px #0a0a0a inset;
}

.ij-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237A7568'%3E%3Cpath d='M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 18px;
  padding-right: 34px;
}

.ij-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #4a4a4a;
  margin-top: 6px;
  cursor: pointer;
  font-family: Marianne, sans-serif;
}

.ij-checkbox input {
  accent-color: #0a0a0a;
  width: 16px;
  height: 16px;
}

.ij-hint {
  font-size: 12px;
  color: #7a7568;
  margin: 4px 0 0 0;
  font-style: italic;
  font-family: Marianne, sans-serif;
}

.ij-required-note {
  font-size: 12px;
  color: #7a7568;
  margin: 0 0 18px 0;
  font-family: Marianne, sans-serif;
}

.ij-required-note .req {
  color: #b5170d;
  font-weight: 700;
}

/* Captcha altcha */
.ij-captcha {
  margin: 22px 0 12px 0;
}

.ij-captcha altcha-widget {
  display: block;
}

.ij-submit {
  margin-top: 22px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.ij-submit .btn-primary {
  background: #0a0a0a;
  color: #fff;
  border: 1px solid #0a0a0a;
  padding: 11px 22px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition:
    background-color 120ms,
    border-color 120ms;
  font-family: Marianne, sans-serif;
}

.ij-submit .btn-primary:hover:not(:disabled) {
  background: #2a2a2a;
  border-color: #2a2a2a;
}

.ij-submit .btn-primary:disabled {
  background: #b0ab9b;
  border-color: #b0ab9b;
  cursor: not-allowed;
}

.ij-alert {
  padding: 14px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  font-family: Marianne, sans-serif;
}

.ij-alert i {
  font-size: 20px;
  flex: 0 0 auto;
  margin-top: 1px;
}

.ij-alert--success {
  background: #e8f5ec;
  border: 1px solid #167d3a;
  color: #0f5a2a;
}

.ij-alert--success i {
  color: #167d3a;
}

.ij-alert--error {
  background: #fbe6e4;
  border: 1px solid #b5170d;
  color: #8e1208;
}

.ij-alert--error i {
  color: #b5170d;
}

.ij-rgpd {
  margin-top: 18px;
  padding: 14px 16px;
  background: #faf9f5;
  border: 1px solid #e5e2da;
  border-radius: 6px;
  font-size: 12px;
  color: #4a4a4a;
  line-height: 1.55;
  font-family: Marianne, sans-serif;
}

.ij-rgpd strong {
  color: #0a0a0a;
}

.ij-rgpd a {
  color: #0a0a0a;
  text-decoration: underline;
}
