* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2d5339;
    --secondary: #3f5f3f;
    --accent: #d97706;
    --dark: #1c2017;
    --light-gray: #f7f7f5;
    --medium-gray: #6b7068;
    --white: #ffffff;
    --success: #2d5339;
    --warm-beige: #f5f1eb;
    --copper: #b45309;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: #ffcccc !important;
}

/* HEADER */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    padding-left: 20px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--accent);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--copper);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 120px 0 120px;
    color: white;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30,40,30,0.45);
    z-index: 1;
    pointer-events: none;
}

.hero .container, .hero-content, .hero-text, .hero-image, .hero-graphic {
    position: relative;
    z-index: 2;
}

.hero-text h1, .hero-text .lead {
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text .lead {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn {
    padding: 15px 35px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    z-index: 10;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.3);
}

.btn-primary:hover {
    background: var(--copper);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(180, 83, 9, 0.4);
}

.btn-outline {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.7);
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-graphic {
    width: 400px;
    height: 300px;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(30,40,30,0.10);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
}

.hero-graphic h3, .hero-graphic p {
    color: #1c2017;
    text-shadow: none;
}

.hero-graphic h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* SERVICES SECTION - NOUVEAU DESIGN */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--warm-beige) 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100"><polygon fill="%23ffffff20" points="0,0 1000,20 1000,100 0,80"/></svg>') repeat-x;
    opacity: 0.5;
}

.services-container {
    position: relative;
    z-index: 2;
}

.services-intro {
    text-align: center;
    margin-bottom: 80px;
}

.services-intro h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
}

.services-intro p {
    font-size: 1.3rem;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto 40px;
}

.services-highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    display: inline-block;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(45, 83, 57, 0.15);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid rgba(45, 83, 57, 0.1);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(45, 83, 57, 0.25);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.service-content {
    padding: 40px 35px;
}

.service-badge {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.service-description {
    color: var(--medium-gray);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.service-features {
    list-style: none;
    margin-bottom: 30px;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--medium-gray);
}

.service-features li::before {
    content: '●';
    color: var(--primary);
    font-weight: bold;
    margin-right: 12px;
    font-size: 1.2rem;
}

.service-pricing {
    background: var(--light-gray);
    margin: 30px -35px 0;
    padding: 35px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0 0 20px 20px;
    border-top: 1px solid rgba(45, 83, 57, 0.1);
    gap: 30px;
}

.price-section {
    display: flex;
    flex-direction: column;
}

.price-main {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 5px;
}

.price-detail {
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.service-cta {
    background: var(--primary);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.service-cta:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 83, 57, 0.3);
}

/* RESPONSIVE PRICING */
@media (max-width: 768px) {
    .service-pricing {
        flex-direction: column;
        gap: 25px;
        text-align: center;
        padding: 30px 25px;
    }
    
    .service-cta {
        width: 100%;
        padding: 18px 20px;
    }
}

/* CARTE PREMIUM HIGHLIGHT */
.service-card.featured {
    border: 2px solid var(--accent);
    transform: scale(1.05);
}

.service-card.featured::before {
    height: 8px;
    background: linear-gradient(90deg, var(--accent), var(--copper));
}

.service-card.featured .service-badge {
    background: linear-gradient(135deg, var(--accent), var(--copper));
}

.service-card.featured .service-cta {
    background: var(--accent);
}

.service-card.featured .service-cta:hover {
    background: var(--copper);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .services-intro h2 {
        font-size: 2.2rem;
    }
    
    .services-intro p {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-card.featured {
        transform: none;
    }
    
    .service-pricing {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* ABOUT SECTION */
.about {
    padding: 80px 0;
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

.about-text p {
    color: var(--medium-gray);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

/* CONTACT SECTION */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.contact-header p {
    font-size: 1.2rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--warm-beige);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(45, 83, 57, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

/* FOOTER */
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    text-align: center;
    color: #9ca3af;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        display: none;
    }

    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .hero-graphic {
        width: 100%;
        max-width: 350px;
    }
}

.page-section {
    display: none;
}

.page-section.active {
    display: block;
}

.nav-menu a.active {
    color: var(--primary);
    font-weight: 700;
} /* === Styles pour les articles de blog (single.php) === */

.breadcrumb {
    background: var(--light-gray);
    padding: 100px 0 30px;
    border-bottom: 1px solid rgba(45, 83, 57, 0.1);
}
.breadcrumb-nav {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 0.9rem;
    color: var(--medium-gray);
}
.breadcrumb-nav a {
    color: var(--primary);
    text-decoration: none;
}
.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.article-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.article-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(45, 83, 57, 0.2);
}
.article-header .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}
.article-category {
    background: var(--accent);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 20px;
}
.article-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}
.article-excerpt {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.5;
}
.article-meta {
    display: flex;
    gap: 30px;
    align-items: center;
    font-size: 0.95rem;
    opacity: 0.8;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}
.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark);
}
.article-body h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 40px 0 20px;
    line-height: 1.3;
}
.article-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin: 30px 0 15px;
}
.article-body p {
    margin-bottom: 20px;
}
.article-body ul, .article-body ol {
    margin: 20px 0;
    padding-left: 30px;
}
.article-body li {
    margin-bottom: 8px;
}
.article-body blockquote {
    background: var(--light-gray);
    border-left: 4px solid var(--primary);
    padding: 20px 30px;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--medium-gray);
}
.article-body img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.article-body a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}
.article-body a:hover {
    border-bottom-color: var(--primary);
}

.highlight-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin: 40px 0;
}
.highlight-box h3 {
    color: white !important;
    margin-top: 0;
}

.article-body pre {
    background: var(--dark);
    color: #e5e7eb;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 20px 0;
}
.article-body code {
    background: var(--light-gray);
    color: var(--primary);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.article-tags {
    border-top: 1px solid var(--light-gray);
    padding-top: 30px;
    margin-top: 40px;
}
.tags-label {
    font-weight: 600;
    color: var(--medium-gray);
    margin-bottom: 15px;
    display: block;
}
.tag {
    display: inline-block;
    background: var(--light-gray);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}
.tag:hover {
    background: var(--primary);
    color: white;
}

.author-box {
    background: var(--warm-beige);
    border-radius: 12px;
    padding: 30px;
    margin: 50px 0;
    display: flex;
    gap: 20px;
    align-items: center;
}
.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    flex-shrink: 0;
    overflow: hidden;
}
.author-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}
.author-bio {
    color: var(--medium-gray);
    line-height: 1.5;
}

.related-articles {
    background: var(--light-gray);
    padding: 60px 0;
}
.related-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.related-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    margin-bottom: 40px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.related-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(45, 83, 57, 0.1);
    transition: transform 0.3s ease;
}
.related-card:hover {
    transform: translateY(-5px);
}
.related-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}
.related-content {
    padding: 25px;
}
.related-category {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.related-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.3;
}
.related-excerpt {
    color: var(--medium-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}
.related-date {
    color: var(--medium-gray);
    font-size: 0.85rem;
}
.related-card a {
    text-decoration: none;
    color: inherit;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 60px 0;
    text-align: center;
}
.cta-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}
.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.cta-text {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}
.cta-button {
    background: var(--accent);
    color: white;
    padding: 16px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.cta-button:hover {
    background: var(--copper);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.3);
}

@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
    .article-excerpt {
        font-size: 1.1rem;
    }
    .article-meta {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
    .cta-title {
        font-size: 1.8rem;
    }
    .article-content {
        padding: 40px 15px;
    }
    .related-container {
        padding: 0 15px;
    }
    .cta-container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .article-header {
        padding: 40px 0;
    }
    .article-title {
        font-size: 1.6rem;
    }
    .article-excerpt {
        font-size: 1rem;
    }
    .article-body {
        font-size: 1rem;
    }
}

.article-content {
    background: #fff;
    padding: 40px 0;
}
.article-content .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}
.article-content h2,
.article-content h3,
.article-content p,
.article-content ul,
.article-content ol {
    margin-bottom: 1.5em;
}
.article-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
}

.article-featured-image {
    margin-bottom: 30px;
    text-align: center;
}
.article-featured-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}

.hero-section {
    background: url('<?php echo get_template_directory_uri(); ?>/assets/images/screenshot.png') center center/cover no-repeat !important;
    min-height: 60vh; /* Ajustez la hauteur si besoin */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === BLOG DESIGN MODERNE === */

.blog-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}
.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 83, 57, 0.2);
}
.blog-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}
.blog-hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}
.blog-hero .lead {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.5;
}
.blog-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}
.stat-item {
    text-align: center;
}
.stat-number {
    font-size: 2rem;
    font-weight: 800;
    display: block;
    color: var(--accent);
}
.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 5px;
}

.blog-filters {
    background: var(--light-gray);
    padding: 40px 0;
    border-bottom: 1px solid rgba(45, 83, 57, 0.1);
}
.filters-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}
.category-filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.filter-btn {
    background: white;
    color: var(--medium-gray);
    padding: 10px 20px;
    border: 2px solid rgba(45, 83, 57, 0.1);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.search-box {
    position: relative;
}
.search-input {
    padding: 12px 20px 12px 45px;
    border: 2px solid rgba(45, 83, 57, 0.1);
    border-radius: 25px;
    font-size: 0.9rem;
    width: 280px;
    background: white;
    transition: border-color 0.3s ease;
}
.search-input:focus {
    outline: none;
    border-color: var(--primary);
}
.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--medium-gray);
    font-size: 1.1rem;
}

.blog-content {
    padding: 80px 0;
    background: white;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}
.article-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(45, 83, 57, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(45, 83, 57, 0.05);
}
.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(45, 83, 57, 0.15);
}
.article-image {
    height: 220px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}
.article-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 50%);
}
.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.article-content {
    padding: 30px;
}
.article-category {
    background: var(--accent);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 15px;
}
.article-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.3;
}
.article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}
.article-title a:hover {
    color: var(--primary);
}
.article-excerpt {
    color: var(--medium-gray);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}
.article-meta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: var(--medium-gray);
    font-size: 0.85rem;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}
.read-time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-article {
    max-width: 900px;
    margin: 0 auto 20px auto;
    grid-template-columns: 1fr 1.2fr;
    min-height: 260px;
}
.featured-article .article-image {
    min-height: 260px;
    max-height: 320px;
}
.featured-article .article-image img {
    height: 100%;
    object-fit: cover;
}
.featured-article .article-content {
    padding: 30px 30px 30px 30px;
}
@media (max-width: 900px) {
    .featured-article {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    .featured-article .article-image {
        max-height: 220px;
        min-height: 180px;
    }
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}
.pagination a, .pagination span {
    padding: 12px 16px;
    border: 2px solid rgba(45, 83, 57, 0.1);
    border-radius: 8px;
    text-decoration: none;
    color: var(--medium-gray);
    font-weight: 500;
    transition: all 0.3s ease;
}
.pagination a:hover, .pagination .current {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.pagination .disabled {
    opacity: 0.5;
    pointer-events: none;
}

.newsletter-section {
    background: linear-gradient(135deg, var(--warm-beige), var(--light-gray));
    padding: 80px 0;
    margin-top: 60px;
}
.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}
.newsletter-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}
.newsletter-description {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 30px;
    line-height: 1.6;
}
.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}
.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid rgba(45, 83, 57, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: border-color 0.3s ease;
}
.newsletter-input:focus {
    outline: none;
    border-color: var(--primary);
}
.newsletter-btn {
    background: var(--primary);
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.newsletter-btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: start;
}
.sidebar {
    background: var(--light-gray);
    border-radius: 16px;
    padding: 30px;
    position: sticky;
    top: 100px;
}
.sidebar-section {
    margin-bottom: 40px;
}
.sidebar-section:last-child {
    margin-bottom: 0;
}
.sidebar-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
}
.popular-post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(45, 83, 57, 0.1);
}
.popular-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.popular-thumbnail {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}
.popular-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.popular-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
    line-height: 1.3;
}
.popular-content a {
    color: inherit;
    text-decoration: none;
}
.popular-content a:hover {
    color: var(--primary);
}
.popular-date {
    font-size: 0.8rem;
    color: var(--medium-gray);
}
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag {
    background: white;
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(45, 83, 57, 0.1);
}
.tag:hover {
    background: var(--primary);
    color: white;
}

@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .sidebar {
        position: static;
        order: -1;
    }
}
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .blog-hero h1 {
        font-size: 2.2rem;
    }
    .blog-hero .lead {
        font-size: 1.1rem;
    }
    .blog-stats {
        gap: 20px;
    }
    .filters-container {
        flex-direction: column;
        gap: 20px;
    }
    .search-input {
        width: 100%;
    }
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .featured-article {
        grid-template-columns: 1fr;
    }
    .featured-article .article-content {
        padding: 30px;
    }
    .featured-article .article-title {
        font-size: 1.6rem;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-btn {
        width: 100%;
    }
}
@media (max-width: 480px) {
    .blog-content {
        padding: 40px 0;
    }
    .container {
        padding: 0 15px;
    }
    .article-card {
        border-radius: 12px;
    }
    .article-content {
        padding: 20px;
    }
}

/* === FIN BLOG DESIGN MODERNE === */
body { background: var(--white) !important; }

/* === Corrections featured article blog === */
.featured-article {
    max-width: 900px;
    margin: 0 auto 20px auto;
    grid-template-columns: 1fr 1.2fr;
    min-height: 260px;
}
.featured-article .article-image {
    min-height: 260px;
    max-height: 320px;
}
.featured-article .article-image img {
    height: 100%;
    object-fit: cover;
}
.featured-article .article-content {
    padding: 30px 30px 30px 30px;
}
@media (max-width: 900px) {
    .featured-article {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    .featured-article .article-image {
        max-height: 220px;
        min-height: 180px;
    }
}
/* === Fin corrections featured article blog === */

/* Overlay plus marqué sur mobile */
@media (max-width: 700px) {
    .hero::before {
        background: rgba(30,40,30,0.65);
    }
    .hero-graphic {
        background: rgba(255,255,255,0.92);
    }
}

/* === Correction alignement hero === */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    min-height: 500px;
    padding: 60px 0;
}
.hero-text {
    max-width: 600px;
    color: #fff;
}
.hero-graphic {
    min-width: 320px;
    max-width: 350px;
    margin: 0;
}
@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        gap: 30px;
        padding: 40px 0;
    }
    .hero-text, .hero-graphic {
        max-width: 100%;
        min-width: 0;
    }
}
/* === Fin correction alignement hero === */

/* === Correction alignement hero ciblée === */
.hero .hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    min-height: 500px;
    padding: 60px 0;
}
@media (max-width: 900px) {
    .hero .hero-content {
        flex-direction: column;
        gap: 30px;
        padding: 40px 0;
    }
    .hero-text, .hero-graphic {
        max-width: 100%;
        min-width: 0;
    }
}
/* === Fin correction alignement hero ciblée === */
/* Nettoyage : suppression des anciennes règles génériques hero-content */
/* (Ce bloc remplace les anciennes règles supprimées) */

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Seule la section hero utilise flex */
.hero .hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    min-height: 500px;
    padding: 60px 0;
}
@media (max-width: 900px) {
    .hero .hero-content {
        flex-direction: column;
        gap: 30px;
        padding: 40px 0;
    }
    .hero-text, .hero-graphic {
        max-width: 100%;
        min-width: 0;
    }
}
