
/* ---------------------------------------------------
   VARIABLES & RESET
--------------------------------------------------- */
:root {
    --primary: #007A33;
    --secondary: #FCD116;
    --accent: #3A75C4;
    --dark: #0f0f0f;
    --light: #f0f2f5;
    --white: #ffffff;
    --gray: #6b7280;
    --border: #e5e7eb;
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------------------------------------------------
   NAVIGATION
--------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    transition: var(--transition);
}

.navbar nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 40px;
}

.nav-links li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color var(--transition);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-links li a:hover {
    color: var(--primary);
}

.btn-contact {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-contact:hover {
    background: var(--accent);
    box-shadow: var(--shadow-sm);
}

/* ---------------------------------------------------
   HERO SECTION
--------------------------------------------------- */
.hero-container {
    margin-top: 70px;
    padding: 80px 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    min-height: calc(100vh - 70px);
}

.hero-text {
    flex: 1;
    animation: slideInLeft 0.8s ease-out;
}

.hero-image {
    flex: 1;
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.badge {
    background: linear-gradient(135deg, rgba(0, 122, 51, 0.1), rgba(58, 117, 196, 0.1));
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 122, 51, 0.2);
}

.hero-text h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 800;
    color: var(--dark);
}

.highlight {
    color: var(--primary);
    position: relative;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-main, .btn-secondary {
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
    display: inline-block;
    font-size: 1rem;
    padding: 14px 32px;
}

.btn-main {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-main:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.photo-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    perspective: 1000px;
}

.photo-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 122, 51, 0.2), 0 25px 50px rgba(0, 0, 0, 0.15);
    display: block;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
    border: 3px solid var(--primary);
    object-fit: cover;
}

.photo-wrapper img:hover {
    transform: translateY(-8px) rotateY(2deg) scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 122, 51, 0.35), 0 30px 70px rgba(0, 0, 0, 0.2);
    filter: brightness(1.08);
}

.photo-decoration {
    position: absolute;
    inset: -15px;
    border: 3px solid var(--secondary);
    border-radius: 24px;
    pointer-events: none;
    z-index: -1;
    background: linear-gradient(135deg, rgba(252, 209, 22, 0.05), rgba(58, 117, 196, 0.05));
    box-shadow: inset 0 0 20px rgba(252, 209, 22, 0.1);
}

/* ---------------------------------------------------
   SECTIONS GÉNÉRALES
--------------------------------------------------- */
section {
    padding: 120px 0;
}

.bg-light {
    background: linear-gradient(135deg, #f9fafb 0%, #f0f2f5 100%);
}

.section-title {
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--dark);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--gray);
}

.underline {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin-top: 20px;
    border-radius: 2px;
}

/* ---------------------------------------------------
   VISION SECTION
--------------------------------------------------- */
#vision {
    background: var(--white);
}

.vision-grid {
    max-width: 800px;
}

.vision-text p {
    font-size: 1.2rem;
    color: var(--dark);
    line-height: 1.9;
    margin-bottom: 40px;
}

.vision-text blockquote {
    border-left: 4px solid var(--secondary);
    padding-left: 30px;
    font-size: 1.3rem;
    font-style: italic;
    color: var(--primary);
    line-height: 1.8;
}

/* ---------------------------------------------------
   PLAN D'ACTION (GRID CARDS)
--------------------------------------------------- */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 32px;
}

/* ---------------------------------------------------
   ANIMATIONS & TRANSITIONS
--------------------------------------------------- */

.axe-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    opacity: 0;
}

.axe-card.visible {
    opacity: 1;
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Classes d'animations appliquées par JS */
section h2,
section p {
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

section h2.visible,
section p.visible {
    opacity: 1;
}

.axe-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.axe-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    backface-visibility: hidden;
}

.axe-card .icon {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 24px;
    display: block;
}

.axe-card h3 {
    margin-bottom: 16px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
}

.axe-card p {
    color: var(--gray);
    margin-bottom: 24px;
    line-height: 1.8;
}

.impact {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------------------------------------------------
   FOOTER
--------------------------------------------------- */
footer {
    background: linear-gradient(135deg, var(--dark) 0%, #1a1a2e 100%);
    color: var(--white);
    padding: 100px 0 40px;
    text-align: center;
}

.footer-content h3 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    font-weight: 800;
}

.footer-content p {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 30px;
}

.social-links {
    margin: 40px 0;
}

.whatsapp-float {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    gap: 10px;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

hr {
    opacity: 0.15;
    margin: 50px 0;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.6;
}

/* ---------------------------------------------------
   RESPONSIVE
--------------------------------------------------- */

/* Respect les préférences de mouvement réduit */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Petits appareils (mobiles) */
@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    .navbar {
        padding: 12px 0;
    }

    .logo {
        font-size: 1.1rem;
    }

    .nav-links {
        display: none;
    }

    .hero-container {
        margin-top: 60px;
        padding: 40px 0 30px;
        gap: 30px;
        min-height: auto;
    }

    .hero-text h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 12px;
    }

    .btn-main, .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .section-title p {
        font-size: 0.95rem;
    }

    .actions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .axe-card {
        padding: 24px;
    }

    .axe-card .icon {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .axe-card h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .axe-card p {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .vision-text blockquote {
        font-size: 1.1rem;
        padding-left: 20px;
    }

    footer {
        padding: 40px 0 20px;
    }

    .footer-content h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .footer-content p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .whatsapp-float {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    hr {
        margin: 30px 0;
    }
}

/* Tablets et petits écrans (768px et plus) */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        padding: 60px 0 40px;
        gap: 40px;
        min-height: auto;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .actions-grid {
        grid-template-columns: 1fr;
    }
}

/* Activities section */
.activities-section {
    margin-top: 40px;
    padding: 28px 18px;
    background: linear-gradient(180deg, rgba(240,242,245,0.6), rgba(255,255,255,0));
    border-radius: 12px;
}
.activities-section h3 {
    font-size: 1.6rem;
    margin-bottom: 18px;
    color: var(--primary);
}
.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.activity-card {
    background: var(--white);
    padding: 16px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.activity-card h4 {
    margin-bottom: 8px;
    font-size: 1.05rem;
    color: var(--dark);
}
.activity-card ul {
    list-style: disc;
    margin-left: 18px;
    color: var(--gray);
}

@media (max-width: 992px) {
    .activities-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .activities-grid {
        grid-template-columns: 1fr;
    }
}

/* Fun Activities Section */
#activites-fun {
    background: linear-gradient(135deg, rgba(0, 122, 51, 0.05), rgba(58, 117, 196, 0.05));
    padding: 60px 0;
    margin-top: 40px;
}

#activites-fun .section-title h2 {
    color: var(--primary);
}

.fun-activities-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.fun-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fun-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(0, 122, 51, 0.15);
}

.fun-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.8rem;
    color: var(--white);
}

.fun-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--dark);
    font-weight: 700;
}

.fun-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 1200px) {
    .fun-activities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .fun-activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #activites-fun {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .fun-activities-grid {
        grid-template-columns: 1fr;
    }

    .fun-card {
        padding: 20px 16px;
    }

    .fun-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .fun-card h3 {
        font-size: 1rem;
    }

    .fun-card p {
        font-size: 0.9rem;
    }
}

/* More Activities Section */
.more-activities {
    margin-top: 60px;
    padding: 50px 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 20px;
    text-align: center;
}

.more-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.more-content i {
    font-size: 3rem;
    color: var(--secondary);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.more-content h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin: 0;
}

.more-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    max-width: 500px;
    line-height: 1.7;
}

.btn-more {
    background: var(--secondary);
    color: var(--primary);
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: var(--transition);
    margin-top: 10px;
}

.btn-more:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .more-activities {
        margin-top: 40px;
        padding: 40px 20px;
    }

    .more-content h3 {
        font-size: 1.4rem;
    }

    .more-content p {
        font-size: 0.95rem;
    }
}

/* =========================
   PARTAGE RÉSEAUX SOCIAUX
========================= */
.share-buttons {
    position: fixed;
    bottom: 100px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
    align-items: center;
}

.share-tooltip {
    background: var(--dark);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.share-buttons:hover .share-tooltip {
    opacity: 1;
}

.share-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.share-btn.whatsapp {
    background: #25D366;
}

.share-btn.whatsapp:hover {
    background: #1fad50;
    transform: scale(1.1);
}

.share-btn.facebook {
    background: #1877F2;
}

.share-btn.facebook:hover {
    background: #0a66c2;
    transform: scale(1.1);
}

.share-btn.twitter {
    background: #1DA1F2;
}

.share-btn.twitter:hover {
    background: #1a91da;
    transform: scale(1.1);
}

.share-btn.email {
    background: var(--primary);
}

.share-btn.email:hover {
    background: var(--accent);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .share-buttons {
        bottom: 80px;
        right: 10px;
    }

    .share-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}
