/* Style général du formulaire */
.wpcf7-form {
    width: 100%;                /* Pleine largeur */
    max-width: 600px;           /* Largeur maximale */
    margin: 0 auto;             /* Centrage horizontal */
    cursor: auto; /* Ajout du curseur par défaut */
}

/* Style des champs avec curseur */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 90%;                /* Pleine largeur */
    padding: 12px;              /* Espacement interne */
    margin-bottom: 15px;        /* Marge bas */
    border: 2px solid var(--medium-blue);  /* Bordure bleue */
    border-radius: 10px;        /* Coins arrondis */
    background: rgba(255, 255, 255, 0.9);  /* Fond blanc transparent */
    transition: all 0.3s ease;  /* Animation douce */
    cursor: text !important; /* Force le curseur texte */
}

/* Style du focus */
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none;              /* Retire contour par défaut */
    border-color: var(--light-blue);  /* Bordure plus claire au focus */
    box-shadow: 0 0 10px rgba(0, 157, 255, 0.3);  /* Ombre au focus */
}

/* Style du bouton */
.wpcf7-submit {
    background: var(--medium-blue);  /* Fond bleu */
    color: white;               /* Texte blanc */
    padding: 12px 30px;         /* Espacement interne */
    border: none;               /* Pas de bordure */
    border-radius: 10px;        /* Coins arrondis */
    font-weight: bold;          /* Texte gras */
    transition: all 0.3s ease;  /* Animation douce */
    cursor: pointer !important;  /* Curseur pointer pour le bouton */
}

.wpcf7-submit:hover {
    background: var(--dark-blue);  /* Fond plus clair au hover */
    transform: translateY(-2px);    /* Léger déplacement vers le haut */
}

/* Messages d'erreur et de succès */
.wpcf7-response-output {
    border-radius: 10px;        /* Coins arrondis */
    padding: 15px !important;   /* Force l'espacement interne */
    margin: 20px 0 !important;  /* Force les marges */
}

/* Pour les champs de formulaire */
.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select {
    cursor: text;  /* Curseur texte pour les champs */
}

/* Style du textarea */
.wpcf7-textarea {
    min-height: 150px;          /* Hauteur minimale */
    resize: vertical;           /* Redimensionnement vertical uniquement */
}

/* Animation focus subtile */
@keyframes focusGlow {
    0% { box-shadow: 0 0 5px rgba(0, 157, 255, 0.2); }   /* Ombre faible */
    50% { box-shadow: 0 0 15px rgba(0, 157, 255, 0.4); }  /* Ombre maximale */
    100% { box-shadow: 0 0 5px rgba(0, 157, 255, 0.2); }  /* Retour ombre faible */
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    animation: focusGlow 2s infinite;  /* Animation continue de l'ombre */
}

/* Version ULTRA simple et directe */
.page-template-page-separators .wpcf7-form {
    max-width: 600px;
    margin: 0 auto;
}

.page-template-page-separators .wpcf7-submit {
    float: none !important;
    margin: 1rem auto !important;
    display: block !important;
    width: auto !important;
    min-width: 150px !important;
}

/* Reset tous les autres styles qui pourraient interférer */
.page-template-page-separators .wpcf7-form p:has(.wpcf7-submit) {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    clear: both !important;
    text-align: center !important;
}

