/* =====================================================
   TERRE CONSCIENTE - Main Stylesheet
   Un design organique et authentique
   ===================================================== */

/* ----- CSS Custom Properties ----- */
:root {
    /* Colors - palette naturelle et chaleureuse */
    --color-primary: #3d6b4f;
    --color-primary-dark: #2a4d38;
    --color-primary-light: #5a8a6b;
    --color-secondary: #a4c49a;
    --color-accent: #e8b879;
    --color-accent-warm: #d4a574;
    --color-earth: #8b7355;
    --color-background: #f7f5f0;
    --color-surface: #fffef9;
    --color-text-primary: #2c2416;
    --color-text-secondary: #5d5345;
    --color-border: #e0ddd4;
    --color-error: #bf5050;
    --color-success: #3d6b4f;
    --color-cream: #faf8f3;
    --color-moss: #6b8c5a;

    /* Typography - plus de personnalite */
    --font-heading: 'Libre Baskerville', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1.0625rem;
    --text-lg: 1.1875rem;
    --text-xl: 1.375rem;
    --text-2xl: 1.75rem;
    --text-3xl: 2.125rem;
    --text-4xl: 2.75rem;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius - plus organique */
    --radius-sm: 3px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-organic: 60% 40% 50% 50% / 50% 60% 40% 50%;
    --radius-full: 50%;

    /* Shadows - plus douces et naturelles */
    --shadow-sm: 0 2px 4px rgba(44, 36, 22, 0.04);
    --shadow-md: 0 4px 12px rgba(44, 36, 22, 0.06);
    --shadow-lg: 0 8px 24px rgba(44, 36, 22, 0.08);
    --shadow-xl: 0 16px 48px rgba(44, 36, 22, 0.1);
    --shadow-glow: 0 0 40px rgba(61, 107, 79, 0.15);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Container */
    --container-max: 1180px;
    --container-narrow: 700px;
}

/* ----- CSS Reset ----- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text-primary);
    background-color: var(--color-background);
    background-image:
        radial-gradient(ellipse at 20% 30%, rgba(164, 196, 154, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(232, 184, 121, 0.06) 0%, transparent 50%);
    letter-spacing: 0.01em;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input, button, textarea, select {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.25;
    color: var(--color-text-primary);
    letter-spacing: -0.01em;
}

h1 {
    font-size: var(--text-4xl);
    font-weight: 400;
    line-height: 1.15;
}
h2 {
    font-size: var(--text-3xl);
    font-style: italic;
}
h3 {
    font-size: var(--text-xl);
    font-family: var(--font-accent);
    font-weight: 600;
}
h4 {
    font-size: var(--text-lg);
    font-family: var(--font-accent);
    font-weight: 500;
}

p {
    margin-bottom: var(--space-lg);
}

/* ----- Utility Classes ----- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.container-narrow {
    max-width: var(--container-narrow);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: white;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-md);
}

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.75rem;
    font-family: var(--font-accent);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: var(--text-xs);
}

.btn-lg {
    padding: 1.125rem 2.25rem;
    font-size: var(--text-sm);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(61, 107, 79, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(61, 107, 79, 0.35);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--color-surface);
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background-color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn svg {
    width: 18px;
    height: 18px;
}

/* ----- Header ----- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-primary);
}

.logo-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
}

.nav-menu a {
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--color-text-primary);
    transition: color var(--transition-fast);
    position: relative;
}

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

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-primary);
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -1rem;
    min-width: 200px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--space-md) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--text-sm);
}

.dropdown-menu a:hover {
    background: var(--color-background);
}

.dropdown-menu a::after {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
    color: var(--color-text-primary);
}

.nav-cta {
    display: flex;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    z-index: 1001;
    padding: var(--space-xl);
    transition: right var(--transition-base);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
}

.mobile-menu-header .logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.mobile-menu-close svg {
    width: 24px;
    height: 24px;
}

.mobile-nav-menu li {
    margin-bottom: var(--space-md);
}

.mobile-nav-menu a {
    display: block;
    padding: var(--space-md);
    font-size: var(--text-base);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

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

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ----- Hero Section ----- */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, var(--color-cream) 0%, var(--color-background) 50%, rgba(164, 196, 154, 0.1) 100%);
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(164, 196, 154, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--color-background), transparent);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 580px;
}

.hero-label {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: rgba(61, 107, 79, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    margin-bottom: var(--space-xl);
    line-height: 1.12;
    font-style: normal;
}

.hero-title em {
    font-style: italic;
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
    font-weight: 400;
    line-height: 1.8;
}

.hero-divider {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.hero-divider span {
    width: 40px;
    height: 2px;
    background: var(--color-accent);
    border-radius: 2px;
}

.hero-divider span:nth-child(2) {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--radius-xl) 60px var(--radius-xl) 60px;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 30px;
    right: -25px;
    width: 85%;
    height: 85%;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary-light) 100%);
    border-radius: 60px var(--radius-xl) 60px var(--radius-xl);
    z-index: 1;
    opacity: 0.4;
}

.hero-image::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 20px;
    width: 120px;
    height: 120px;
    background: var(--color-accent);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.3;
}

/* ----- Section Styles ----- */
.section {
    padding: 100px 0;
    position: relative;
}

.section-light {
    background: var(--color-background);
}

.section-white {
    background: var(--color-surface);
}

.section-cream {
    background: var(--color-cream);
}

.section-dark {
    background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.section-dark::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--space-4xl);
}

.section-label {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-earth);
    margin-bottom: var(--space-md);
}

.section-header h2 {
    margin-bottom: var(--space-lg);
}

.section-header p {
    color: var(--color-text-secondary);
    font-size: var(--text-base);
    margin-bottom: 0;
    line-height: 1.8;
}

.section-dark .section-header p {
    color: rgba(255, 255, 255, 0.85);
}

.section-dark .section-label {
    color: var(--color-accent);
}

/* ----- Categories Grid ----- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.category-card {
    background: var(--color-surface);
    border: none;
    border-radius: var(--radius-lg);
    padding: var(--space-2xl) var(--space-xl);
    text-align: left;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform var(--transition-base);
}

.category-card:nth-child(2)::before {
    background: var(--color-accent);
}

.category-card:nth-child(3)::before {
    background: var(--color-moss);
}

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

.category-card:hover::before {
    transform: scaleY(1);
}

.category-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(61, 107, 79, 0.1) 0%, rgba(164, 196, 154, 0.2) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    transition: all var(--transition-base);
}

.category-card:nth-child(2) .category-icon {
    background: linear-gradient(135deg, rgba(232, 184, 121, 0.15) 0%, rgba(232, 184, 121, 0.25) 100%);
}

.category-card:nth-child(3) .category-icon {
    background: linear-gradient(135deg, rgba(107, 140, 90, 0.1) 0%, rgba(107, 140, 90, 0.2) 100%);
}

.category-icon svg {
    width: 26px;
    height: 26px;
    color: var(--color-primary);
}

.category-card:nth-child(2) .category-icon svg {
    color: var(--color-earth);
}

.category-card:nth-child(3) .category-icon svg {
    color: var(--color-moss);
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(-5deg);
}

.category-card h3 {
    margin-bottom: var(--space-sm);
    font-size: var(--text-lg);
}

.category-card p {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-primary);
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
}

.category-link:hover {
    gap: var(--space-md);
    color: var(--color-primary-dark);
}

.category-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.category-link:hover svg {
    transform: translateX(4px);
}

/* ----- Articles Grid ----- */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.article-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
}

.article-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

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

.article-card:hover::after {
    transform: scaleX(1);
}

.article-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.article-card:hover .article-image img {
    transform: scale(1.08);
}

.article-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: 0.4rem 0.875rem;
    background: var(--color-surface);
    color: var(--color-primary);
    font-family: var(--font-accent);
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: var(--shadow-md);
}

.article-badge.actualites {
    background: rgba(52, 152, 219, 0.9);
    color: white;
}
.article-badge.zero-dechet {
    background: rgba(61, 107, 79, 0.9);
    color: white;
}
.article-badge.tests {
    background: rgba(232, 184, 121, 0.95);
    color: var(--color-text-primary);
}
.article-badge.guides {
    background: rgba(139, 115, 85, 0.9);
    color: white;
}

.article-content {
    padding: var(--space-lg);
}

.article-content h3 {
    font-size: var(--text-base);
    margin-bottom: var(--space-sm);
    line-height: 1.45;
    font-style: normal;
}

.article-content h3 a {
    transition: color var(--transition-fast);
}

.article-content h3 a:hover {
    color: var(--color-primary);
}

.article-excerpt {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    margin-bottom: var(--space-md);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-md);
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.article-meta svg {
    width: 13px;
    height: 13px;
    opacity: 0.6;
    flex-shrink: 0;
}

/* ----- Stats Section ----- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: var(--space-xl) var(--space-md);
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 400;
    margin-bottom: var(--space-sm);
    line-height: 1;
    font-style: italic;
}

.stat-label {
    font-family: var(--font-accent);
    font-size: var(--text-sm);
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ----- Eco Tip Section ----- */
.eco-tip-section {
    position: relative;
    padding: var(--space-4xl) 0;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.eco-tip-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
    z-index: 0;
}

.eco-tip-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(45, 58, 47, 0.7) 0%, rgba(26, 33, 25, 0.85) 100%);
}

.eco-tip-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.eco-tip-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: var(--space-xl);
    background: rgba(232, 184, 121, 0.15);
    padding: 0.6rem 1.25rem;
    border-radius: 100px;
    border: 1px solid rgba(232, 184, 121, 0.3);
}

.eco-tip-label svg {
    width: 18px;
    height: 18px;
}

.eco-tip-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    color: white;
    quotes: none;
}

.eco-tip-impact {
    display: flex;
    justify-content: center;
    gap: var(--space-3xl);
}

.impact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.impact-number {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 400;
    color: var(--color-accent);
    font-style: italic;
}

.impact-label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ----- Conseil Section ----- */
.conseil-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.conseil-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: visible;
}

.conseil-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.conseil-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: var(--color-accent);
    border-radius: 50%;
    opacity: 0.3;
    z-index: 1;
}

.conseil-image::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 80%;
    height: 80%;
    border: 2px solid var(--color-secondary);
    border-radius: var(--radius-xl);
    z-index: 0;
}

.conseil-content .overline {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-earth);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-md);
    background: rgba(139, 115, 85, 0.1);
    padding: 0.4rem 0.875rem;
    border-radius: 100px;
}

.conseil-content h2 {
    margin-bottom: var(--space-lg);
}

.conseil-content > p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

.conseil-list {
    margin-bottom: var(--space-2xl);
}

.conseil-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    padding: var(--space-sm) 0;
}

.conseil-list svg {
    width: 22px;
    height: 22px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
    background: rgba(61, 107, 79, 0.1);
    padding: 4px;
    border-radius: 50%;
}

/* ----- Newsletter Section ----- */
.newsletter-section {
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-background) 50%, rgba(164, 196, 154, 0.08) 100%);
    border-top: none;
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: var(--color-secondary);
    border-radius: 50%;
    opacity: 0.08;
}

.newsletter-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: var(--color-accent);
    border-radius: 50%;
    opacity: 0.1;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.newsletter-content h2 {
    margin-bottom: var(--space-md);
}

.newsletter-content > p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
    line-height: 1.8;
}

.newsletter-form {
    display: flex;
    gap: var(--space-sm);
    max-width: 480px;
    margin: 0 auto var(--space-lg);
    background: var(--color-surface);
    padding: 6px;
    border-radius: 100px;
    box-shadow: var(--shadow-md);
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: none;
    background: transparent;
    font-size: var(--text-sm);
    border-radius: 100px;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
}

.newsletter-form input[type="email"]::placeholder {
    color: var(--color-text-secondary);
    opacity: 0.7;
}

.newsletter-form button {
    white-space: nowrap;
}

.newsletter-rgpd {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    margin-bottom: 0;
    opacity: 0.8;
}

.newsletter-rgpd a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* ----- Testimonials ----- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
}

.testimonial-card {
    background: linear-gradient(165deg, white 0%, var(--color-cream) 100%);
    padding: var(--space-2xl) var(--space-xl);
    border-radius: 30px 8px 30px 8px;
    box-shadow: var(--shadow-soft);
    position: relative;
    border: 1px solid rgba(139, 115, 85, 0.08);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.testimonial-card:nth-child(2) {
    border-radius: 8px 30px 8px 30px;
    transform: translateY(20px);
}

.testimonial-card:nth-child(3) {
    border-radius: 20px 20px 8px 8px;
}

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

.testimonial-card:nth-child(2):hover {
    transform: translateY(15px);
}

.testimonial-quote {
    font-size: 5rem;
    color: var(--color-accent);
    font-family: 'Libre Baskerville', serif;
    line-height: 0.6;
    margin-bottom: var(--space-lg);
    opacity: 0.6;
}

.testimonial-card blockquote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: var(--text-base);
    line-height: 1.9;
    margin-bottom: var(--space-xl);
    color: var(--color-text-primary);
    position: relative;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    padding-top: var(--space-md);
    border-top: 2px solid var(--color-accent);
    width: fit-content;
}

.testimonial-name {
    font-weight: 600;
    color: var(--color-primary);
    font-family: var(--font-body);
}

.testimonial-location {
    font-size: var(--text-sm);
    color: var(--color-earth);
    font-style: italic;
}

/* ----- Pre-Footer Contact ----- */
.section-white:has(.prefooter-grid) {
    background: linear-gradient(180deg, white 0%, var(--color-cream) 100%);
    position: relative;
}

.section-white:has(.prefooter-grid)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    border-radius: 2px;
}

.prefooter-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-4xl);
    align-items: center;
}

.prefooter-content h2 {
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.prefooter-content p {
    color: var(--color-text-secondary);
    margin-bottom: 0;
    font-size: var(--text-lg);
    line-height: 1.8;
}

.prefooter-cta {
    text-align: center;
    padding: var(--space-2xl);
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(139, 115, 85, 0.1);
}

.prefooter-email {
    display: block;
    margin-top: var(--space-lg);
    color: var(--color-earth);
    font-size: var(--text-base);
    font-family: var(--font-heading);
    font-style: italic;
}

/* ----- Page Header ----- */
.page-header {
    background: var(--color-background);
    padding: 140px 0 60px;
    text-align: center;
}

.page-header h1 {
    margin-bottom: var(--space-md);
}

.page-header p {
    color: var(--color-text-secondary);
    font-size: var(--text-lg);
    max-width: 700px;
    margin: 0 auto var(--space-lg);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.breadcrumb a {
    color: var(--color-primary);
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

/* ----- Filter Bar ----- */
.filter-bar {
    background: white;
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.filter-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-xl);
}

.filter-tabs {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.filter-tab {
    padding: var(--space-sm) var(--space-lg);
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-tab:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.filter-tab.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.search-box {
    position: relative;
}

.search-box input {
    padding: var(--space-sm) var(--space-lg);
    padding-left: 2.5rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    width: 250px;
    transition: border-color var(--transition-fast);
}

.search-box input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.search-box svg {
    position: absolute;
    left: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--color-text-secondary);
}

/* ----- Pagination ----- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-4xl);
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.pagination a:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.pagination .active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.pagination .dots {
    border: none;
    width: auto;
}

.pagination svg {
    width: 18px;
    height: 18px;
}

/* ----- Sidebar ----- */
.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--space-4xl);
}

.sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.sidebar-widget h4 {
    font-size: var(--text-base);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.popular-articles li {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.popular-articles li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-articles a {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.popular-articles img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.popular-articles .article-info h5 {
    font-size: var(--text-sm);
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: var(--space-xs);
    transition: color var(--transition-fast);
}

.popular-articles a:hover h5 {
    color: var(--color-primary);
}

.popular-articles .article-date {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
}

.category-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
}

.category-list a {
    transition: color var(--transition-fast);
}

.category-list a:hover {
    color: var(--color-primary);
}

.category-list .count {
    background: var(--color-background);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
}

/* ----- Article Single ----- */
.article-header {
    padding: 120px 0 60px;
    background: var(--color-background);
}

.article-header-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.article-header .article-badge {
    position: static;
    display: inline-block;
    margin-bottom: var(--space-lg);
}

.article-header h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: var(--space-xl);
}

.article-header .article-meta {
    justify-content: center;
    margin-bottom: var(--space-2xl);
}

.article-featured-image {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 21/9;
    object-fit: cover;
}

.article-intro {
    font-size: var(--text-xl);
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin: var(--space-2xl) auto;
    max-width: var(--container-narrow);
    text-align: center;
}

/* Article Body */
.article-body {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: var(--space-4xl) var(--space-xl);
}

.article-body h2 {
    margin-top: var(--space-3xl);
    margin-bottom: var(--space-lg);
}

.article-body h3 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.article-body p {
    line-height: 1.8;
}

.article-body a {
    color: var(--color-primary);
    text-decoration: underline;
}

.article-body ul,
.article-body ol {
    margin-bottom: var(--space-lg);
    padding-left: var(--space-xl);
}

.article-body ul {
    list-style: disc;
}

.article-body ol {
    list-style: decimal;
}

.article-body li {
    margin-bottom: var(--space-sm);
    line-height: 1.8;
}

.article-body blockquote {
    margin: var(--space-2xl) 0;
    padding: var(--space-xl) var(--space-2xl);
    background: var(--color-background);
    border-left: 4px solid var(--color-primary);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-family: var(--font-accent);
    font-style: italic;
    font-size: var(--text-lg);
}

.article-body figure {
    margin: var(--space-2xl) 0;
}

.article-body figure img {
    border-radius: var(--radius-lg);
}

.article-body figcaption {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-top: var(--space-md);
}

.info-box {
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-2xl) 0;
    display: flex;
    gap: var(--space-lg);
}

.info-box svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.info-box p {
    margin-bottom: 0;
}

/* Author Box */
.author-box {
    display: flex;
    gap: var(--space-xl);
    align-items: flex-start;
    padding: var(--space-2xl);
    background: var(--color-background);
    border-radius: var(--radius-xl);
    margin: var(--space-4xl) auto;
    max-width: var(--container-narrow);
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    object-fit: cover;
    flex-shrink: 0;
}

.author-info h4 {
    margin-bottom: var(--space-xs);
}

.author-role {
    font-size: var(--text-sm);
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.author-bio {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

/* Related Articles */
.related-articles {
    background: var(--color-background);
    padding: var(--space-4xl) 0;
}

.related-articles h2 {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

/* Comment Form */
.comment-section {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: var(--space-4xl) var(--space-xl);
}

.comment-section h3 {
    margin-bottom: var(--space-lg);
}

.comment-section > p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
}

/* ----- Forms ----- */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    transition: border-color var(--transition-fast);
}

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

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.form-checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

.form-checkbox label {
    font-weight: 400;
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

.form-note {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-top: var(--space-md);
}

/* ----- Contact Page ----- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-4xl);
}

.contact-info-card {
    background: var(--color-background);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    display: flex;
    gap: var(--space-lg);
}

.contact-info-card svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-size: var(--text-base);
    margin-bottom: var(--space-sm);
}

.contact-info-card p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

/* FAQ Accordion */
.faq-section {
    padding: var(--space-4xl) 0;
    background: var(--color-background);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.faq-item {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: var(--space-xl);
    background: none;
    border: none;
    text-align: left;
    font-size: var(--text-base);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: var(--color-background);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 var(--space-xl) var(--space-xl);
    color: var(--color-text-secondary);
}

/* ----- About Page ----- */
.about-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/hero/about-hero.jpg') center/cover;
    padding-top: 80px;
    color: white;
    text-align: center;
}

.about-hero h1 {
    color: white;
    max-width: 800px;
    margin: 0 auto var(--space-lg);
}

.about-hero p {
    font-size: var(--text-lg);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.story-section {
    padding: var(--space-4xl) 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.story-text h2 {
    margin-bottom: var(--space-xl);
}

.story-text p {
    color: var(--color-text-secondary);
}

.story-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.value-card {
    background: white;
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    text-align: center;
}

.value-icon {
    width: 56px;
    height: 56px;
    background: var(--color-background);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
}

.value-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.value-card h3 {
    font-size: var(--text-base);
    margin-bottom: var(--space-md);
}

.value-card p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2xl);
}

.team-card {
    text-align: center;
}

.team-avatar {
    width: 160px;
    height: 160px;
    border-radius: var(--radius-full);
    object-fit: cover;
    margin: 0 auto var(--space-lg);
    border: 4px solid var(--color-background);
    box-shadow: var(--shadow-md);
}

.team-card h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-xs);
}

.team-role {
    color: var(--color-primary);
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.team-bio {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

/* Methodology */
.methodology-steps {
    max-width: 800px;
    margin: 0 auto;
}

.methodology-step {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
    position: relative;
}

.methodology-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 48px;
    bottom: -16px;
    width: 2px;
    background: var(--color-border);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-content h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-sm);
}

.step-content p {
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

/* ----- Legal Pages ----- */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-4xl) var(--space-xl);
}

.legal-content h2 {
    margin-top: var(--space-3xl);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.legal-content h3 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.legal-content p,
.legal-content li {
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.legal-content ul {
    list-style: disc;
    padding-left: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.legal-content li {
    margin-bottom: var(--space-sm);
}

.legal-content strong {
    color: var(--color-text-primary);
}

.legal-content a {
    color: var(--color-primary);
    text-decoration: underline;
}

.legal-update {
    background: var(--color-background);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
}

/* ----- Category Pages ----- */
.category-header {
    background: var(--color-background);
    padding: 140px 0 80px;
    text-align: center;
}

.category-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.category-header .category-icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-xl);
}

.category-header .category-icon svg {
    width: 36px;
    height: 36px;
}

.category-header h1 {
    margin-bottom: var(--space-lg);
}

.category-header p {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
}

.category-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
}

.category-stat {
    text-align: center;
}

.category-stat .number {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-primary);
}

.category-stat .label {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.featured-article {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.featured-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-article-content {
    padding: var(--space-3xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-article-content .overline {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.featured-article-content h2 {
    margin-bottom: var(--space-lg);
}

.featured-article-content p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
}

/* ----- Footer ----- */
.site-footer {
    background: linear-gradient(175deg, #2d3a2f 0%, #1a2119 100%);
    color: white;
    padding: var(--space-4xl) 0 var(--space-2xl);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-secondary));
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-logo .logo-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-accent);
}

.footer-logo .logo-text {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: white;
}

.footer-tagline {
    color: var(--color-accent);
    font-size: var(--text-base);
    font-family: var(--font-heading);
    font-style: italic;
    margin-bottom: var(--space-lg);
}

.footer-description {
    color: rgba(255, 255, 255, 0.75);
    font-size: var(--text-sm);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-nav h4 {
    color: white;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
    font-family: var(--font-body);
    font-weight: 600;
}

.footer-nav ul li {
    margin-bottom: var(--space-md);
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--color-accent);
}

.footer-nav a:hover::after {
    width: 100%;
}

.footer-bottom {
    padding-top: var(--space-2xl);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom .icon-heart {
    width: 14px;
    height: 14px;
    color: var(--color-accent);
    display: inline-block;
    vertical-align: middle;
}

/* ----- Responsive Styles ----- */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }

    .section {
        padding: 80px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image::before {
        display: none;
    }

    .categories-grid,
    .articles-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .conseil-grid,
    .story-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .conseil-image {
        order: -1;
    }

    .prefooter-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .prefooter-cta {
        text-align: center;
    }

    .values-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }

    .content-with-sidebar {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }

    .nav-menu,
    .nav-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .featured-article {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .container {
        max-width: 540px;
        padding: 0 var(--space-lg);
    }

    .section {
        padding: 60px 0;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .categories-grid,
    .articles-grid,
    .testimonials-grid,
    .stats-grid,
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .filter-bar-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-tabs {
        overflow-x: auto;
        padding-bottom: var(--space-sm);
        -webkit-overflow-scrolling: touch;
    }

    .search-box input {
        width: 100%;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .methodology-step {
        flex-direction: column;
        text-align: center;
    }

    .methodology-step::before {
        display: none;
    }

    .step-number {
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    .container {
        padding: 0 var(--space-md);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .category-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }
}

/* ----- Animation Classes ----- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ----- Print Styles ----- */
@media print {
    .site-header,
    .site-footer,
    .mobile-menu,
    .mobile-menu-overlay,
    .newsletter-section,
    .btn,
    .filter-bar,
    .sidebar,
    .comment-section {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: black;
        background: white;
    }

    a {
        text-decoration: underline;
    }

    .article-body {
        max-width: 100%;
        padding: 0;
    }
}
