/* --- 1. DESIGN GÉNÉRAL --- */
:root {
    --primary: #6B8E23;
    --primary-dark: #4a6316;
    --secondary: #F4Ebd9;
    --accent: #D2691E;
    --text-dark: #333333;
    --white: #ffffff;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    margin: 0; padding: 0; line-height: 1.6;
    background-color: var(--secondary);
    scroll-behavior: smooth;
}

h1, h2, h3 { font-family: 'Merriweather', serif; color: var(--primary-dark); }

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

/* --- HEADER --- */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky; top: 0; z-index: 1000; padding: 10px 0;
    align-items: center;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; flex-direction: column}
.logo { font-size: 1.5rem; font-weight: bold; color: var(--text-dark); text-decoration: none; }
.logo span { color: var(--primary); }
nav ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
nav a { text-decoration: none; color: var(--text-dark); font-weight: 600; }
nav a:hover { color: var(--primary); }

/* --- HERO --- */
/* Style du logo image */
.logo-img {
    height: 80px; /* Ajustez ici si le logo est trop gros ou trop petit */
    margin-left: 10px;
    width: auto;
    vertical-align: middle;
}

.hero {
    background-color: var(--primary);
    color: var(--white); text-align: center; padding: 80px 20px;
}
.btn {
    display: inline-block; background-color: var(--accent); color: var(--white);
    padding: 12px 30px; border-radius: 30px; text-decoration: none; margin-top: 20px;
    font-weight: bold; transition: 0.3s;
}
.btn:hover { background-color: #b55a19; transform: translateY(-3px); }

.certification-badge {
    background-color: #e8f5e9;
    border-left: 5px solid var(--primary);
    padding: 20px;
    margin-bottom: 20px;
    margin-top: 20px;
    font-size: 0.9rem;
}

/* --- SECTIONS --- */
section { padding: 60px 0; }
.bg-white { background-color: var(--white); }

/* --- À PROPOS (GRID) --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-img-container { text-align: center; }
.about-img { 
    border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.2); 
    max-height: 400px; border: 5px solid white;
}
.photo-caption { font-size: 0.85rem; font-style: italic; color: #666; margin-top: 5px; }

/* --- DIPLÔME --- */
.certification-box {
    display: flex; gap: 20px; align-items: center;
    background-color: #e8f5e9; padding: 20px; border-radius: 10px; margin-top: 20px;
    border-left: 5px solid var(--primary);
}
.diploma-thumb { width: 80px; height: auto; border: 1px solid #ccc; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }

/* --- CAROUSELS (STYLE COMMUN) --- */
.carousel-container { position: relative; max-width: 100%; overflow: hidden; padding: 20px 0; }
.carousel-track {
    display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth;
    padding: 10px 5px; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}
.carousel-track::-webkit-scrollbar { display: none; /* Chrome/Safari */ }

.carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.8); border: none; font-size: 2rem;
    cursor: pointer; z-index: 10; padding: 10px; border-radius: -14%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); color: var(--primary);
    object-fit: cover;
}
.btn-left { left: 0; }
.btn-right { right: 0; }

/* --- 5. SERVICES (CARTES) --- */
        .cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .card {
            background: var(--white);
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            text-align: center;
            transition: transform 0.3s;
        }
        .card:hover { transform: translateY(-5px); }
        .card h3 { color: var(--primary); margin-bottom: 15px; }

/* --- 6. SECTION ANIMAUX --- */
        .animals-list {
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
        }
        .animals-tags span {
            display: inline-block;
            background: var(--primary);
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            margin: 5px;
            font-size: 0.9rem;
        }

/* --- CARTES ANIMAUX --- */
.animal-card {
    min-width: 220px; max-width: 220px;
    background: white; border-radius: 15px; overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); text-align: center;
    flex-shrink: 0; transition: transform 0.3s;
}
.animal-card:hover { transform: translateY(-5px); }
.animal-img { width: 100%; height: 200px; object-fit: cover; }
.animal-name { padding: 10px; font-weight: bold; color: var(--primary-dark); font-family: 'Merriweather', serif; }

/* --- GALERIE ACTIVITÉS --- */
.activity-card {
    min-width: 300px; max-width: 300px;
    background: white; border-radius: 10px; overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); flex-shrink: 0;
}
.activity-img { width: 100%; height: 220px; object-fit: cover; }
.activity-desc { padding: 15px; font-size: 0.9rem; color: #555; }

/* Nouveauté */
.special-offer {
            background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
            border-radius: 20px;
            padding: 40px;
            text-align: center;
            border: 2px dashed var(--accent);
        }
        .special-offer h2 { color: var(--accent); }

/* --- FOOTER --- */
footer { background-color: var(--text-dark); color: #aaa; text-align: center; padding: 40px 20px; }

/* MOBILE */
@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; }
    .nav-flex { flex-direction: column; gap: 15px; }
    .certification-box { flex-direction: column; text-align: center; }
}