* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
        }

        /* Navigation */
        nav {
            background: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1.5em;
            font-weight: 700;
            color: #3caf74;
        }

        .logo span {
            font-size: 1.5em;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
            align-items: center;
        }

        .nav-links a {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            transition: color 0.3s;
        }

        .nav-links a:hover {
            color: #3caf74;
        }

        .btn-nav {
            padding: 0.6rem 1.5rem;
            background: linear-gradient(135deg, #3caf74 0%, #8fe6a2 100%);
            color: white;
            border: none;
            border-radius: 25px;
            cursor: pointer;
            font-weight: 600;
            text-decoration: none;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .btn-nav:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(135deg,#3caf74 0%, #96e6a7 100%), 
                        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f0f0f0" width="1200" height="600"/><path fill="%23e0e0e0" d="M0 400 Q300 350 600 400 T1200 400 V600 H0 Z"/></svg>');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 8rem 2rem;
            text-align: center;
        }

        .hero-content {
            max-width: 900px;
            margin: 0 auto;
        }

        .hero h1 {
            font-size: 3.5em;
            margin-bottom: 1rem;
            font-weight: 700;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
        }

        .hero p {
            font-size: 1.3em;
            margin-bottom: 2rem;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn-primary {
            padding: 1rem 2.5rem;
            background: white;
            color: #3caf74;
            border: none;
            border-radius: 30px;
            font-size: 1.1em;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
            transition: transform 0.2s, box-shadow 0.2s;
            display: inline-block;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }

        .btn-secondary {
            padding: 1rem 2.5rem;
            background: transparent;
            color: white;
            border: 2px solid white;
            border-radius: 30px;
            font-size: 1.1em;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
            transition: all 0.3s;
            display: inline-block;
        }

        .btn-secondary:hover {
            background: white;
            color: #3caf74;
        }

        /* Animals Section */
        .animals-section {
            padding: 6rem 2rem;
            background: white;
        }

        .section-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .section-title {
            text-align: center;
            font-size: 3em;
            margin-bottom: 0.5rem;
            color: #333;
        }

        .section-subtitle {
            text-align: center;
            font-size: 1.2em;
            color: #333;
            margin-bottom: 2rem;
        }

        .animals-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(300px, 1fr));
            gap: 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .animal-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s, box-shadow 0.3s;
            cursor: pointer;
        }

        .animal-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .animal-image {
            width: 100%;
            height: 250px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 5em;
            position: relative;
        }

        .animal-badge {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: white;
            color: #3caf74;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.3em;
            font-weight: 600;
        }

        .animal-info {
            padding: 1.5rem;
        }

        .animal-name {
            font-size: 1.5em;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: #333;
        }

        .animal-details {
            color: #666;
            margin-bottom: 1rem;
            font-size: 0.95em;
        }

        .animal-description {
            color: #666;
            margin-bottom: 1rem;
            line-height: 1.6;
        }

        .animal-tags {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .tag {
            padding: 0.4rem 0.8rem;
            background: #f0f0f0;
            border-radius: 15px;
            font-size: 0.85em;
            color: #666;
        }

        /* Process Section */
        .process-section {
            padding: 3rem 1rem;
            /*background: #f8f9fa;*/
        }

        .process-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 2fr));
            gap: 3rem;
            max-width: 1200px;
            margin: 2 auto;
            
        }

        .process-step {
            text-align: center;
            /*background: linear-gradient(135deg, #3caf74 0%, #8fe6a2 100%);*/
            color: #333;
            border-radius: 20%;
            border: solid;
        }

        .process-icon {
            width: 80px;
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5em;
            margin: 0 auto 1.5rem;
            color: white;
        }

        .process-step h3 {
            font-size: 1.3em;
            margin-bottom: 0.8rem;
            color: #333;
        }

        .process-step p {
            margin: 0.8rem;
            color: #333333;
            line-height: 1.5;
        }

        /* Stats Section */
        .stats-section {
            padding: 2rem 1rem;
            background: linear-gradient(135deg, #3caf74 0%, #8fe6a2 100%);
            color: white;
        }

        .stats-grid {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 3rem;
            text-align: center;
        }

        .stat-item h3 {
            font-size: 3em;
            margin-bottom: 0.5rem;
            font-weight: 700;
        }

        .stat-item p {
            font-size: 1.2em;
        }

        /* Testimonials Section */
        .testimonials-section {
            padding: 6rem 2rem;
            background: white;
        }

        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .testimonial-card {
            background: #f8f9fa;
            padding: 2rem;
            border-radius: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .testimonial-text {
            font-style: italic;
            color: #666;
            margin-bottom: 1.5rem;
            line-height: 1.8;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .author-avatar {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #3caf74 0%, #8fe6a2 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 1.2em;
        }

        .author-info h4 {
            font-size: 1em;
            color: #333;
        }

        .author-info p {
            font-size: 0.9em;
            color: #999;
        }

        .see-more-texte {
            padding: 1rem 2.5rem;
            background: #3caf74;
            color: white;
            border: none;
            border-radius: 30px;
            font-size: 1.1em;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
            transition: transform 0.2s, box-shadow 0.2s;
            display: inline-block;
        }
        .see-more-contenaire {
            height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .see-more-texte:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }

        /* CTA Section */
        .cta-section {
            padding: 6rem 2rem;
            text-align: center;
            background: #f8f9fa;
        }

        .cta-section h2 {
            font-size: 2.5em;
            margin-bottom: 1rem;
            color: #333;
        }

        .cta-section p {
            font-size: 1.2em;
            color: #666;
            margin-bottom: 2rem;
        }

        /* Footer */
        footer {
            background: #2d3748;
            color: white;
            padding: 3rem 2rem 1rem;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-section h3 {
            margin-bottom: 1rem;
            font-size: 1.2em;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 0.5rem;
        }

        .footer-section a {
            color: #cbd5e0;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-section a:hover {
            color: white;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid #4a5568;
            color: #cbd5e0;
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            .hero h1 {
                font-size: 2.5em;
            }

            .hero p {
                font-size: 1.1em;
            }

            .hero-buttons {
                flex-direction: column;
            }

            .animals-grid {
                grid-template-columns: 1fr;
            }
        }

/* Bouton En savoir plus sur les cartes */
.btn-details {
    width: 100%;
    padding: 0.8rem;
    margin-top: 1rem;
    background: linear-gradient(135deg, #3caf74 0%, #8fe6a2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(60, 175, 116, 0.4);
}

/* Modal */
.animal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.animal-modal.show {
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 25px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    z-index: 10000;
}

.animal-modal.show .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2em;
    cursor: pointer;
    color: white;
    z-index: 100;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: all 0.3s;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

.modal-image {
    height: 100%;
    min-height: 400px;
    border-radius: 25px 0 0 25px;
    position: relative;
}

.modal-info {
    padding: 2.5rem;
    overflow-y: auto;
    max-height: 90vh;
}

.modal-info::-webkit-scrollbar {
    width: 6px;
}

.modal-info::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-info::-webkit-scrollbar-thumb {
    background: #3caf74;
    border-radius: 10px;
}

.modal-title {
    font-size: 2.5em;
    margin-bottom: 0.5rem;
    color: #333;
}

.modal-details {
    color: #666;
    font-size: 1.1em;
    margin-bottom: 1rem;
}

.animal-badge-modal {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #ff6b6b;
    color: white;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.modal-section {
    margin: 2rem 0;
}

.modal-section h3 {
    font-size: 1.3em;
    color: #3caf74;
    margin-bottom: 1rem;
}

.modal-description {
    line-height: 1.8;
    color: #666;
    font-size: 1.05em;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-adopt {
    display: block;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, #3caf74 0%, #8fe6a2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    font-size: 1.1em;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-adopt:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(60, 175, 116, 0.4);
}

.btn-contact {
    padding: 1rem 2rem;
    background: white;
    color: #3caf74;
    border: 2px solid #3caf74;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s;
}

.btn-contact:hover {
    background: #3caf74;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        grid-template-columns: 1fr;
        max-height: 95vh;
    }
    
    .modal-image {
        border-radius: 25px 25px 0 0;
        min-height: 250px;
    }
    
    .modal-info {
        padding: 2rem 1.5rem;
    }
    
    .modal-title {
        font-size: 2em;
    }
    
    .modal-close {
        top: 1rem;
        right: 1rem;
    }
}

/* Animation de la description tronquée */
.animal-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}



/* Filtres par catégorie */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #3caf74;
    color: #3caf74;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-tab:hover {
    background: #e8f5e9;
    transform: translateY(-2px);
}

.filter-tab.active {
    background: linear-gradient(135deg, #3caf74 0%, #8fe6a2 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(60, 175, 116, 0.3);
}

/* Catégories d'animaux */
.animal-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 2em;
    color: #333;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #3caf74;
}

.category-icon {
    font-size: 1.5em;
    background: linear-gradient(135deg, #3caf74 0%, #8fe6a2 100%);
    padding: 0.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.no-animals {
    text-align: center;
    padding: 3rem;
    color: #999;
    font-size: 1.1em;
}

.no-animals p {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border: 2px dashed #ddd;
}

/* Animation d'apparition des catégories */
.animal-category {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.animal-category:nth-child(1) {
    animation-delay: 0.1s;
}

.animal-category:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .filter-tabs {
        flex-direction: column;
    }
    
    .filter-tab {
        width: 100%;
    }
    
    .category-title {
        font-size: 1.5em;
    }
}


.more-tags {
    background: #e0e0e0 !important;
    color: #666 !important;
    font-weight: 600;
}


/* Modal - Layout horizontal */
.animal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.animal-modal.show {
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    z-index: 10000;
    display: grid;
    grid-template-columns: 50% 50%; /* 50% image, 50% infos */
}

/* Bouton fermer */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.8em;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: rotate(90deg);
}

/* IMAGE À GAUCHE - Toute la hauteur */
.modal-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: #f0f0f0;
}

.modal-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Boutons de navigation */
.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 2em;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
    z-index: 10;
}

.modal-nav-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.modal-nav-prev {
    left: 10px;
}

.modal-nav-next {
    right: 10px;
}

/* Compteur d'images */
.modal-image-counter {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    z-index: 10;
}

/* Indicateurs (dots) */
.modal-image-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.modal-image-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.modal-image-dots .dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.modal-image-dots .dot.active {
    background: white;
    transform: scale(1.3);
}

/* INFOS À DROITE */
.modal-info {
    padding: 2.5rem;
    overflow-y: auto;
    background: white;
}

.modal-title {
    font-size: 2.5em;
    margin-bottom: 0.5rem;
    color: #333;
}

.modal-details {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 1rem;
}

.animal-badge-modal {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    margin-right: 0.5rem;
    margin-bottom: 1rem;
}

.modal-section {
    margin-top: 1.5rem;
}

.modal-section h3 {
    font-size: 1.3em;
    margin-bottom: 0.8rem;
    color: #3caf74;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-description {
    color: #555;
    line-height: 1.6;
    font-size: 1.05em;
}

.animal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: #e8f5e9;
    color: #3caf74;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-adopt {
    flex: 1;
    padding: 1rem;
    background: linear-gradient(135deg, #3caf74 0%, #8fe6a2 100%);
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s;
}

.btn-adopt:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(60, 175, 116, 0.4);
}

.btn-contact {
    flex: 1;
    padding: 1rem;
    background: #f8f9fa;
    color: #333;
    border: 2px solid #3caf74;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-contact:hover {
    background: #e8f5e9;
    transform: translateY(-2px);
}

/* Responsive - Sur mobile, revenir en vertical */
@media (max-width: 968px) {
    .modal-content {
        grid-template-columns: 1fr;
        grid-template-rows: 50% 50%;
        width: 95%;
        height: 95vh;
    }

    .modal-info {
        padding: 1.5rem;
    }

    .modal-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .modal-content {
        width: 100%;
        height: 100vh;
        border-radius: 0;
        grid-template-rows: 40% 60%;
    }

    .modal-nav-btn {
        padding: 0.8rem 1rem;
        font-size: 1.5em;
    }

    .modal-image-counter {
        font-size: 0.8em;
        padding: 0.4rem 0.8rem;
    }

    .modal-actions {
        flex-direction: column;
    }
}