/* Conteneur principal */
#form-contact {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4%;
    text-align: center;
  }
  
  /* Champs en grille (2 colonnes sur desktop) */
  #form-contact .wpcf7-form > p {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }
  
  /* Champ textarea en pleine largeur */
  #form-contact textarea {
    grid-column: 1 / -1;
  }
  
  /* Inputs texte/email/tel */
  #form-contact input[type="text"],
  #form-contact input[type="email"],
  #form-contact input[type="tel"] {
    width: 100%;
    padding: 10px 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 100;
    font-size: 16px;
    color: #333;
    background: none;
    border: none;
    border-bottom: 1px solid #ccc;
    transition: all 0.3s ease;
  }
  
  /* Textarea */
  #form-contact textarea {
    width: 100%;
    padding: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 100;
    font-size: 15px;
    color: #999;
    background: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-transform: uppercase;
    resize: vertical;
    transition: all 0.3s ease;
  }
  
  /* Focus effets */
  #form-contact input:focus,
  #form-contact textarea:focus,
  #form-contact input:not(:placeholder-shown),
  #form-contact textarea:not(:placeholder-shown) {
    border-bottom: 2px solid #4a90e2;
    background-color: #f0f6ff;
    outline: none;
  }
  
  /* Placeholder styling */
  #form-contact input::placeholder,
  #form-contact textarea::placeholder {
    font-family: 'Montserrat', sans-serif;
    font-weight: 100;
    font-size: 15px;
    color: #999;
    text-transform: uppercase;
  }
  
  /* Bouton submit */
  #form-contact input[type="submit"] {
    background-color: #0044a0;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    grid-column: 1 / -1;
    margin-top: 20px;
  }
  
  /* Masquer le spinner natif */
  #form-contact .wpcf7-spinner {
    display: none !important;
  }
  /* Spinner custom */
#contact-form .spinner-custom {
    display: none;
    width: 20px;
    height: 20px;
    margin: 20px auto 0;
    border: 2px solid #fff;
    border-top: 2px solid #0044a0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  /* Afficher pendant envoi */
  .wpcf7-form.submitting #contact-form .spinner-custom {
    display: inline-block;
  }
  /* Animation spin */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  /* Responsive */
  @media (max-width: 768px) {
    #form-contact .wpcf7-form > p {
      grid-template-columns: 1fr;
    }
  }
  