h3 {
    font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    font-size: 36px;
    color: #ab7c46;
    text-align: center;
    margin: 40px 0 20px 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

p {
    text-align: center;
}

/* ========== FORMULAIRE AJOUT RECETTE ========== */
.form-label {
    font-weight: 600;
    color: #ab7c46;
    margin-bottom: 8px;
    display: block;
    font-family: 'Segoe UI', 'Roboto', sans-serif;
}

.form-control,
.form-select {
    border: 2px solid #e0d6c2;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #fffdf9;
}

.form-control:focus,
.form-select:focus {
    border-color: #ab7c46;
    box-shadow: 0 0 0 0.25rem rgba(171, 124, 70, 0.2);
    background-color: #fff;
    outline: none;
}

.form-control::placeholder {
    color: #aaa;
}

/* Conteneur principal */
.leform {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(171, 124, 70, 0.15);
    font-family: 'Segoe UI', 'Roboto', sans-serif;
}

/* Groupes de champs */
.champ_nom,
.champ_cat,
.champs_tamps,
.champ_ingred,
.champ_photo,
.champ-mail,
.champ-msg,
.chap-sujet {
    margin-bottom: 25px;
}

/* Zone de texte */
textarea.form-control {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

/* Input file personnalisé */
.champ_photo .form-control[type="file"] {
    padding: 8px;
    background-color: #fffdf9;
    border: 2px dashed #e0d6c2;
}

.champ_photo .form-control[type="file"]:hover {
    border-color: #ab7c46;
    background-color: #fef8f0;
}

/* Bouton submit (à ajouter dans le HTML) */
.btn-submit {
    background-color: #ab7c46;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 30px auto 0;
    width: 100%;
    max-width: 300px;
}

.btn-submit:hover {
    background-color: #956b3a;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(171, 124, 70, 0.3);
}

/* Message d'asterisque */
.required-note {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 20px;
    font-style: italic;
}

/* ========== BOUTONS DU FORMULAIRE ========== */
.form-buttons-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Style commun des boutons FORMULAIRES */
.form-buttons-container button {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 180px;
    font-family: 'Segoe UI', 'Roboto', sans-serif;
}

/* Bouton Annuler (Secondary) */
.form-buttons-container .btn-secondary {
    background-color: #f8f9fa;
    color: #333;
    border: 2px solid #e0d6c2;
}

.form-buttons-container .btn-secondary:hover {
    background-color: #e9ecef;
    border-color: #ab7c46;
    color: #ab7c46;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(171, 124, 70, 0.15);
}

/* Bouton Enregistrer (Primary) */
.form-buttons-container .btn-primary {
    background-color: #ab7c46;
    color: white;
    border: 2px solid #ab7c46;
}

.form-buttons-container .btn-primary:hover {
    background-color: #956b3a;
    border-color: #8a6137;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(171, 124, 70, 0.3);
}

/* Bouton Enregistrer au focus */
.form-buttons-container .btn-primary:focus {
    background-color: #8a6137;
    box-shadow: 0 0 0 0.25rem rgba(171, 124, 70, 0.4);
}
.social-links {
    display: flex;
    justify-content: center;
    /* centre horizontalement */
    gap: 15px;
    /* espace entre les icônes */
    margin-top: 20px;
    /* un petit espace au-dessus */
}

.social-links img {
    width: 40px;
    /* taille des icônes */
    height: 40px;
    object-fit: cover;
    transition: transform 0.3s;
}

.social-links img:hover {
    transform: scale(1.1);
    /* effet léger au survol */
}
/* Responsive */
@media (max-width: 768px) {
    .leform {
        padding: 20px;
        margin: 20px;
    }

    .form-control,
    .form-select {
        padding: 10px 12px;
        font-size: 15px;
    }

    .btn-submit {
        padding: 12px 20px;
        font-size: 16px;
    }
}