/*
Theme Name: Concept Economie
Theme URI: https://concept-economie.be
Author: Concept Economie
Author URI: https://concept-economie.be
Description: Theme WordPress pour Concept Economie - Expert en renovation ecologique et panneaux solaires en Wallonie
Version: 3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: concept-economie
*/

/* Variables CSS */
:root {
    --vert-principal: #8CC63F;
    --orange-accent: #FF931E;
    --gris-fonce: #565864;
    --noir-texte: #0D141A;
    --blanc: #FFFFFF;
    --vert-clair-bg: rgba(233, 245, 234, 0.72);
    --gris-clair-bg: rgba(86, 88, 94, 0.03);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--noir-texte); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* Reset WordPress default link colors in nav */
.site-header a,
.site-header a:visited,
.site-header a:hover,
.site-header a:focus,
.mobile-menu a,
.mobile-menu a:visited {
    text-decoration: none;
    color: inherit;
    box-shadow: none;
    outline: none;
}

.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.container-contact { max-width: 900px; margin: 0 auto; padding: 0 20px; }

/* ===== HEADER ===== */
.site-header {
    position: fixed; top: 0; left: 0; right: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000; padding: 8px 0;
}
.header-container {
    max-width: 1400px; margin: 0 auto; padding: 0 30px;
    display: flex; justify-content: space-between; align-items: center;
    min-height: 95px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-link { display: block; line-height: 1; text-decoration: none; }
.logo-svg { height: 75px; width: auto; max-width: 240px; display: block; overflow: visible; }
.logo-img { height: 70px; width: auto; max-width: 220px; object-fit: contain; display: block; }
.social-link { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: var(--gris-fonce); transition: all 0.3s; text-decoration: none; }
.mobile-menu { display: none; background: white; border-top: 1px solid #eee; }
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; padding: 10px 20px; margin: 0; }
.mobile-menu ul li a { display: block; padding: 14px 0; font-size: 16px; color: var(--gris-fonce); font-weight: 500; border-bottom: 1px solid #f0f0f0; text-decoration: none; }
.mobile-menu ul li a:hover { color: var(--vert-principal); }
.btn-simulateur-mobile { background: var(--vert-principal) !important; color: white !important; border-radius: 35px !important; text-align: center; border-bottom: none !important; }
.main-nav ul { display: flex; list-style: none; gap: 25px; margin: 0; padding: 0; }
.nav-link { color: var(--gris-fonce); font-weight: 500; font-size: 14px; transition: color 0.3s; }
.nav-link:hover, .nav-link.active { color: var(--vert-principal); }
.header-right { display: flex; align-items: center; gap: 20px; }
.social-icons { display: flex; gap: 10px; }
.social-icons a {
    width: 35px; height: 35px; display: flex; align-items: center; justify-content: center;
    background: #f8f9fa; border-radius: 50%; color: var(--gris-fonce); font-size: 14px; transition: all 0.3s;
}
.social-icons a:hover { background: var(--vert-principal); color: white; }
.btn-simulateur {
    display: inline-flex !important; align-items: center; gap: 8px;
    background: linear-gradient(135deg, #8CC63F 0%, #7AB62F 100%) !important;
    color: white !important; padding: 12px 24px !important; border-radius: 35px;
    font-weight: 600; font-size: 15px; transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(140,198,63,0.3);
}
.btn-simulateur:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(140,198,63,0.4); }
.btn-simulateur i { font-size: 16px; }
.menu-toggle { display: none; flex-direction: column; background: none; border: none; cursor: pointer; padding: 10px; }
.menu-toggle span { display: block; width: 25px; height: 3px; background: #0D141A; margin: 5px 0; transition: all 0.3s; }
.menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 99; }
.menu-overlay.active { display: block; }

/* ===== HERO ===== */
.hero-section {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    background-image: url('images/panneaux-solaires-toit-maison-tuiles-dWxBEgLXJ5CwkB4g.jpeg');
    background-size: cover; background-position: center; background-repeat: no-repeat;
    background-attachment: fixed; padding: 140px 20px 80px;
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; color: var(--blanc); }
.hero-icon { width: 80px; height: 80px; margin-bottom: 30px; }
.hero-icon img { width: 100%; height: auto; }
.hero-title { font-size: 50px; font-weight: 700; line-height: 1.3; margin-bottom: 30px; max-width: 1100px; }
.hero-underline { width: 100px; height: 4px; background: var(--orange-accent); margin-bottom: 40px; }
.hero-subtitle { font-size: 24px; line-height: 1.5; margin-bottom: 15px; max-width: 1100px; }
.hero-buttons { margin: 40px 0; }
.btn-hero-primary {
    background: var(--vert-principal); color: var(--blanc);
    padding: 18px 45px; border-radius: 35px; font-size: 16px; font-weight: 600;
    display: inline-block; transition: all 0.3s;
}
.btn-hero-primary:hover { background: #7AB52F; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(140,198,63,0.4); }
.hero-newsletter { max-width: 500px; margin: 40px 0; }
.hero-newsletter p { font-size: 14px; margin-bottom: 10px; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input { flex: 1; padding: 12px 20px; border: none; border-radius: 50px; font-family: 'Poppins', sans-serif; }
.newsletter-form button { background: var(--vert-principal); color: var(--blanc); padding: 12px 25px; border: none; border-radius: 50px; font-weight: 500; cursor: pointer; transition: background 0.3s; white-space: nowrap; }
.newsletter-form button:hover { background: var(--orange-accent); }
.hero-contact-info { margin: 30px 0; font-size: 16px; }
.hero-contact-info p { margin-bottom: 5px; }
.hero-social { display: flex; gap: 20px; margin-top: 30px; }
.hero-social a {
    width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--blanc); font-size: 20px; transition: all 0.3s;
}
.hero-social a:hover { background: var(--blanc); color: var(--vert-principal); }

/* ===== SECTIONS COMMUNES ===== */
.section-header { text-align: left; margin-bottom: 60px; }
.section-header-center { text-align: center; margin-bottom: 60px; }
.logo-small { width: 60px; height: 60px; margin-bottom: 20px; }
.logo-small img { width: 100%; height: auto; }
.section-title { font-size: 38px; font-weight: 700; margin-bottom: 15px; }
.section-title-center { font-size: 38px; font-weight: 700; text-align: center; margin-bottom: 50px; }
.section-subtitle { font-size: 24px; color: var(--gris-fonce); }
.green-text { color: var(--vert-principal); }
.orange-text { color: var(--orange-accent); }
.white-text { color: var(--blanc); }

/* ===== SERVICES ===== */
.services-section { padding: 100px 0; background: var(--blanc); }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.service-content h4 { font-size: 18px; margin: 25px 0 15px; }
.service-content p { margin-bottom: 20px; color: var(--gris-fonce); }
.benefits-list { list-style: none; margin: 20px 0; }
.benefits-list li { padding: 10px 0 10px 35px; position: relative; color: var(--gris-fonce); }
.benefits-list li:before { content: "\2713"; position: absolute; left: 0; color: var(--vert-principal); font-weight: bold; font-size: 20px; }
.service-image img { border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.btn-secondary {
    display: inline-block; padding: 14px 35px; border-radius: 30px;
    border: 2px solid var(--noir-texte); color: var(--noir-texte);
    font-weight: 500; margin-top: 20px; transition: all 0.3s;
}
.btn-secondary:hover { background: var(--noir-texte); color: var(--blanc); }

/* ===== AIDES ===== */
.aides-section { padding: 100px 0; background: var(--gris-clair-bg); }
.aides-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 80px; }
.aides-image img { border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.aides-content h2 { font-size: 32px; margin-bottom: 25px; }
.aides-content p { margin-bottom: 20px; color: var(--gris-fonce); }
.testimonial-box {
    background: var(--blanc); padding: 40px; border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1); max-width: 600px; margin: 0 auto; text-align: center;
}
.testimonial-icon { width: 60px; height: 60px; margin: 0 auto 20px; }
.testimonial-text { font-size: 16px; font-style: italic; margin-bottom: 15px; line-height: 1.6; }
.testimonial-author { font-weight: 600; color: var(--gris-fonce); }

/* ===== SOLUTIONS ===== */
.solutions-section { padding: 100px 0; background: var(--blanc); }
.solutions-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 60px; }
.solution-card { background: var(--vert-clair-bg); padding: 40px; border-radius: 20px; text-align: center; }
.solution-card img { border-radius: 15px; margin-bottom: 25px; }
.card-title { color: var(--orange-accent); font-size: 20px; margin-bottom: 20px; }
.solution-card ul { list-style: none; text-align: left; margin: 25px 0; }
.solution-card ul li { padding: 8px 0 8px 25px; position: relative; }
.solution-card ul li:before { content: "\2022"; position: absolute; left: 0; color: var(--vert-principal); font-size: 20px; }

/* ===== FAQ ===== */
.faq-section { padding: 100px 0; background: var(--gris-clair-bg); }
.faq-container { max-width: 900px; margin: 0 auto; }
.faq-item { background: var(--blanc); margin-bottom: 15px; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); overflow: hidden; }
.faq-question { padding: 25px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; transition: background 0.3s; }
.faq-question:hover { background: #f8f9fa; }
.faq-question-content { display: flex; align-items: center; gap: 20px; flex: 1; }
.faq-icon { width: 40px; height: 40px; background: rgba(64,145,148,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.faq-icon i { font-size: 18px; color: #409194; }
.faq-question-text { font-size: 16px; font-weight: 500; color: var(--noir-texte); }
.faq-toggle i { font-size: 18px; color: #409194; transition: transform 0.3s; }
.faq-item.active .faq-toggle i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: all 0.3s ease-out; }
.faq-answer.show { max-height: 1000px; padding: 0 25px 25px 85px; }
.faq-answer p { font-size: 14px; line-height: 1.6; color: #666; }

/* ===== CONTACT ===== */
.contact-section {
    padding: 100px 20px; position: relative;
    background-image: url('images/panneaux-solaires-toit-maison-tuiles-dWxBEgLXJ5CwkB4g.jpeg');
    background-size: cover; background-position: center; background-attachment: fixed;
}
.contact-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.55); }
.contact-section .container-contact { position: relative; z-index: 2; }
.contact-form { background: rgba(255,255,255,0.95); padding: 50px; border-radius: 20px; max-width: 700px; margin: 40px auto 0; }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 15px 20px; border: 1px solid #ddd;
    border-radius: 14px; font-family: 'Poppins', sans-serif; font-size: 14px;
}
.form-group textarea { resize: vertical; }
.btn-submit {
    background: var(--vert-principal); color: var(--blanc); padding: 15px 40px; border: none;
    border-radius: 30px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.3s; width: 100%;
}
.btn-submit:hover { background: var(--orange-accent); transform: translateY(-2px); }

/* ===== FOOTER ===== */
.footer { background: var(--noir-texte); color: var(--blanc); padding: 30px 0; text-align: center; }
.footer-copyright { font-size: 14px; color: #999; }

/* ===== WHATSAPP ===== */
.whatsapp-float {
    position: fixed; width: 60px; height: 60px; bottom: 30px; right: 30px;
    background-color: #25d366; color: #fff; border-radius: 50px;
    text-align: center; font-size: 32px; box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 100; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease;
}
.whatsapp-float:hover { background-color: #128C7E; transform: scale(1.1); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .header-container { padding: 0 20px; }
    .services-grid, .aides-grid, .solutions-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-title { font-size: 36px; }
    .main-nav ul { gap: 15px; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .main-nav {
        position: fixed; top: 65px; left: -100%; width: 80%; max-width: 300px;
        height: calc(100vh - 65px); background: var(--blanc);
        transition: left 0.3s; box-shadow: 5px 0 20px rgba(0,0,0,0.1); z-index: 100;
    }
    .main-nav.active { left: 0; }
    .main-nav ul { flex-direction: column; padding: 40px 30px; gap: 20px; }
    .nav-link { font-size: 16px; }
    .header-right .social-icons { display: none; }
    .btn-simulateur span { display: none; }
    .btn-simulateur { padding: 10px 16px !important; }
    .hero-title { font-size: 28px; }
    .hero-subtitle { font-size: 18px; }
    .section-title { font-size: 28px; }
    .section-title-center { font-size: 26px; }
    .contact-form { padding: 30px 20px; }
    .newsletter-form { flex-direction: column; }
    .faq-answer.show { padding: 0 20px 20px 70px; }
    .solutions-grid { grid-template-columns: 1fr; }
    .logo-svg { height: 62px; max-width: 180px; } .logo-png { height: 55px; max-width: 160px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 24px; }
    .section-title { font-size: 24px; }
    .logo-svg { height: 52px; max-width: 150px; } .logo-png { height: 45px; max-width: 140px; }
    .btn-simulateur { padding: 8px 12px !important; font-size: 14px; }
    .aides-content h2 { font-size: 24px; }
}

/* ===== ANIMATIONS SLIDE (comme le site live) ===== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-anim {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Logo image (PNG du vrai site) */
.logo-png {
    height: 75px;
    width: auto;
    max-width: 220px;
    display: block;
    object-fit: contain;
}

/* Mobile nav overlay */
.nav-overlay {
    display: none;
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 99;
}
.nav-overlay.active { display: block; }
