/* ================================
   Formulaire bon cadeau – thème sombre
   ================================ */

.boncadeau-form {
  margin: 3rem 0;
  padding: 0 1.5rem;            /* marge à gauche/droite comme le reste du contenu */
}

.boncadeau-form__inner {
  max-width: 960px;
  margin: 0 auto;
}

/* Titres & textes – clairs pour fond sombre */

.boncadeau-form__title {
  margin: 0 0 0.75rem;
  font-size: 1.6rem;
  line-height: 1.3;
  color: #f8f2eb;               /* texte clair */
}

.boncadeau-form__intro {
  margin: 0 0 1.8rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #d9c8ba;               /* texte secondaire clair */
}

/* Grille du formulaire */

.boncadeau-form__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 2rem;
}

/* Chaque champ */

.boncadeau-form__field {
  display: flex;
  flex-direction: column;
}

/* Champs en pleine largeur (email, montant, mode d'envoi) */

.boncadeau-form__field:nth-child(3),
.boncadeau-form__field:nth-child(5),
.boncadeau-form__field:nth-child(6) {
  grid-column: 1 / -1;
}

/* Labels */

.boncadeau-form__label {
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f5e9de;               /* labels bien visibles */
}

/* Inputs & select */

.boncadeau-form__input,
.boncadeau-form__select {
  padding: 0.6rem 0.7rem;
  font-size: 0.95rem;
  border: 1px solid #5a463a;
  border-radius: 4px;
  background-color: #241a16;    /* fond sombre */
  color: #f8f2eb;               /* texte clair */
  box-sizing: border-box;
}

/* Menu déroulant très lisible (liste des options) */
.boncadeau-form__select {
  background-color: #f7f1ec;    /* fond clair pour le champ */
  color: #3a2720;               /* texte foncé */
}

.boncadeau-form__select option {
  background-color: #f7f1ec;    /* même fond dans la liste déroulante */
  color: #3a2720;
}

.boncadeau-form__input::placeholder {
  color: #a28c7a;
}

.boncadeau-form__input:focus,
.boncadeau-form__select:focus {
  outline: none;
  border-color: #c08a65;
  box-shadow: 0 0 0 1px rgba(192, 138, 101, 0.5);
}

/* Bouton d'envoi – version plus petite */

.boncadeau-form__actions {
  grid-column: 1 / -1;
  margin-top: 1rem;
  text-align: left;
}

.boncadeau-form__submit {
  display: inline-block;
  padding: 0.6rem 1.6rem;       /* plus petit */
  border-radius: 999px;
  border: 1px solid #c08a65;
  font-size: 0.9rem;            /* plus petit */
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;

  background-color: #f7f1ec;
  color: #241a16;

  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.5);
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.boncadeau-form__submit:hover,
.boncadeau-form__submit:focus-visible {
  background-color: #c08a65;
  color: #241a16;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.7);
}

/* ================================
   Responsive
   ================================ */

@media (max-width: 768px) {
  .boncadeau-form__form {
    grid-template-columns: 1fr;
  }

  .boncadeau-form__field:nth-child(3),
  .boncadeau-form__field:nth-child(5),
  .boncadeau-form__field:nth-child(6) {
    grid-column: auto;
  }

  .boncadeau-form__actions {
    text-align: center;
  }

  .boncadeau-form__submit {
    width: 100%;
  }
}
