/* =====================================================
   ÉQUILIBRE VISUEL - VERT + ORANGE + BLANC
   Rythme alterné pour ne pas fatiguer l'œil
   ===================================================== */

/* =====================================================
   STATS - STYLE SUPPRIMÉ (voir stats_ultra_modern.css)
   ===================================================== */
/* Le style des stats est maintenant dans stats_ultra_modern.css */

/* =====================================================
   MISSION - BLANC (Repos visuel)
   ===================================================== */
.mission {
    padding: 3rem 1.5rem;
    background: #ffffff;
}

.mission .section-title {
    color: #1a2f0d;
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.mission .section-subtitle {
    color: #374151;
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

.mission-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

/* Top border avec ORANGE pour accent */
.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #EA580C, #fb923c, #fdba74);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.mission-card:hover::before {
    transform: scaleX(1);
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(234, 88, 12, 0.15);
    border-color: rgba(234, 88, 12, 0.2);
}

.mission-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: grayscale(0.2);
}

.mission-card h3 {
    color: #1a2f0d;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.mission-card p {
    color: #374151;
    line-height: 1.7;
}

/* =====================================================
   FEATURES - CRÈME CLAIR (Variation subtile)
   ===================================================== */
.features {
    padding: 3rem 1.5rem;
    background: linear-gradient(135deg, #fefdfb 0%, #f9f8f6 100%);
}

.features .section-title {
    color: #1a2f0d;
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.features .section-subtitle {
    color: #374151;
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e7eb;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(45, 80, 22, 0.12);
    border-color: rgba(45, 80, 22, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1.25rem;
    /* ORANGE pour les icônes au lieu de vert */
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.08), rgba(251, 146, 60, 0.12));
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.15), rgba(251, 146, 60, 0.2));
}

.feature-card h3 {
    color: #1a2f0d;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: #374151;
    line-height: 1.7;
}

/* =====================================================
   MAP SECTION - VERT FONCÉ (Impact visuel)
   ===================================================== */
.map-section {
    padding: 3rem 1.5rem;
    background:
        linear-gradient(135deg, rgba(26, 47, 13, 0.85) 0%, rgba(45, 80, 22, 0.75) 50%, rgba(74, 128, 40, 0.70) 100%),
        url('../img/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.map-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 30% 40%, rgba(168, 230, 161, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.map-section .section-title {
    color: white;
    background: linear-gradient(135deg, #ffffff 0%, #a8e6a1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.map-section .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.map-placeholder {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    position: relative;
}

.map-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.map-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

/* =====================================================
   TESTIMONIALS - BLANC (Repos visuel)
   ===================================================== */
.testimonials {
    padding: 3rem 1.5rem;
    background: #ffffff;
}

.testimonials .section-title {
    color: #1a2f0d;
}

.testimonials .section-subtitle {
    color: #374151;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid transparent;
    transition: all 0.4s ease;
    border: 1px solid #e5e7eb;
}

/* ORANGE pour accent testimonials */
.testimonial-card:hover {
    border-left-color: #EA580C;
    transform: translateX(8px);
    box-shadow: 0 12px 40px rgba(234, 88, 12, 0.12);
}

.testimonial-author {
    color: #1a2f0d;
    font-weight: 700;
}

.testimonial-role {
    color: #EA580C;
    font-size: 0.9rem;
}

/* =====================================================
   PARTNERS - CRÈME (Variation)
   ===================================================== */
.partners {
    padding: 2.5rem 1.5rem;
    background: #fefdfb;
}

.partners .section-title {
    color: #1a2f0d;
}

/* =====================================================
   CONTACT - VERT FONCÉ (Clôture forte)
   ===================================================== */
.contact {
    padding: 3rem 1.5rem;
    background:
        linear-gradient(135deg, rgba(45, 80, 22, 0.85) 0%, rgba(26, 47, 13, 0.75) 50%, rgba(45, 80, 22, 0.70) 100%),
        url('../img/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.contact .section-title {
    color: white;
    background: linear-gradient(135deg, #ffffff 0%, #a8e6a1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: #a8e6a1;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 20px rgba(168, 230, 161, 0.2);
    outline: none;
}

/* Bouton submit en ORANGE */
.contact-form button[type="submit"] {
    background: linear-gradient(135deg, #EA580C 0%, #fb923c 100%);
    color: white;
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-form button[type="submit"]:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(234, 88, 12, 0.4);
}

/* =====================================================
   BOUTONS CTA - ORANGE (Accent fort)
   ===================================================== */
.btn-accent,
.hero-actions a:first-child {
    background: linear-gradient(135deg, #EA580C 0%, #fb923c 100%) !important;
    color: white !important;
    box-shadow: 0 4px 20px rgba(234, 88, 12, 0.3) !important;
}

.btn-accent:hover,
.hero-actions a:first-child:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(234, 88, 12, 0.5) !important;
}

/* =====================================================
   TITRES - Gradient vert pour cohérence
   ===================================================== */
.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 3rem;
}

/* =====================================================
   RYTHME VISUEL - Résumé
   HERO (Vert) → STATS (Vert foncé) → MISSION (Blanc)
   → FEATURES (Crème) → MAP (Vert) → TESTIMONIALS (Blanc)
   → PARTNERS (Crème) → CONTACT (Vert)
   ===================================================== */

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 768px) {
    .stat-number {
        font-size: 3rem;
    }

    .stat-icon {
        font-size: 3rem;
    }

    .stats,
    .mission,
    .features,
    .map-section,
    .contact {
        padding: 3rem 1.5rem;
    }

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

    .section-subtitle {
        font-size: 1.1rem;
    }

    /* Désactiver background-attachment sur mobile pour performance */
    .map-section,
    .contact {
        background-attachment: scroll;
    }
}
