/*
Theme Name: Ethique Paysage v13
Theme URI: https://ethiquepaysage.com
Author: Ethique Paysage
Description: Thème WordPress intégrant le logo exact à deux arbres (Pin Parasol + Arbre en arrière-plan).
Version: 13.0.0
Text Domain: ethique-paysage
*/

:root {
    --ep-green-dark: #1b3d2f;
    --ep-green-sage: #7a9a83;
    --ep-green-light: #e4ebe4;
    --ep-bg-cream: #f4f5f0;
    --ep-card-bg: #f8faf7;
    --ep-text-dark: #1b3d2f;
    --ep-text-muted: #4a5d51;
    --ep-white: #ffffff;
    --ep-border-radius: 18px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ep-text-dark);
    background-color: var(--ep-bg-cream);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* HEADER */
.site-header {
    background-color: var(--ep-green-dark);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-branding img.custom-logo {
    max-height: 52px;
    width: auto;
    object-fit: contain;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 28px;
    align-items: center;
}

.main-navigation a {
    color: #c2d4c7;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: color 0.2s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    color: var(--ep-white);
}

/* HERO SECTION */
.hero-section {
    position: relative;
    padding: 90px 0 110px;
    background-color: var(--ep-bg-cream);
    overflow: hidden;
}

.hero-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    max-width: 580px;
    z-index: 2;
}

.hero-title {
    font-size: 2.6rem;
    line-height: 1.15;
    color: var(--ep-green-dark);
    margin: 0 0 20px 0;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--ep-text-muted);
    margin-bottom: 32px;
    line-height: 1.5;
    max-width: 480px;
}

/* DEUX ARBRES DU LOGO DANS LE HERO */
.hero-tree-bg {
    position: absolute;
    right: -20px;
    top: -30px;
    width: 500px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.85;
}

.hero-tree-bg img {
    width: 100%;
    height: auto;
    display: block;
}

/* BUTTONS */
.btn-primary {
    background-color: var(--ep-green-sage);
    color: var(--ep-white) !important;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(122, 154, 131, 0.3);
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--ep-green-dark);
    transform: translateY(-2px);
}

/* SERVICES SECTION */
.services-section {
    padding: 40px 0 80px;
    background-color: var(--ep-bg-cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    background-color: var(--ep-card-bg);
    border-radius: var(--ep-border-radius);
    padding: 38px 28px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(27, 61, 47, 0.06);
    border: 1px solid #e1ebe2;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(27, 61, 47, 0.1);
}

.service-icon-wrapper {
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--ep-green-dark);
    margin: 0 0 14px 0;
    font-weight: 700;
}

.service-card p {
    color: var(--ep-text-muted);
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0;
}

/* VALUES SECTION */
.values-section {
    background-color: #ebf1ec;
    padding: 80px 0;
}

.values-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    align-items: center;
}

.values-tree-container img {
    width: 100%;
    max-width: 360px;
    height: auto;
    display: block;
}

.values-content h2 {
    font-size: 2.2rem;
    color: var(--ep-green-dark);
    margin: 0 0 20px 0;
    text-transform: uppercase;
    font-weight: 800;
}

.values-content p {
    font-size: 0.98rem;
    color: var(--ep-text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* REALISATIONS SECTION */
.realisations-section {
    padding: 80px 0;
    background-color: var(--ep-bg-cream);
}

.section-title-center {
    text-align: center;
    font-size: 2.2rem;
    color: var(--ep-green-dark);
    margin: 0 0 45px 0;
    text-transform: uppercase;
    font-weight: 800;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    height: 240px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

/* CONTACT SECTION */
.contact-section {
    padding: 70px 0 90px;
    background-color: #edf2ee;
}

.contact-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #b8cabf;
    border-radius: 6px;
    background-color: #ffffff;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--ep-text-dark);
}

.form-textarea {
    height: 120px;
    resize: vertical;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--ep-green-sage);
}

/* FOOTER */
.site-footer {
    background-color: var(--ep-green-dark);
    color: #a3b8aa;
    padding: 35px 0;
    font-size: 0.85rem;
}

.footer-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================================================
   STYLES POUR LA PAGE BLOG ET LES ARTICLES (ALTERNANCE DE FOND)
   ========================================================================== */

.article-fond-clair {
    background-color: var(--ep-card-bg) !important;
    border: 1px solid #d4ebd0 !important;
    padding: 40px !important;
    border-radius: var(--ep-border-radius) !important;
    margin-bottom: 35px !important;
    box-shadow: 0 10px 30px rgba(27, 61, 47, 0.04) !important;
}

.article-fond-degrade {
    background: linear-gradient(135deg, #e4ebe4 0%, #d4e0d6 100%) !important;
    border: 1px solid #c8d8cc !important;
    padding: 40px !important;
    border-radius: var(--ep-border-radius) !important;
    margin-bottom: 35px !important;
    box-shadow: 0 10px 30px rgba(27, 61, 47, 0.06) !important;
}

.site-main article h2.entry-title a {
    color: var(--ep-green-dark) !important;
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.site-main article h2.entry-title a:hover {
    color: var(--ep-green-sage) !important;
}

.site-main article .entry-meta {
    color: var(--ep-text-muted) !important;
    font-size: 0.85rem !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(27, 61, 47, 0.1);
}

.site-main article .entry-content {
    color: var(--ep-text-muted) !important;
    font-size: 0.98rem !important;
    line-height: 1.7 !important;
}

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
    .services-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }
    .values-inner {
        grid-template-columns: 1fr;
    }
    .hero-tree-bg {
        opacity: 0.15;
        width: 300px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}