/* Formulaires : contact et demande de collecte */

.form {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--gris-200);
  scroll-margin-top: 140px;   /* #formulaire sous l'en-tête fixe */
}

.form-row { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row .field { flex: 1; }

@media (min-width: 768px) {
  .form-row { flex-direction: row; }
}

.field { margin-bottom: 1.25rem; }

/* Libellé en ligne, comme le composant Label de Flowbite */
.field label {
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--texte);
}

.req { margin-left: 2px; color: var(--rouge); }

.field input,
.field textarea {
  display: block;
  width: 100%;
  padding: .625rem;
  border: 1px solid var(--gris-300);
  border-radius: var(--radius);
  background: var(--gris-50);
  color: var(--texte);
  font: inherit;
  font-size: .875rem;
  line-height: 1.25rem;
}

/* Zone de message : réglages du Textarea de Flowbite (4 lignes de 24px) */
.field textarea {
  padding: .5rem .75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--pear-600);
  box-shadow: 0 0 0 1px var(--pear-600);
}

/* Champ avec pictogramme à gauche */
.input-icon { position: relative; }
.input-icon svg {
  position: absolute;
  top: 50%;
  left: .75rem;
  width: 1.25rem;
  height: 1.25rem;
  transform: translateY(-50%);
  color: var(--gris-500);
  pointer-events: none;
}
.input-icon input { padding-left: 2.5rem; }

.field--piege { position: absolute; left: -9999px; }

.hint { display: block; margin-top: .35rem; font-size: .8rem; color: var(--gris-500); }
.hint--err { color: #c81e1e; font-weight: 600; }
.form > .hint { margin-top: .75rem; margin-bottom: 0; }
.form > .hint a { text-decoration: underline; }

.form-status:empty { display: none; }
.form-status {
  margin-bottom: 1.25rem;
  padding: .9rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
}
.form-status.is-ok { background: #def7ec; color: #03543f; }
.form-status.is-err { background: #fde8e8; color: #9b1c1c; }

/* Page contact */
.socials--large { justify-content: center; gap: 1.25rem; margin-bottom: 2.5rem; }
.socials--large svg { width: 4rem; height: 4rem; }

.contact-layout {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.contact-layout > * { flex: 1; min-width: 0; }

.contact-infos { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-infos__title { font-size: 3rem; font-weight: 700; text-align: center; }

.team, .coordonnees { display: flex; flex-direction: column; gap: 1.25rem; }

.team__member,
.coordonnees > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.team__member strong { margin-top: 1rem; font-weight: 600; }
.team__member hr { width: 50%; height: 2px; margin-block: .625rem; background: var(--noir); }

.coordonnees svg { width: 2rem; height: 2rem; }
.coordonnees strong { margin-top: 1.25rem; font-weight: 600; }

@media (min-width: 1024px) {
  .contact-layout, .team, .coordonnees { flex-direction: row; }
}

.map { width: 100%; height: 450px; border: 0; }
