/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2e7d32;
    --primary-dark: #1b5e20;
    --primary-light: #4caf50;
    --secondary-color: #ff9800;
    --text-dark: #333;
    --text-light: #666;
    --background-light: #f9f9f9;
    --white: #fff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
    width: auto;
}

.logo-container h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

nav a:hover {
    color: var(--primary-color);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

/* Section Hero */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/hero-bg.jpg') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    margin-top: 80px;
}

.hero-overlay {
    width: 100%;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.feature i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--text-dark);
    transform: translateY(-3px);
}

/* Sections générales */
section {
    padding: 80px 0;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary-dark);
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Section Présentation */
.presentation {
    background-color: var(--background-light);
}

.presentation-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.text-content p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.mission, .vision {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.mission h3, .vision h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.mission h3 i, .vision h3 i {
    color: var(--secondary-color);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat {
    text-align: center;
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(20px);
}

.stat.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.image-content img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Section Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.service-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
    background-color: var(--primary-color);
    color: var(--white);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.service-card h3 {
    padding: 20px 20px 10px;
    color: var(--primary-dark);
}

.service-card p {
    padding: 0 20px 15px;
    color: var(--text-light);
}

.service-card ul {
    padding: 0 20px 20px;
    list-style-type: none;
}

.service-card ul li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.activite-image {
    padding: 0 20px 20px;
}

.activite-image img {
    width: 100%;
    border-radius: 5px;
}

/* Section Commentaires */
.commentaires {
    background-color: var(--background-light);
}

.commentaires-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.commentaires-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.commentaire {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(20px);
}

.commentaire.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.rating {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.commentaire-text {
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.6;
}

.commentaire-auteur {
    font-weight: 600;
    color: var(--primary-dark);
}

.commentaire-date {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 5px;
}

.ajouter-commentaire {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.ajouter-commentaire h3 {
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
}

.rating-input {
    display: flex;
    gap: 5px;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.rating-input input {
    display: none;
}

.rating-input label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #ddd;
    transition: var(--transition);
    margin-bottom: 0;
}

.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label {
    color: var(--secondary-color);
}

/* Section Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3,
.contact-form h3 {
    margin-bottom: 25px;
    color: var(--primary-dark);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: 3px;
}

.horaires,
.urgence {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.horaires h4,
.urgence h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.horaires h4 i,
.urgence h4 i {
    color: var(--secondary-color);
}

.horaire-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.urgence-phone {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 10px;
}

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Footer - Design amélioré */
footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a4a1c 100%);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-light));
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

/* Section Logo et Description */
.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo .logo {
    height: 70px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-logo h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--white);
}

.footer-logo p {
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

/* Liens sociaux améliorés */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-links a:hover::before {
    left: 100%;
}

.social-links a:hover {
    background: var(--primary-light);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-links a i {
    font-size: 1.2rem;
    z-index: 1;
}

/* Liens de footer améliorés */
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-section {
    padding: 0 10px;
}

.footer-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--white);
    position: relative;
    padding-bottom: 12px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.footer-section ul li:hover {
    transform: translateX(5px);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
    border-bottom: 1px solid transparent;
}

.footer-section ul li a:hover {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.3);
    padding-left: 8px;
}

.footer-section.contact-info ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    padding: 8px 0;
}

.footer-section.contact-info ul li i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 2px;
    min-width: 20px;
}

.footer-section.contact-info ul li span {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

/* Section bas du footer */
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--secondary-color);
}

/* Badge de certification */
.certification-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.certification-badge i {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .presentation-content,
    .commentaires-container,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-logo {
        text-align: center;
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    footer {
        padding: 50px 0 20px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-section ul li a:hover {
        padding-left: 0;
        border-bottom-color: transparent;
    }
    
    .footer-section.contact-info ul li {
        justify-content: center;
        text-align: center;
    }
    
    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 60px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-logo h3 {
        font-size: 1.5rem;
    }
    
    .footer-logo .logo {
        height: 60px;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
    }
    
    .social-links a i {
        font-size: 1.1rem;
    }
}

/* Animation d'apparition */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section {
    animation: fadeInUp 0.6s ease forwards;
}

/* Footer - Section Logo et Description */
.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo .logo {
    height: 150px; /* Logo très visible */
    width: auto;
    max-width: 250px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    object-fit: contain;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }



