/*
Theme Name: Agrigo
Theme URI: https://votre-site.com/agrigo
Author: Agrigo
Author URI: https://votre-site.com
Description: Thème WordPress "Agrigo" pour site vitrine, issu de la maquette HTML Agrigo (Landscaping & Gardening). Compatible Elementor (gratuit et Pro), PHP 8.1+, WordPress 6.5+. Chemin de style complet (hero, services, portfolio, team, blog, footer) avec toutes les libs du template (Bootstrap 5.3, FontAwesome 6, Swiper, GSAP, Venobox, Isotope, Odometer). Conçu pour être extrêmement modifiable : chaque page se construit librement dans Elementor, les réglages (logo, contacts, réseaux sociaux, footer, smooth-scroll) se font dans le Customizer, et Elementor Pro peut remplacer header/footer via le Theme Builder.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: agrigo
Tags: elementor, one-column, right-sidebar, blog, portfolio, custom-logo, custom-menu, featured-images
*/

/* WordPress required styles */
.alignleft { float: left; margin: 0.375em 1.1em 1.1em 0; }
.alignright { float: right; margin: 0.375em 0 1.1em 1.1em; }
.aligncenter { clear: both; display: block; margin: 0 auto 1.1em; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: 0.9em; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.bypostauthor { display: block; }
.sticky { display: block; }

/* -------------------------------------------------------------------------
   Agrigo theme additions (services, portfolio, team, contact)
   ------------------------------------------------------------------------- */

/* Service card */
.service-card {
    padding: 35px 30px;
    background: var(--cp-color-bg-2, #fff);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.service-card .service-thumb { margin-bottom: 20px; overflow: hidden; border-radius: 8px; }
.service-card .service-thumb img { width: 100%; height: 220px; object-fit: cover; }
.service-card .service-icon { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--cp-color-theme-primary, #4baf47); }
.service-card .service-icon i { font-size: 26px; }
.service-card .service-icon span { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #777; }
.service-card .title { font-size: 22px; margin-bottom: 10px; }
.service-card .title a { color: inherit; }
.service-card .excerpt { color: #666; margin-bottom: 16px; }
.service-card .read-more { color: var(--cp-color-theme-primary, #4baf47); font-weight: 600; }
.service-card .read-more i { margin-left: 6px; }

/* Portfolio item */
.portfolio-item { margin-bottom: 30px; }
.portfolio-item .portfolio-thumb { position: relative; overflow: hidden; border-radius: 10px; }
.portfolio-item .portfolio-thumb img { width: 100%; height: 300px; object-fit: cover; transition: transform 0.4s ease; }
.portfolio-item:hover .portfolio-thumb img { transform: scale(1.06); }
.portfolio-item .portfolio-link {
    position: absolute; top: 20px; right: 20px; width: 46px; height: 46px;
    display: flex; align-items: center; justify-content: center;
    background: var(--cp-color-theme-primary, #4baf47); color: #fff; border-radius: 50%;
    opacity: 0; transform: translateY(-8px); transition: 0.3s ease;
}
.portfolio-item:hover .portfolio-link { opacity: 1; transform: translateY(0); }
.portfolio-item .portfolio-content { padding-top: 16px; }
.portfolio-item .title { font-size: 20px; margin: 0; }
.portfolio-item .title a { color: inherit; }

/* Team single */
.member-role { color: var(--cp-color-theme-primary, #4baf47); font-size: 15px; font-weight: 600; }
.single-member .social-list li a { width: 44px; height: 44px; }

/* Contact feedback */
.contact-message { padding: 16px 20px; border-radius: 6px; margin-bottom: 24px; font-weight: 600; }
.contact-message.success { background: #eaffea; color: #2e7d32; border: 1px solid #b7e4b7; }
.contact-message.error { background: #ffecec; color: #c62828; border: 1px solid #f5c2c2; }
.request-form .form-item { margin-bottom: 16px; }
.request-form .form-control { border: 1px solid #e5e5e5; border-radius: 6px; padding: 14px 16px; }
.request-form .form-control:focus { border-color: var(--cp-color-theme-primary, #4baf47); box-shadow: none; }
.request-form textarea.form-control { resize: vertical; }

/* Blog / post meta extras */
.post-meta { display: flex; flex-wrap: wrap; gap: 16px; color: #666; margin: 14px 0 6px; font-size: 14px; }
.post-meta i { color: var(--cp-color-theme-primary, #4baf47); margin-right: 6px; }
.post-tags { margin-top: 20px; }
.post-tags .tag-label { font-weight: 600; margin-right: 8px; }
.comments-title { font-size: 24px; margin: 40px 0 20px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment-body { margin-bottom: 20px; }
.page-links { margin-top: 20px; }

/* WooCommerce compatibility base */
.woocommerce .site-main { padding-top: 60px; padding-bottom: 60px; }
.woocommerce ul.products li.product a img { border-radius: 8px; }

@media (max-width: 767px) {
    .service-card, .portfolio-item .portfolio-content { text-align: center; }
    .service-card .service-icon { justify-content: center; }
}
