:root {
    --primary-color: #2b7a0b;
    --primary-light: #5bb318;
    --secondary-color: #f7b731;
    --bg-light: #f4f6f9;
    --text-dark: #2c3e50;
    --text-muted: #7f8c8d;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --radius-md: 8px;
    --radius-lg: 16px;
    --font-main: 'Outfit', 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Header & Nav */
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links li {
    position: relative;
}
.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.5rem 0;
}
.nav-links a:hover {
    color: var(--primary-color);
}
/* Dropdown Styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    flex-direction: column;
}
.nav-links li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dropdown-menu li {
    margin: 0;
}
.dropdown-menu a {
    padding: 0.8rem 1.5rem;
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    color: #475569;
}
.dropdown-menu a:hover {
    background: rgba(43, 122, 11, 0.05);
    color: var(--primary-color);
}
.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(43, 122, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 122, 11, 0.4);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(244,246,249,0.9) 0%, rgba(244,246,249,0.9) 100%), url('https://images.unsplash.com/photo-1595841696677-6489ff3f8cd1?auto=format&fit=crop&q=80') center/cover;
    padding: 2rem;
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Section */
.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

/* Cards Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Typography (Prose) */
.prose {
    font-family: var(--font-main);
    color: #334155;
}
.prose p {
    margin-bottom: 1.5rem;
    text-align: justify;
}
.prose h1, .prose h2, .prose h3, .prose h4 {
    color: var(--text-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}
.prose h2 { font-size: 1.8rem; border-bottom: 2px solid rgba(43, 122, 11, 0.1); padding-bottom: 0.5rem; }
.prose h3 { font-size: 1.4rem; color: var(--primary-color); }
.prose img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: block;
}
/* Alignements classiques de WordPress */
.prose .aligncenter, .prose .wp-block-image.aligncenter {
    display: block;
    margin: 2rem auto;
    text-align: center;
}
.prose .alignleft {
    float: left;
    margin: 0.5rem 2rem 1rem 0;
    max-width: 50%;
}
.prose .alignright {
    float: right;
    margin: 0.5rem 0 1rem 2rem;
    max-width: 50%;
}
.prose figure {
    margin: 2rem auto;
    text-align: center;
}
.prose figcaption {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-style: italic;
}
.prose ul, .prose ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}
.prose li {
    margin-bottom: 0.5rem;
}
.prose a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}
.prose a:hover {
    border-bottom-color: var(--primary-color);
}
.prose blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    font-style: italic;
    color: #475569;
    margin: 2rem 0;
    background: rgba(43, 122, 11, 0.03);
    padding: 1.5rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section {
        padding: 3rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Pour la section "Pourquoi choisir" */
    .section > div[style*="flex-wrap: wrap"] > div {
        flex: 100% !important;
    }
}
