:root {
    --green: #10830e;
    --green-dark: #0a5c0a;
    --green-darker: #0a3a0a;
    --orange: #f15a25;
    --brown: #a67a51;
    --text: #333333;
    --text-light: #666666;
    --bg-light: #f5f5f5;
    --white: #ffffff;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TOP HEADER ===== */
.top-header {
    background: var(--white);
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.top-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 150px;
    height: auto;
    object-fit: contain;
}

.logo-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--green);
    letter-spacing: 1px;
}

.slogan {
    color: var(--green);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    flex: 1;
}

.btn-top {
    background: var(--green);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}

.btn-top:hover {
    background: var(--green-dark);
}

/* ===== NAVIGATION ===== */
.main-nav {
    background: var(--green-dark);
    padding: 0;
    position: relative;
    z-index: 100;
}

.main-nav .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nav-links {
    display: flex;
    gap: 0;
}

.nav-links a {
    color: var(--white);
    padding: 15px 30px;
    font-size: 0.95rem;
    font-weight: 600;
    display: block;
    transition: background 0.3s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255,255,255,0.1);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 3px;
    background: var(--orange);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 200;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===== OFF-CANVAS MENU ===== */
.offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 998;
}

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

.offcanvas-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: var(--white);
    z-index: 999;
    transition: right 0.3s ease;
    padding: 60px 30px 30px;
    overflow-y: auto;
}

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

.offcanvas-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offcanvas-menu a {
    display: block;
    padding: 15px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid #eee;
}

.offcanvas-menu a:hover {
    color: var(--green);
}

/* ===== HERO ===== */
.hero {
    height: 600px;
    background-image: url('../img/hero.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-brand {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title .dot {
    color: var(--green);
}

.hero-subtitle {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-green {
    background: var(--green);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-green:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 15px;
    opacity: 0.7;
    transition: opacity 0.3s;
    z-index: 3;
}

.hero-nav:hover {
    opacity: 1;
}

.hero-nav.prev { left: 20px; }
.hero-nav.next { right: 20px; }

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
}

.hero-dot.active {
    background: var(--green);
}

/* ===== SECTIONS COMMON ===== */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brown);
    margin-bottom: 15px;
    line-height: 1.3;
}

.section-title.dark {
    color: var(--text);
}

.section-title.center {
    text-align: center;
}

.section-subtitle {
    color: var(--green);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.section-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* ===== VISION ===== */
.vision {
    padding: 80px 0;
    background: var(--white);
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.vision-list {
    margin-top: 20px;
    margin-bottom: 25px;
}

.vision-list li {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.vision-list li i {
    color: var(--green);
    margin-top: 3px;
    font-size: 0.9rem;
}

.vision-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.vision-image img {
    width: 100%;
    display: block;
}

/* ===== MISSION ===== */
.mission {
    padding: 80px 0;
    background: var(--bg-light);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.mission-item {
    text-align: center;
}

.mission-circle {
    width: 130px;
    height: 130px;
    border: 3px solid var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: var(--white);
    position: relative;
}

.mission-circle i {
    font-size: 2.5rem;
    color: var(--green);
}

.mission-line {
    width: 40px;
    height: 3px;
    background: var(--green);
    margin: 0 auto 15px;
}

.mission-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.mission-item p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ===== STATS ===== */
.stats {
    padding: 60px 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-icon {
    font-size: 1.5rem;
    color: var(--green);
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.stat-icon i {
    opacity: 0.6;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== POURQUOI ===== */
.pourquoi {
    padding: 80px 0;
    background: var(--white);
}

.pourquoi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.pourquoi-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.pourquoi-image img {
    width: 100%;
    display: block;
}

.pourquoi-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.pourquoi-card {
    background: var(--white);
    padding: 25px 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.pourquoi-card:hover {
    transform: translateY(-5px);
}

.pourquoi-card i {
    font-size: 2rem;
    color: var(--green);
    margin-bottom: 12px;
}

.pourquoi-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}

/* ===== EQUIPE ===== */
.equipe {
    padding: 80px 0;
    background: var(--bg-light);
}

.equipe-title-icon {
    text-align: center;
    margin-bottom: 50px;
}

.equipe-title-icon i {
    font-size: 2rem;
    color: var(--green);
}

.equipe-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.equipe-row.second {
    grid-template-columns: repeat(3, 1fr);
    max-width: 800px;
    margin: 0 auto;
}

.equipe-member {
    text-align: center;
}

.equipe-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 4px solid var(--green);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.equipe-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.equipe-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 5px;
}

.equipe-role {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ===== CHEFFE ===== */
.cheffe {
    padding: 80px 0;
    background: var(--white);
}

.cheffe-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cheffe-image {
    position: relative;
}

.cheffe-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.cheffe-content .section-title {
    margin-bottom: 25px;
}

.cheffe-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.cheffe-signature {
    font-weight: 700;
    color: var(--text);
    margin-top: 20px;
}

/* ===== TEMOIGNAGES ===== */
.temoignages {
    padding: 80px 0;
    background: var(--bg-light);
}

.temoignages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.temoignage-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    position: relative;
}

.temoignage-quote {
    font-size: 3rem;
    color: var(--green);
    line-height: 1;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.temoignage-text {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.7;
}

.temoignage-author {
    font-weight: 700;
    color: var(--text);
    font-size: 0.95rem;
}

.temoignage-role {
    font-size: 0.85rem;
    color: var(--green);
    font-weight: 600;
}

/* ===== ACTUALITE ===== */
.actualite {
    padding: 80px 0;
    background: var(--white);
}

.actualite-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.fb-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.fb-header {
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.fb-logo {
    width: 40px;
    height: 40px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.7rem;
}

.fb-meta h4 {
    font-size: 0.9rem;
    color: var(--text);
}

.fb-meta span {
    font-size: 0.75rem;
    color: var(--text-light);
}

.fb-image {
    width: 100%;
    height: 180px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.85rem;
}

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

.fb-body {
    padding: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

.fb-footer {
    padding: 10px 15px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.fb-footer i {
    margin-right: 4px;
}

.btn-show-more {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
    background: var(--green);
    color: var(--white);
    padding: 12px 40px;
    border-radius: 25px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.3s;
}

.btn-show-more:hover {
    background: var(--green-dark);
}

/* ===== CTA ===== */
.cta {
    padding: 60px 0;
    background: var(--green);
    color: var(--white);
}

.cta-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-logo {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.cta-text {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
    flex: 1;
    text-align: center;
}

.btn-white {
    background: var(--white);
    color: var(--green);
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.btn-white:hover {
    background: var(--orange);
    color: var(--white);
}

/* ===== PARTENAIRES ===== */
.partenaires {
    padding: 50px 0;
    background: var(--white);
}

.partenaires-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.partenaire-logo {
    width: 150px;
    height: auto;
    object-fit: contain;
}

/* ===== IMAGE FOND ===== */
.image-fond {
    height: 450px;
    background-image: url('../img/fonio_bowl.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.image-fond-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--green-darker);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.footer-logo-text {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--white);
    letter-spacing: 1px;
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--white);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--orange);
}

.footer-contact p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--orange);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.footer-bottom .heart {
    color: var(--orange);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .vision-grid,
    .pourquoi-grid,
    .cheffe-grid {
        gap: 40px;
    }

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

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

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

    .footer-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .top-header .container {
        flex-wrap: wrap;
        gap: 10px;
    }

    .slogan {
        order: 3;
        width: 100%;
        font-size: 0.8rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .hero {
        height: 500px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-nav {
        display: none;
    }

    .vision-grid,
    .pourquoi-grid,
    .cheffe-grid {
        grid-template-columns: 1fr;
    }

    .vision-image,
    .pourquoi-image {
        order: -1;
    }

    .mission-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 40px auto 0;
    }

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

    .stat-number {
        font-size: 2.5rem;
    }

    .pourquoi-cards {
        grid-template-columns: 1fr;
    }

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

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

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

    .cta-grid {
        flex-direction: column;
        text-align: center;
    }

    .cta-logo {
        margin: 0 auto;
    }

    .partenaires-grid {
        gap: 30px;
    }

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

    .footer-contact p {
        justify-content: center;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .equipe-row,
    .equipe-row.second {
        grid-template-columns: 1fr;
    }

    .equipe-photo {
        width: 140px;
        height: 140px;
    }
}

/* ===== SLIDER ===== */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transition: all 0.3s;
    z-index: 3;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.slider-nav:hover {
    background: rgba(0, 0, 0, 0.6);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.slider-dots .dot.active {
    background: var(--green);
    border-color: var(--white);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .hero-slider {
        height: 500px;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        padding: 10px;
    }
    
    .slider-nav.prev {
        left: 10px;
    }
    
    .slider-nav.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 450px;
    }
    
    .slider-nav {
        display: none;
    }
}