/* Bouton de menu mobile */
.mobile-menu-btn {
    display: none; /* Cach� par d�faut */
    background: none;
    border: none;
    padding: 15px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    margin-left: auto;
}

.menu-icon {
    display: block;
    width: 24px;
    height: 18px;
    position: relative;
}

.menu-icon .bar {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-icon .bar:nth-child(1) {
    top: 0;
}

.menu-icon .bar:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.menu-icon .bar:nth-child(3) {
    bottom: 0;
}

.mobile-menu-btn[aria-expanded="true"] .menu-icon .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] .menu-icon .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-btn[aria-expanded="true"] .menu-icon .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Styles pour le menu mobile */
@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block; /* Afficher uniquement sur mobile */
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 1000;
        padding: 80px 30px 40px;
        overflow-y: auto;
        transition: left 0.3s ease-in-out;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }
    
    .main-nav > ul > li {
        width: 100%;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .main-nav a {
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
        color: var(--text-color) !important;
        text-transform: none;
        letter-spacing: normal;
    }
    
    .main-nav a:after {
        display: none;
    }
    
    /* Ajustements pour le menu actif */
    body.menu-open {
        overflow: hidden;
    }
}

/* Variables */
:root {
    /* Couleurs */
    --primary-color: #09357B;  /* Bleu principal */
    --secondary-color: #E2007A;  /* Rose pour les éléments d'accentuation */
    --accent-color: #3498db;  /* Bleu clair pour les éléments secondaires */
    --light-gray: #f9f9f9;  /* Fond gris clair */
    --dark-gray: #555;  /* Texte gris foncé */
    --white: #ffffff;  /* Blanc */
    --box-shadow: 0 5px 15px rgba(0,0,0,0.1);  /* Ombre portée */
    --transition: all 0.3s ease;  /* Transition par défaut */
    --border-radius: 8px;  /* Rayon des coins arrondis */
    --accent-color: #fecc00;  /* Jaune pour les éléments secondaires */
    --light-color: #f8f9fa;   /* Fond clair */
    --dark-color: #06224D;    /* Bleu plus foncé pour le header et footer */
    --text-color: #333;       /* Couleur de texte principale */
    --text-light: #666;       /* Texte secondaire plus clair */
    
    /* Dimensions */
    --header-height: 80px;
    --header-height-mobile: 60px;
    --container-padding: 20px;
    --section-padding: 60px 0;
    
    /* Autres */
    --border-radius: 4px;     /* Rayon des coins arrondis */
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);  /* Ombre légère */
    --transition: all 0.3s ease;  /* Transition fluide */
}

/* Styles spécifiques à la page familles */
.max-width-800 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Bannière */
.page-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), var(--banner-image) center/cover no-repeat;
    color: #09357B;
    padding-top: 200px;
    text-align: center;
    position: relative;
}

.page-banner h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 15px;
    /*text-shadow: 2px 2px 4px rgba(0,0,0,0.5);*/
    line-height: 1.2;
}

.banner-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
    /*text-shadow: 1px 1px 2px rgba(0,0,0,0.5);*/
}

/* Sections */
.section {
    padding: 80px 0;
    position: relative;
}

.section-title-contact {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-top: 60px;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

/* Contenu */
.content-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
}

.content-text {
    flex: 1;
}

.content-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Boutons */
.cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Grille de fonctionnalités */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 40px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(44, 62, 80, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary-color);
    color: var(--white);
}

.feature-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Liste personnalisée */
.custom-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.custom-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--dark-gray);
    line-height: 1.6;
}

.custom-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

#deuil {
    background: url(../images/fond-ntpn.jpg) no-repeat center center / cover;
    min-height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding: 120px 0 80px;
    position: relative;
    /*margin-top: var(--header-height);*/
}

/* Témoignage */
.testimonial {
    background: var(--light-gray);
    padding: 30px;
    border-radius: var(--border-radius);
    margin: 40px 0;
    position: relative;
    border-left: 4px solid var(--secondary-color);
}

.testimonial:before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 60px;
    color: var(--secondary-color);
    position: absolute;
    left: 15px;
    top: 10px;
    opacity: 0.3;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 15px;
    display: block;
}

/* Grille des ressources */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.link-card {
    display: flex;
    align-items: flex-start;
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid #eee;
    height: 100%;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.link-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 20px;
    min-width: 40px;
    text-align: center;
}

.link-card h3 {
    margin: 0 0 8px 0;
    font-size: 1.3rem;
    color: var(--secondary-color);
}

.link-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--dark-gray);
    line-height: 1.5;
}

/* Formulaire de contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: fit-content;
}

.contact-info h2 {
    text-align: left;
    margin-bottom: 25px;
    font-size: 2rem;
}

.contact-info h2:after {
    left: 0;
    transform: none;
}

.contact-method {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
    min-width: 25px;
}

.contact-method h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.contact-method p, .contact-method a {
    margin: 0;
    color: var(--dark-gray);
    text-decoration: none;
    transition: var(--transition);
}

.contact-method a:hover {
    color: var(--primary-color);
}

.small-text {
    font-size: 0.85rem;
    color: #888 !important;
    margin-top: 5px !important;
}

/* Formulaire */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form h3 {
    margin-top: 0;
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(9, 53, 123, 0.2);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
}

.form-group.checkbox input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 5px;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

button[type="submit"] {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

button[type="submit"]:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(226, 0, 122, 0.3);
}

button[type="submit"] i {
    margin-right: 10px;
}

/* Bouton retour en haut */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* Styles responsifs */
@media (max-width: 1200px) {
    :root {
        --container-padding: 30px;
    }
}

@media (max-width: 992px) {
    :root {
        --header-height: 70px;
        --section-padding: 50px 0;
    }
    
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
        --section-padding: 30px 0;
        --container-padding: 15px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.8rem !important;
        margin-bottom: 30px !important;
    }
    
    .section {
        padding: var(--section-padding) !important;
    }
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    font-size: 16px;
    font-weight: 400;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    line-height: 1.5;
    white-space: nowrap;
}

/* Boutons sur mobile */
@media (max-width: 768px) {
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .btn i {
        margin-right: 5px;
    }
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #072a63;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(9, 53, 123, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #c90068;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(226, 0, 122, 0.3);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.btn-accent:hover {
    background-color: #e6b800;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(254, 204, 0, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Bouton plus d'infos */
.btn-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 5px;
    margin-top: 15px;
}

.btn-more:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.btn-more:hover:after {
    transform: scaleX(0);
    transform-origin: left;
}

/* Conteneur des liens du header */
.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Boutons du header */
.header-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    
    @media (max-width: 992px) {
        display: none;
    }
    
    @media (min-width: 993px) and (max-width: 1200px) {
        gap: 8px;
    }
}

.header-links a {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    
    @media (min-width: 993px) and (max-width: 1200px) {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    transition: all 0.3s ease;
    white-space: nowrap;
}

.header-links a i {
    margin-right: 8px;
    font-size: 0.9em;
}

.header-links a.btn-download {
    background-color: var(--primary-color);
    color: white;
}

.header-links a.btn-contact {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.header-links a.btn-donate {
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 600;
}

.header-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-links a.btn-contact:hover {
    background-color: var(--primary-color);
    color: white;
}

.header-links a.btn-donate:hover {
    background-color: #e6b800;
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .header-links {
        display: none;
    }
}

@media (max-width: 576px) {
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

.btn:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.btn:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Conteneur parent du bouton btn-more */
.section > .container,
.hero > .container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-more {
    display: inline-block;
    padding: 14px 35px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin: 30px 0 0;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
}

.btn-more:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.btn-more:hover {
    background-color: transparent;
    color: white;
    box-shadow: 0 5px 20px rgba(226, 0, 122, 0.3);
    transform: translateY(-3px);
}

.btn-more:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-more:hover i {
    transform: translateX(5px);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: white;
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* En-tête */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-top {
    background-color: var(--primary-color);
    padding: 10px 0;
    font-size: 0.9rem;
    border-bottom: 2px solid var(--accent-color);
}

.header-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 3px;
    transition: var(--transition);
}

.header-links a.btn-download {
    background-color: var(--secondary-color);
    color: white;
}

.header-links a.btn-download:hover {
    background-color: #b3005e;
    color: white;
}

.header-links a.btn-contact {
    color: white;
    border: 1px solid white;
}

.header-links a.btn-contact:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.header-links a.btn-donate {
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 600;
}

.header-links a.btn-donate:hover {
    background-color: #e6b800;
    color: var(--primary-color);
}

.header-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.header-links a {
    color: white;
    font-weight: 500;
}

.header-links a:hover {
    color: #ecf0f1;
}

.header-main {
    padding: 10px 0;
    background-color: white;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    border-radius: 20%;
}

.header-links a i {
    margin-right: 5px;
}

.header-links a span {
    font-weight: 600;
}

.header-links a:hover {
    color: var(--primary-color);
}

.header-links a:hover i {
    color: var(--primary-color);
}

.header-links a:hover span {
    color: var(--primary-color);
}



/* Navigation principale */
.main-nav ul {
    display: flex;
    gap: 25px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Style pour les écrans mobiles */
@media (max-width: 992px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease-in-out;
        z-index: 1000;
        padding: 80px 30px 40px;
        overflow-y: auto;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav > ul > li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .main-nav a {
        display: block;
        padding: 15px 0;
        font-size: 1rem;
        color: var(--dark-color);
    }
    
    /* Style pour les sous-menus sur mobile */
    .has-submenu {
        position: relative;
    }
    
    .submenu {
        display: none;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 20px;
        background: rgba(0, 0, 0, 0.02);
        margin: 5px 0 10px;
    }
    
    .submenu.active {
        display: block;
    }
    
    .submenu a {
        padding: 12px 0 !important;
        font-size: 0.95rem !important;
    }
    
    /* Bouton pour ouvrir/fermer les sous-menus */
    .submenu-toggle {
        position: absolute;
        right: 0;
        top: 0;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        color: var(--primary-color);
        font-size: 1.2rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .submenu-toggle:hover {
        color: var(--secondary-color);
    }
    
    .submenu-toggle:after {
        content: '+';
        font-size: 1.5rem;
        transition: transform 0.3s ease;
    }
    
    .has-submenu.active > .submenu-toggle:after {
        content: '-';
    }
    
    /* Masquer la flèche des sous-menus sur mobile */
    .has-submenu > a > .fa-chevron-down {
        display: none;
    }
    
    /* Animation pour le menu */
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    /* Bouton de menu mobile */
   .mobile-menu-btn {
       display: none; /* Cach� par d�faut */
       background: none;
       border: none;
       padding: 15px;
       cursor: pointer;
       position: relative;
       z-index: 1001;
       margin-left: auto;
   }
   
   .menu-icon {
       display: block;
       width: 24px;
       height: 18px;
       position: relative;
   }
   
   .menu-icon .bar {
       display: block;
       position: absolute;
       width: 100%;
       height: 2px;
       background: var(--primary-color);
       border-radius: 2px;
       transition: all 0.3s ease;
   }
   
   .menu-icon .bar:nth-child(1) {
       top: 0;
   }
   
   .menu-icon .bar:nth-child(2) {
       top: 50%;
       transform: translateY(-50%);
       opacity: 1;
   }
   
   .menu-icon .bar:nth-child(3) {
       bottom: 0;
   }
   
   .mobile-menu-btn[aria-expanded="true"] .menu-icon .bar:nth-child(1) {
       transform: translateY(8px) rotate(45deg);
   }
   
   .mobile-menu-btn[aria-expanded="true"] .menu-icon .bar:nth-child(2) {
       opacity: 0;
       transform: translateX(20px);
   }
   
   .mobile-menu-btn[aria-expanded="true"] .menu-icon .bar:nth-child(3) {
       transform: translateY(-8px) rotate(-45deg);
   }
    
    .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
}

.main-nav a {
    font-weight: 500;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative;
    padding: 5px 0;
}

.main-nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.main-nav a:hover:after,
.main-nav a.active:after {
    width: 100%;
}

.main-nav a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}


.main-nav a:hover:after,
.main-nav a.active:after {
    width: 100%;
}

/* Sous-menu */
.has-submenu {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 10;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    padding: 0;
}

.submenu a {
    display: block;
    padding: 8px 20px;
    color: var(--dark-color);
}

.submenu a:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

/* Bannière principale */
.hero {
    background: linear-gradient(rgba(9, 53, 123, 0.8), rgba(9, 53, 123, 0.6)), url('../images/lepetitprince.png') no-repeat center center/cover;
    min-height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding: 120px 0 80px;
    position: relative;
    margin-top: var(--header-height);
}

@media (max-width: 992px) {
    .hero {
        min-height: 50vh;
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.2rem !important;
        line-height: 1.3;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 40vh;
        padding: 80px 0 50px;
    }
    
    .hero h1 {
        font-size: 1.8rem !important;
        margin-bottom: 15px !important;
    }
    
    .hero p {
        font-size: 1.1rem !important;
    }
}

.hero:before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 100px;
    background-size: 100% 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 25px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.quote-author {
    font-style: italic;
    font-size: 1.4rem;
    color: var(--accent-color);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section.bg-light {
    background-color: #f8f9fa;
}

.section.bg-pattern {
    background-color: #f8f9fa;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23e5e5e5' fill-opacity='0.5' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 20px;
    font-weight: 600;
}

.section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}

.section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--text-color);
}

.section .container > p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Cartes de mission */
.missions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.mission-card {
    background: white;
    border-radius: 10px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.mission-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--secondary-color);
    transition: height 0.3s ease;
    z-index: -1;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.mission-card:hover:before {
    height: 100%;
    opacity: 0.05;
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: rgba(226, 0, 122, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--secondary-color);
    font-size: 30px;
    transition: all 0.3s ease;
}

.mission-card:hover .mission-icon {
    background: var(--secondary-color);
    color: white;
    transform: scale(1.1);
}

.mission-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.mission-card h4 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.mission-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* Formulaire de contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin-top: 50px;
    align-items: start;
}

/* Styles spécifiques pour les écrans larges */
@media (min-width: 992px) {
    .contact-info {
        padding-right: 30px;
    }
    
    .contact-form {
        position: relative;
        top: -30px; /* Légèrement décalé vers le haut pour l'alignement visuel */
    }
}

/* Correction pour le formulaire de contact */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

/* Styles pour les icônes des réseaux sociaux dans le header */
.header-sociaux {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: 20px;
}

.header-sociaux a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.header-sociaux a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.header-sociaux i {
    margin: 0;
}

/* Ajustements pour les écrans mobiles */
@media (max-width: 768px) {
    .header-top .container {
        justify-content: center;
        padding: 10px 0;
    }

    .header-links {
        margin: 10px 0 0 0;
        width: 100%;
        justify-content: center;
    }
    
    .header-sociaux {
        margin: 10px 0 0 0;
        width: 100%;
        justify-content: center;
    }
}

.contact-form h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.contact-info h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.contact-info p {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    color: var(--text-color);
    line-height: 1.7;
}

.contact-info i {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 1.2rem;
    margin-top: 4px;
    min-width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(226, 0, 122, 0.3);
    transform: translateY(-3px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(9, 53, 123, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(142, 68, 173, 0.2);
}

.btn-submit {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(226, 0, 122, 0.3);
}

.btn-submit:hover {
    background-color: var(--secondary-color);
}

/* Pied de page */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 992px) {
    .footer {
        padding: 60px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 40px 30px !important;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 50px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .footer h4 {
        margin-top: 20px;
        margin-bottom: 15px !important;
    }
    
    .footer-logo img {

        margin-bottom: 15px !important;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .legal-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 20px;
    }
}

.footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 70px;
}

.footer-logo img {
    width: 150px;
    object-fit: contain;
    object-position: center;
    margin-bottom: 25px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.footer h4 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 600;
}

.footer h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 20px;
    display: inline-block;
    text-decoration: none;
}

.footer-links a:before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    transition: transform 0.3s ease;
    font-weight: bold;
}

.footer-links a:hover {
    color: white;
    padding-left: 25px;
}

.footer-links a:hover:before {
    transform: translateX(5px);
}

.footer-contact p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--accent-color);
    margin-right: 15px;
    font-size: 1.1rem;
    margin-top: 5px;
    min-width: 20px;
}

.footer-social {
    margin-top: 30px;
}

.footer-social .social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    text-decoration: none;
}

.footer-social .social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(254, 204, 0, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.legal-links {
    display: flex;
    gap: 25px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
    text-decoration: none;
    position: relative;
}

.legal-links a:not(:last-child):after {
    content: '|';
    position: absolute;
    right: -15px;
    color: rgba(255, 255, 255, 0.3);
}

.legal-links a:hover {
    color: white;
    text-decoration: underline;
}

/* Bouton de retour en haut */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Styles responsifs */
@media (max-width: 992px) {
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 1000;
        padding: 80px 30px 40px;
        overflow-y: auto;
        transition: left 0.3s ease-in-out;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .main-nav.active {
        left: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .main-nav > ul > li {
        width: 100%;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .main-nav a {
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
        color: var(--text-color) !important;
        text-transform: none;
        letter-spacing: normal;
    }
    
    .main-nav a:after {
        display: none;
    }
    
    /* Ajustements pour le menu actif */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Ajuster la hauteur du header */
    .header {
        /*padding: 15px 0;*/
        position: relative;
        z-index: 1002;
    }

    .has-submenu .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 10px 0 0 20px;
        display: none;
    }

    .has-submenu.active .submenu {
        display: block;
    }

    .mobile-menu-btn {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .header-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    /*.hero {
        height: 60vh;
        margin-top: 100px;
    }*/

    .section {
        padding: 60px 0;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .legal-links {
        margin-top: 10px;
    }
}

/* Points de rupture généraux */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
   
    .header-main .container {
        padding: 15px 20px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .back-to-top {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.1rem !important;
        bottom: 20px !important;
        right: 20px !important;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .hero h1 {
        font-size: 1.8rem !important;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 1.1rem !important;
        margin-bottom: 25px !important;
    }
    
    .mission-card {
        padding: 20px !important;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .footer-social .social-links {
        justify-content: center;
    }
}

/* Section Partenaires */
#partenaires {
    position: relative;
    overflow: hidden;
    background-color: #f9fafc;
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Styles pour la ligne des partenaires avec défilement automatique */
.partenaires-carousel {
    margin: 3rem 0;
    display: flex;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.partenaires-carousel-container {
    display: flex;
    animation: scroll 30s linear infinite;
    will-change: transform;
    min-width: 100%;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-150px * 10)); /* Ajustez en fonction du nombre de logos */
    }
}

.partenaire-slide {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    transition: transform 0.3s ease;
}

.partenaires-carousel img {
    max-width: 120px;
    height: auto;
    max-height: 70px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partenaires-carousel img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.partenaire-slide {
    background: white;
    border-radius: 8px;
    padding: 30px 20px;
    margin: 0 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 200px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.partenaire-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.partenaire-slide img {
    max-width: 100%;
    max-height: 140px;
    width: auto;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Flèches de navigation */
.slick-prev,
.slick-next {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.slick-prev:before,
.slick-next:before {
    color: var(--primary-color);
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 18px;
    opacity: 1;
}

.slick-prev {
    left: -20px;
}

.slick-next {
    right: -20px;
}

.slick-prev:before {
    content: '\f053';
}

.slick-next:before {
    content: '\f054';
}

.slick-prev:hover,
.slick-next:hover {
    background: var(--primary-color);
}

.slick-prev:hover:before,
.slick-next:hover:before {
    color: white;
}

/* Points de navigation */
.slick-dots {
    bottom: -40px;
}

.slick-dots li button:before {
    font-size: 10px;
    color: var(--primary-color);
    opacity: 0.3;
}

.slick-dots li.slick-active button:before {
    color: var(--primary-color);
    opacity: 1;
}

/* CTA sous le carrousel */
.partenaires-cta {
    text-align: center;
    margin-top: 5rem;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.partenaires-cta p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

/* Responsive */
@media (max-width: 1200px) {
    .partenaire-slide {
        height: 180px;
        padding: 25px 15px;
    }
    
    .partenaire-slide img {
        max-height: 130px;
    }
}

@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        max-width: 600px;
    }
    
    .partenaire-slide {
        height: 160px;
    }
    
    .partenaire-slide img {
        max-height: 120px;
    }
    
    .slick-prev {
        left: -15px;
    }
    
    .slick-next {
        right: -15px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .partenaire-slide {
        height: 140px;
        padding: 20px 10px;
        margin: 0 5px;
    }
    
    .partenaire-slide img {
        max-height: 100px;
    }
    
    .slick-prev,
    .slick-next {
        width: 35px;
        height: 35px;
    }
    
    .slick-prev:before,
    .slick-next:before {
        font-size: 16px;
    }
    
    .partenaires-cta {
        margin-top: 4rem;
        padding: 1.5rem;
    }
    
    .partenaires-cta p {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }
}

@media (max-width: 576px) {
    .partenaire-slide {
        height: 120px;
    }
    
    .partenaire-slide img {
        max-height: 80px;
    }
    
    .slick-prev,
    .slick-next {
        width: 30px;
        height: 30px;
    }
    
    .slick-prev:before,
    .slick-next:before {
        font-size: 14px;
    }
    
    .slick-prev {
        left: -10px;
    }
    
    .slick-next {
        right: -10px;
    }
    
    .partenaires-cta {
        margin-top: 3rem;
        padding: 1.2rem;
    }
    
    .partenaires-cta p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}


