/*
Theme Name: Belle Verte
Template: twentytwentyfive
Theme URI: https://chapiron@hotmail.com
Author: Bruno Chapiron
Author URI: https://chapiron@hotmail.com
Description: Twenty Twenty-Five emphasizes simplicity and adaptability.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/
 
/*  ======== STYLE MENU HAUT ========  */
 
 .current-menu-item{
color: #336633;
font-weight: bold;
}


/* ==== Effet zoom uniquement sur les images avec lien ==== */

.wp-block-image a {
  overflow: hidden;
  display: block;
}

.wp-block-image a img {
  transition: transform 0.4s ease;
}

.wp-block-image a:hover img {
  transform: scale(1.08);
}
 
/* ==== FORMULAIRE DE CONTACT ==== */

/* Style global du formulaire */
.wpcf7 form {
    max-width: 100%;
    font-family: inherit;
    /*color: #fff;*/
	font-size: 1rem;
	font-weight: 600;
}

/* Champs texte et textarea - fond clair */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="date"],
.wpcf7 textarea {
    background: rgba(255, 255, 255, 0.9); /* Fond clair avec légère transparence */
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 10px;
    width: 100%;
    color: #333; /* Texte sombre pour la lisibilité */
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box; /* Évite les débordements */
}

/* Placeholder clair/gris */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: #666;
}

/* Effet focus */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: #ff7043; /* Couleur orange */
    box-shadow: 0 0 5px rgba(255, 112, 67, 0.5);
}

/* 3 champs côte à côte avec espacement */
.wpcf7 .three-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px; /* Espacement horizontal et vertical */
}

/* Supprimer marges inutiles autour des <p> */
.wpcf7 .three-cols p {
    margin: 0;
}

/* Champ message */
.wpcf7 textarea {
    min-height: 120px;
    resize: vertical;
}

/* Bouton Envoyer */
.wpcf7 input[type="submit"] {
    background: #336633;
    border: none;
    padding: 10px 30px;
    border-radius: 30px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
    background: #669933;
}

/* Responsive : une seule colonne sur mobile */
@media (max-width: 768px) {
    .wpcf7 .three-cols {
        grid-template-columns: 1fr;
    }
}
