/* Reset et variables CSS - Palette Orange/Vert Premium pour Wyr Farm */
:root {
    /* Orange Principal du Logo */
    --primary-color: #F87D00;
    --secondary-color: #2A4B3F;
    --accent-color: #9AD24C;
    
    /* Palette Orange/Vert Basée sur le Logo */
    --orange-warm: #F87D00;
    --orange-light: #FFB347;
    --orange-pale: #FFE4B5;
    --forest-deep: #2A4B3F;
    --emerald-fresh: #9AD24C;
    --lime-bright: #C4F442;
    
    /* Couleurs Naturelles Harmonisées */
    --earth-brown: #8B7355;
    --sable-doure: #D4A574;
    --clay-natural: #C19A6B;
    --dry-earth: #A0826D;
    
    /* Neutres Naturels */
    --natural-white: #FFFFFF;
    --earth-gray: #F8F6F0;
    --primary-text: #2A4B3F;
    --secondary-text: #6B7C6F;
    
    /* Couleurs complémentaires */
    --white: #FFFFFF;
    --background-color: #FFFFFF;
    --background-light: #F8F6F0;
    --background-section: #FFF5E6;
    
    /* Shadows Premium - Orange/Vert */
    --shadow: 0 4px 6px rgba(248, 125, 0, 0.08);
    --shadow-lg: 0 20px 25px rgba(248, 125, 0, 0.12);
    --shadow-xl: 0 25px 50px rgba(248, 125, 0, 0.15);
    --shadow-premium: 0 32px 64px rgba(248, 125, 0, 0.18);
    --shadow-earth: 0 8px 25px rgba(139, 115, 85, 0.2);
    
    /* Transitions Premium */
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-elastic: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Bordures */
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--primary-text);
    background-color: var(--background-color);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--forest-deep);
    margin-bottom: 0.5em;
}

h1 {
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--forest-deep), var(--emerald-fresh));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 6s ease-in-out infinite;
}

h2 {
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
}

h3 {
    font-weight: 600;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

/* Animation de gradient pour les titres */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header et Navigation Premium */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 245, 230, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(248, 125, 0, 0.08);
    box-shadow: 0 1px 20px rgba(248, 125, 0, 0.05);
}

.header.scrolled {
    background: rgba(255, 245, 230, 0.98);
    box-shadow: 0 4px 30px rgba(248, 125, 0, 0.1);
    transform: translateY(0);
}

/* Logo Animation */
.nav-logo {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    transition: var(--transition-elastic);
}

.nav-logo img {
    transition: var(--transition-elastic);
    filter: drop-shadow(0 4px 8px rgba(248, 125, 0, 0.1));
}

.nav-logo:hover img {
    transform: scale(1.05) rotate(1deg);
    filter: drop-shadow(0 8px 16px rgba(248, 125, 0, 0.2));
}

/* Logo Plus Grand - Retour Taille Optimale */
.logo-header {
    height: 45px !important;
    width: auto !important;
    max-width: 140px !important;
    display: block;
    opacity: 0.95;
    transition: var(--transition);
}

.logo-footer {
    height: 32px !important;
    width: auto !important;
    max-width: 100px !important;
    display: block;
    opacity: 0.9;
    margin-bottom: 8px !important;
    transition: var(--transition);
}

/* Responsive Mobile - Tailles Logo Plus Grandes */
@media (max-width: 768px) {
    .logo-header {
        height: 35px !important;
        max-width: 110px !important;
    }
    
    .logo-footer {
        height: 24px !important;
        max-width: 80px !important;
    }
}

/* Extra Small Screens - Logo Optimisé */
@media (max-width: 480px) {
    .logo-header {
        height: 28px !important;
        max-width: 85px !important;
    }
    
    .logo-footer {
        height: 20px !important;
        max-width: 65px !important;
    }
}

/* Optimisations Header Responsive */
@media (max-width: 768px) {
    .header {
        padding: 0;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo {
        padding: 10px 0;
    }
}

/* Performance Mobile */
@media (max-width: 768px) {
    .nav-logo img {
        will-change: transform;
        transform: translateZ(0); /* GPU acceleration */
    }
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 110px;
}

.nav-logo h2 {
    color: var(--forest-deep);
    font-weight: 700;
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--forest-deep);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 16px;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--emerald-fresh);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--emerald-fresh);
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--forest-deep);
    margin: 3px 0;
    transition: var(--transition);
}

/* Header Background Fix - Orange/Vert */
.header {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 2px solid rgba(248, 125, 0, 0.2);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 20px rgba(248, 125, 0, 0.15);
}
section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-text);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

/* Boutons Premium avec effets sophistiqués */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: var(--transition-elastic);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow);
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--forest-deep), var(--emerald-fresh));
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--emerald-fresh), var(--olive-green));
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-premium);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--emerald-fresh), var(--olive-green));
    color: var(--white);
    box-shadow: var(--shadow-earth);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--olive-green), var(--earth-brown));
    transform: translateY(-2px) scale(1.01);
    box-shadow: var(--shadow-xl);
}

.btn-tertiary {
    background: linear-gradient(135deg, var(--sable-doure), var(--clay-natural));
    color: var(--white);
    box-shadow: var(--shadow-earth);
}

.btn-tertiary:hover {
    background: linear-gradient(135deg, var(--clay-natural), var(--dry-earth));
    transform: translateY(-2px) scale(1.01);
    box-shadow: var(--shadow-xl);
}

/* Hero Section Premium avec effets visuels spectaculaires */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, 
        var(--natural-white) 0%, 
        var(--earth-gray) 25%, 
        rgba(27, 77, 62, 0.02) 50%, 
        rgba(45, 90, 61, 0.03) 75%, 
        var(--natural-white) 100%);
    padding-top: 90px;
    position: relative;
    overflow: hidden;
}

/* Particules animées en arrière-plan */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(27, 77, 62, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(45, 90, 61, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(127, 176, 105, 0.05) 0%, transparent 50%);
    animation: floatParticles 20s ease-in-out infinite;
    z-index: 1;
}

/* Formes organiques animées */
.hero::after {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: linear-gradient(45deg, 
        rgba(212, 165, 116, 0.1) 0%, 
        rgba(139, 115, 85, 0.08) 50%, 
        transparent 100%);
    border-radius: 50% 0 50% 50% / 20% 0 20% 0;
    animation: morphingShape 15s ease-in-out infinite;
    z-index: 1;
    opacity: 0.7;
}

@keyframes floatParticles {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(1deg);
    }
    66% {
        transform: translateY(10px) rotate(-0.5deg);
    }
}

@keyframes morphingShape {
    0%, 100% {
        border-radius: 50% 0 50% 50% / 20% 0 20% 0;
        transform: rotate(0deg) scale(1);
    }
    25% {
        border-radius: 30% 40% 60% 20% / 40% 30% 20% 60%;
        transform: rotate(90deg) scale(1.1);
    }
    50% {
        border-radius: 60% 20% 30% 40% / 10% 60% 40% 30%;
        transform: rotate(180deg) scale(0.9);
    }
    75% {
        border-radius: 20% 60% 40% 30% / 60% 10% 30% 40%;
        transform: rotate(270deg) scale(1.05);
    }
}

.hero-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    position: relative;
}

.hero-text::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--forest-deep), var(--emerald-fresh));
    border-radius: 2px;
    opacity: 0.6;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--secondary-text);
    margin-bottom: 40px;
    line-height: 1.8;
    font-weight: 400;
    position: relative;
    padding-left: 20px;
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--emerald-fresh), var(--olive-green));
    border-radius: 2px;
}

.hero-image {
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    background: linear-gradient(45deg, 
        rgba(27, 77, 62, 0.1) 0%, 
        rgba(127, 176, 105, 0.1) 50%, 
        rgba(212, 165, 116, 0.1) 100%);
    border-radius: var(--border-radius-xl);
    z-index: -1;
    animation: rotateBorder 20s linear infinite;
}

@keyframes rotateBorder {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.hero-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.8rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--forest-deep);
    margin-bottom: 25px;
    line-height: 1.1;
    padding-top: 20px;
    text-shadow: 0 2px 4px rgba(248, 125, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--secondary-text);
    margin-bottom: 40px;
    line-height: 1.8;
    font-weight: 400;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-premium);
    transition: var(--transition-elastic);
    filter: sepia(5%) saturate(110%) hue-rotate(350deg);
}

.hero-image:hover img {
    transform: scale(1.02) rotate(0.5deg);
    filter: sepia(0%) saturate(120%) hue-rotate(340deg);
    box-shadow: var(--shadow-earth);
}

/* About Section Premium avec glassmorphism */
.about {
    background: linear-gradient(135deg, 
        var(--earth-gray) 0%, 
        var(--natural-white) 100%);
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(27, 77, 62, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(212, 165, 116, 0.05) 0%, transparent 50%);
    opacity: 0.8;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-text {
    background: rgba(250, 248, 245, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 60px 50px;
    border-radius: var(--border-radius-xl);
    border: 1px solid rgba(27, 77, 62, 0.1);
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: hidden;
}

.about-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--forest-deep) 20%, 
        var(--emerald-fresh) 50%, 
        var(--emerald-fresh) 80%, 
        transparent 100%);
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    line-height: 1.8;
    color: var(--primary-text);
    position: relative;
    padding-left: 20px;
}

.about-text p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 3px;
    height: calc(100% - 16px);
    background: linear-gradient(180deg, var(--emerald-fresh), var(--olive-green));
    border-radius: 2px;
    opacity: 0.7;
}

.about-text h3 {
    color: var(--forest-deep);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 40px 0 20px 0;
    position: relative;
    padding-left: 30px;
}

.about-text h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, var(--forest-deep), var(--emerald-fresh));
    border-radius: 50%;
    opacity: 0.8;
}

.expertise-info {
    background: linear-gradient(135deg, 
        var(--forest-deep) 0%, 
        var(--emerald-fresh) 50%, 
        var(--olive-green) 100%);
    color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius-xl);
    margin-top: 40px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-elastic);
    position: relative;
    overflow: hidden;
}

.expertise-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: var(--transition);
}

.expertise-info:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-earth);
}

.expertise-info:hover::before {
    opacity: 1;
}

.expertise-info h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.expertise-info p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.fiscal-info h3 {
    color: var(--white);
    margin-bottom: 10px;
}

/* Activities Section Premium avec grilles innovantes */
.activities {
    background: linear-gradient(135deg, 
        var(--natural-white) 0%, 
        var(--earth-gray) 50%, 
        var(--natural-white) 100%);
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.activities::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(27, 77, 62, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(212, 165, 116, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(127, 176, 105, 0.04) 0%, transparent 50%);
    animation: parallaxFloat 25s ease-in-out infinite;
}

@keyframes parallaxFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(1deg);
    }
    66% {
        transform: translateY(15px) rotate(-0.5deg);
    }
}

.activity-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
    background: rgba(250, 248, 245, 0.8);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 60px 50px;
    border-radius: var(--border-radius-xl);
    border: 1px solid rgba(27, 77, 62, 0.1);
    box-shadow: var(--shadow-premium);
    transition: var(--transition-elastic);
    position: relative;
    overflow: hidden;
}

.activity-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--forest-deep) 25%, 
        var(--emerald-fresh) 50%, 
        var(--emerald-fresh) 75%, 
        transparent 100%);
}

.activity-block::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, 
        var(--forest-deep) 0%, 
        var(--emerald-fresh) 50%, 
        var(--emerald-fresh) 100%);
    border-radius: 0 3px 3px 0;
}

.activity-block:hover {
    transform: translateY(-12px) rotateX(2deg);
    box-shadow: var(--shadow-earth);
    border-color: rgba(27, 77, 62, 0.2);
}

.activity-block:nth-child(even) {
    direction: rtl;
    transform: translateX(20px);
}

.activity-block:nth-child(even) > * {
    direction: ltr;
}

.activity-block:nth-child(even):hover {
    transform: translateX(0) translateY(-12px) rotateX(2deg);
}

.activity-block.reverse {
    direction: rtl;
}

.activity-block.reverse > * {
    direction: ltr;
}

.activity-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.activity-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    transition: var(--transition-elastic);
    filter: sepia(3%) saturate(115%) hue-rotate(10deg);
}

.activity-block:hover .activity-image img {
    transform: scale(1.05) rotate(1deg);
    filter: sepia(0%) saturate(125%) hue-rotate(0deg);
    box-shadow: var(--shadow-xl);
}

.activity-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(27, 77, 62, 0.1) 0%, 
        transparent 50%, 
        rgba(127, 176, 105, 0.1) 100%);
    opacity: 0;
    transition: var(--transition);
}

.activity-block:hover .activity-image::after {
    opacity: 1;
}

.activity-content h3 {
    color: var(--forest-deep);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.activity-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--forest-deep), var(--emerald-fresh));
    border-radius: 2px;
}

.activity-content h3::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 60px;
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, var(--emerald-fresh), var(--emerald-fresh));
    opacity: 0.6;
}

.activity-content > p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--secondary-text);
    line-height: 1.8;
    position: relative;
    padding-left: 20px;
}

.activity-content > p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 2px;
    height: calc(100% - 16px);
    background: linear-gradient(180deg, var(--olive-green), var(--emerald-fresh));
    border-radius: 1px;
}

.activity-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.activity-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.activity-list span {
    background: linear-gradient(135deg, 
        rgba(27, 77, 62, 0.08) 0%, 
        rgba(127, 176, 105, 0.12) 100%);
    color: var(--forest-deep);
    padding: 12px 20px;
    border-radius: var(--border-radius-lg);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-elastic);
    border: 1px solid rgba(27, 77, 62, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.activity-list span::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: var(--transition);
}

.activity-list span:hover {
    background: linear-gradient(135deg, 
        var(--forest-deep) 0%, 
        var(--emerald-fresh) 100%);
    color: var(--white);
    transform: scale(1.08) rotateX(10deg);
    box-shadow: var(--shadow-earth);
    border-color: var(--forest-deep);
}

.activity-list span:hover::before {
    left: 100%;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.activity-grid > div {
    background: linear-gradient(135deg, rgba(249, 101, 21, 0.05), rgba(132, 191, 77, 0.05));
    padding: 25px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid rgba(249, 101, 21, 0.1);
}

.activity-grid > div:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-dynamic);
    background: linear-gradient(135deg, rgba(249, 101, 21, 0.08), rgba(132, 191, 77, 0.08));
}

.activity-grid > div h4 {
    color: var(--forest-deep);
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.activity-grid > div span {
    display: block;
    padding: 6px 0;
    color: var(--secondary-text);
    font-weight: 500;
    transition: var(--transition);
}

.activity-grid > div:hover span {
    color: var(--emerald-fresh);
}

.infrastructure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.infra-item {
    background: linear-gradient(135deg, rgba(132, 191, 77, 0.1), rgba(48, 77, 54, 0.05));
    padding: 25px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--olive-green);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.infra-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(249, 101, 21, 0.1), transparent);
    opacity: 0;
    transition: var(--transition);
}

.infra-item:hover {
    transform: translateY(-8px) rotate(1deg);
    box-shadow: var(--shadow-dynamic);
    border-left-color: var(--emerald-fresh);
}

.infra-item:hover::before {
    opacity: 1;
}

.infra-item h4 {
    color: var(--forest-deep);
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-item {
    background: linear-gradient(135deg, var(--white), rgba(249, 101, 21, 0.02));
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--emerald-fresh), var(--olive-green));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-dynamic);
    border-color: rgba(249, 101, 21, 0.2);
}

.service-item:hover::before {
    transform: scaleX(1);
}

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

.service-item h4 {
    color: var(--forest-deep);
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

/* Impact Section */
.impact {
    background: var(--white);
    position: relative;
}

.impact::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(-45deg, rgba(132, 191, 77, 0.1), rgba(249, 101, 21, 0.05));
    border-radius: 50% 0 0 0;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.impact-card {
    background: linear-gradient(135deg, var(--white), rgba(132, 191, 77, 0.03));
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid rgba(132, 191, 77, 0.1);
    position: relative;
    overflow: hidden;
}

.impact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(249, 101, 21, 0.1), rgba(132, 191, 77, 0.1));
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.impact-card > * {
    position: relative;
    z-index: 1;
}

.impact-card:hover {
    transform: translateY(-15px) rotate(-1deg);
    box-shadow: var(--shadow-dynamic);
    border-color: var(--emerald-fresh);
}

.impact-card:hover::before {
    opacity: 0.1;
}

.impact-card h3 {
    color: var(--forest-deep);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Gallery Section */
.gallery {
    background: var(--background-section);
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 80%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(249, 101, 21, 0.08), transparent 70%);
    transform: translateX(-50%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition-bounce);
    background: var(--white);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(249, 101, 21, 0.1), rgba(132, 191, 77, 0.1));
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.gallery-item:hover {
    transform: translateY(-10px) rotate(-2deg);
    box-shadow: var(--shadow-dynamic);
    z-index: 2;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(48, 77, 54, 0.95));
    color: var(--white);
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: var(--transition);
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--emerald-fresh);
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3,
.contact-form h3 {
    color: var(--emerald-fresh);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item h4 {
    color: var(--primary-text);
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--secondary-text);
    font-weight: 500;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #E5E7EB;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--emerald-fresh);
    box-shadow: 0 0 0 3px rgba(249, 101, 21, 0.2);
    transform: scale(1.02);
}

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

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--forest-deep), var(--emerald-fresh));
    color: var(--white);
    padding: 50px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::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 100 100"><defs><pattern id="grain" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo h3 {
    color: var(--emerald-fresh);
    margin-bottom: 5px;
    font-weight: 700;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 400;
}

.footer-logo p {
    color: #9CA3AF;
    font-size: 0.9rem;
}

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--emerald-fresh);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #374151;
    color: #9CA3AF;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .nav-toggle {
        display: flex;
    }

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

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

    .section-header h2 {
        font-size: 2rem;
    }

    .activity-block {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }

    .activity-block.reverse {
        direction: ltr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

    .section-header h2 {
        font-size: 1.6rem;
    }

    .activity-block {
        padding: 20px 15px;
    }

    .impact-card {
        padding: 30px 20px;
    }
}

/* Animations et Effets Dynamiques */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Application des animations */
.section-header,
.activity-block,
.impact-card {
    animation: fadeInUp 0.8s ease-out;
}

.activity-block:nth-child(even) {
    animation-delay: 0.2s;
}

.activity-block:nth-child(odd) {
    animation-delay: 0.1s;
}

.gallery-item {
    animation: bounceIn 0.6s ease-out;
}

.gallery-item:nth-child(2) {
    animation-delay: 0.1s;
}

.gallery-item:nth-child(3) {
    animation-delay: 0.2s;
}

.gallery-item:nth-child(4) {
    animation-delay: 0.3s;
}

/* Effet de parallaxe subtil */
@media (min-width: 769px) {
    .hero::before {
        animation: float 6s ease-in-out infinite;
    }
    
    .gallery::before {
        animation: pulse 8s ease-in-out infinite;
    }
}

/* Amélioration des performances */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus states pour l'accessibilité */
.nav-link:focus,
.btn:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--bright-green);
    outline-offset: 2px;
}