/* Typographie */
body {
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    background-color: #F9F9F9;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3 {
    color: #007B8A;
}

a {
    color: #005F73;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

.card a.stretched-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Barre de navigation */
.navbar {
    background-color: white;
    border-bottom: 1px solid #ddd;
}

.navbar-brand {
    font-weight: bold;
    color: #007B8A;
}

.navbar-nav .nav-link {
    color: #333;
    padding: 0.75rem 1rem;
}

    .navbar-nav .nav-link:hover {
        color: #00A859;
    }


.nav-link.active {
    font-weight: bold;
    color: #198754 !important; /* vert Bootstrap ou votre couleur */
    border-bottom: 2px solid #198754;
}
/* Boutons */
.btn-primary {
    background-color: #007B8A;
    border-color: #007B8A;
}

    .btn-primary:hover {
        background-color: #005F73;
        border-color: #005F73;
    }

/* Pied de page */
.footer {
    background-color: #007B8A;
    color: white;
    padding: 20px 0;
    text-align: center;
}

/* Section de contenu */
.section-title {
    margin: 40px 0 20px;
    color: #007B8A;
    text-align: center;
}
/*
.hero {
    background: linear-gradient(120deg, #007B8A, #00A859);
    color: white;
    padding: 80px 0;
    text-align: center;
}
*/
.bg-overlay {
    background-color: rgba(0, 0, 0, 0.5); /* noir avec opacité 50% */
    padding: 1rem;
    border-radius: 0.5rem;
}

#notre-approche {
    background-color: #000; /* Fond noir profond */
    color: #fff; /* Texte blanc par défaut */
}

    #notre-approche h2.section-title {
        color: #fff;
        font-weight: bold;
    }

    #notre-approche ul li i {
        font-size: 1.2rem;
        vertical-align: middle;
    }

.approche-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.approche-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1.2;
    margin-top: 0.3rem;
}

.approche-text {
    flex: 1;
    line-height: 1.6;
}

/* Superposition avec fond noir transparent */
.animated-overlay {
    background-color: rgba(0, 0, 0, 0.55);
    border-radius: 0.5rem;
    padding: 1rem;
    max-width: 90%;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Taille de texte adaptée aux petits écrans */
@media (max-width: 767.98px) {
    .carousel-caption h2 {
        font-size: 1.2rem;
    }

    .carousel-caption p {
        font-size: 0.95rem;
    }
}

.modal-backdrop.show {
    backdrop-filter: blur(5px); /* Flou */
    background-color: rgba(0, 0, 0, 0.4); /* Assombrissement */
}
@keyframes scroll-logos {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.animate-scroll {
    animation: scroll-logos 30s linear infinite;
}

.card.text-decoration-none {
    cursor: pointer;
}

/* Styles pour le Modal */
.modal-fete-titre {
    color: #007B8A;
    font-weight: bold;
    margin-bottom: 1rem;
}

.modal-rss-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

    .modal-rss-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .modal-rss-item a {
        color: #005F73;
        text-decoration: none;
    }

        .modal-rss-item a:hover {
            text-decoration: underline;
        }

    .modal-rss-item .pub-date {
        color: #6c757d; /* Couleur Bootstrap pour le texte muted */
        font-size: 0.85rem;
    }

    .modal-rss-item .summary {
        margin-top: 0.5rem;
    }