* Reset et styles de base */ * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Public Sans', sans-serif;
    background-color: #f6f7f8;
    color: #333;
    line-height: 1.6;
}

/* === Header === */
.header {
    position: sticky;
    top: 0;
    background: white;
    border-bottom: 1px solid #ddd;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 101;
}

.logo img {
    height: 40px;
    width: 40px;
    border-radius: 5px;
    background: #0d9d6e;
}

.logo h2 {
    font-size: 1.2rem;
    margin: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #0d9d6e;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 28px;
    z-index: 101;
}

/* === Hero === */
.hero {
    border-radius: 20px;
    margin: 20px;
    min-height: 400px;
    height: 480px;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 40px 20px;
}

.hero-content h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 15px;
}

.hero-content p {
    margin: 10px auto 20px;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    max-width: 600px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background-color: #0d9d6e;
    color: #ffffff;
    border: 2px solid #0d9d6e;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #0a7a56;
    transform: translateY(-2px);
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(4px);
}

/* === About Section === */
.about-section {
    padding: 60px 20px;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
    color: #555;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 30px 25px;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background-color: #d4f4e8;
    color: #0d9d6e;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.card-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
}

.cta-wrapper {
    text-align: center;
    margin-top: 40px;
}

/* === Actualités Section === */
.actualites-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 20px;
    flex-wrap: wrap;
}

.header-left {
    flex: 1;
    min-width: 250px;
}

.section-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: #555;
    font-weight: 400;
}

.btn-voir-tout {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: transparent;
    color: #0d9d6e;
    border: 2px solid #0d9d6e;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-voir-tout:hover {
    background-color: #0d9d6e;
    color: #ffffff;
}

.btn-voir-tout svg {
    transition: transform 0.3s ease;
}

.btn-voir-tout:hover svg {
    transform: translateX(4px);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.actualite-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.actualite-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #e0e0e0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.actualite-card:hover .card-image img {
    transform: scale(1.05);
}

.category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    background-color: #0d9d6e;
}

.card-content {
    padding: 20px;
}

.card-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 12px;
}

.card-description {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0d9d6e;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.card-link:hover {
    color: #0a7a56;
    gap: 10px;
}

.card-link svg {
    transition: transform 0.3s ease;
}

.card-link:hover svg {
    transform: translateX(4px);
}




/* === CTA Section === */
.cta-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #0d9d6e 0%, #0a7a56 100%);
}

.cta-content {
    text-align: center;
    padding: 40px 20px;
}

.cta-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.cta-description {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.7;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-primary:hover {
    background-color: #ffffff;
    color: #0d9d6e;
    transform: translateY(-2px);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: scale(1.1);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #0d9d6e;
    transform: translateY(-2px);
}

/* === Footer === */
.footer {
    background-color: #1a2332;
    color: #ffffff;
    padding-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.logo-wrapper {
    width: 50px;
    height: 50px;
    background-color: #0d9d6e;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
}

.footer-description {
    font-size: 0.95rem;
    color: #a8b3c1;
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #0d9d6e;
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #a8b3c1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #0d9d6e;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #a8b3c1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #0d9d6e;
}

.newsletter {
    margin-top: 24px;
}

.newsletter-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: #7d8a9a;
}

.newsletter-input:focus {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: #0d9d6e;
}

.newsletter-btn {
    padding: 12px 24px;
    background-color: #0d9d6e;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background-color: #0a7a56;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #7d8a9a;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: #7d8a9a;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #0d9d6e;
}

/* ========================================= */
/* === RESPONSIVE MEDIA QUERIES === */
/* ========================================= */

/* Tablets et petits écrans (992px et moins) */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        align-items: flex-start;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        height: 400px;
        margin: 15px;
        border-radius: 15px;
    }

    .cards-container,
    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .footer-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
}

/* Mobile (768px et moins) */
@media (max-width: 768px) {
    .nav-container {
        padding: 12px 15px;
    }

    .logo h2 {
        font-size: 1rem;
    }

    .hero {
        height: 350px;
        margin: 10px;
        padding: 30px 15px;
    }

    .about-section,
    .actualites-section,
    .cta-section {
        padding: 40px 15px;
    }

    .cards-container,
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .header-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-right {
        width: 100%;
    }

    .btn-voir-tout {
        font-size: 0.9rem;
        padding: 10px 20px;
        width: 100%;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-btn {
        width: 100%;
    }

    .card {
        padding: 25px 20px;
    }

    .card-content {
        padding: 18px;
    }
}

/* Très petits mobiles (480px et moins) */
@media (max-width: 480px) {
    .logo img {
        height: 35px;
        width: 35px;
    }

    .logo h2 {
        font-size: 0.95rem;
    }

    .hero {
        height: 300px;
        border-radius: 10px;
        margin: 8px;
    }

    .card,
    .actualite-card {
        padding: 20px 15px;
    }

    .card-content {
        padding: 16px;
    }

    .cta-button,
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .section-title {
        margin-bottom: 15px;
    }

    .section-description {
        margin-bottom: 30px;
    }

    .about-section,
    .actualites-section,
    .cta-section {
        padding: 35px 12px;
    }

    .footer {
        padding-top: 40px;
    }

    .footer-container {
        gap: 30px;
    }
}