:root {
    /* Couleurs principales */
    --primary-color: #1b013c;
    --secondary-color: #2d0068;
    --primary-gradient: linear-gradient(135deg, #1b013c, #2d0068);
    
    /* Couleurs de texte */
    --text-color: #000000;
    --white: #ffffff;
    --black: #000000;

    /* Couleurs dérivées pour effets futuristes */
    --primary-glow: rgba(27, 1, 60, 0.6);
    --secondary-glow: rgba(45, 0, 104, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 8px 32px 0 rgba(27, 1, 60, 0.3);

    /* Tailles de police */
    --font-size-xs: 0.9rem;   /* petits textes (dates, meta) */
    --font-size-s: 1rem;      /* paragraphes standards */
    --font-size-m: 1.2rem;    /* h4, titres de carte, boutons */
    --font-size-l: 1.5rem;    /* h3, titres de section */
    --font-size-xl: 2rem;     /* h2, titres de section */
    --font-size-xxl: 3rem;    /* h1, titres principaux */

    /* Transitions */
    --transition: all 0.3s ease;

    /* Variables pour les couleurs futuristes */
    --neon-purple: #9d4edd;
    --neon-blue: #4cc9f0;
    --neon-pink: #f72585;
}

/* Styles généraux */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main */
.main {
    background-color: var(--white);
}



/* Solutions Section */
.solutions-section {
    padding: 60px 20px;
    background-color: var(--white-color);
}

.solutions-section h2 {
    font-size: var(--font-size-xl);
    text-align: center;
    margin-bottom: 20px;
    color: var(--black-color);
}

.solutions-section > p {
    font-size: var(--font-size-s);
    color: var(--black-color);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.solution-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.solution-card h3 {
    font-size: var(--font-size-l);
    margin-bottom: 15px;
    color: var(--purple-color);
}

.solution-card p {
    font-size: var(--font-size-s);
    color: var(--black-color);
    line-height: 1.6;
}

.solution-arrow {
    width: 30px;
    height: 30px;
    background-color: var(--purple-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    text-decoration: none;
    margin-top: 20px;
}

.solution-arrow:hover {
    background-color: var(--purple-low);
}

.solution-arrow i {
    font-size: 1rem;
}

/* Media Queries pour Solutions Section */
@media (max-width: 967px) {
    .solutions-section {
        padding: 60px 0;
    }
    
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 40px;
    }
}

@media (max-width: 576px) {
    .solutions-section {
        padding: 40px 0;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }

    .solution-card {
        padding: 20px;
    }
}

/* Timeline Section */
.timeline-section {
    padding: 80px 0;
    background-color: var(--white-color);
}

.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--purple-color), var(--purple-low));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-content {
    width: 45%;
    padding: 30px;
    background: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 0, 104, 0.1), rgba(74, 0, 153, 0.1));
    border-radius: 15px;
    z-index: -1;
    transition: all 0.3s ease;
}

.timeline-content:hover::before {
    transform: scale(1.05);
    opacity: 0.8;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-content:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.timeline-icon {
    width: 70px;
    height: 70px;
    background: var(--purple-low);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white-color);
    font-size: 1.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(45, 0, 104, 0.2);
}

.timeline-content:hover .timeline-icon {
    transform: rotateY(360deg) scale(1.1);
    background: var(--purple-color);
    box-shadow: 0 8px 20px rgba(45, 0, 104, 0.3);
}

.timeline-content h3 {
    color: var(--purple-color);
    font-size: var(--font-size-l);
    margin-bottom: 15px;
    text-align: center;
    position: relative;
    font-weight: 600;
}

.timeline-content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--purple-color);
    transition: width 0.3s ease;
}

.timeline-content:hover h3::after {
    width: 100px;
}

.timeline-content p {
    color: var(--black-color);
    line-height: 1.8;
    text-align: center;
    font-size: var(--font-size-s);
    max-width: 90%;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .timeline::before {
        display: none;
    }

    .timeline-content {
        width: 100%;
        margin: 0 !important;
    }

    .timeline-item {
        transform: translateX(-30px);
    }

    .timeline-item.visible {
        transform: translateX(0);
    }
}

/* Pourquoi choisir Patrimoine Alliance */
.why-patrimoine {
    padding: 80px 20px;
    background-color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.why-patrimoine-content {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.why-patrimoine-text {
    flex: 1;
    min-width: 300px;
}

.why-patrimoine-text h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--purple-color);
    position: relative;
    display: inline-block;
}

.why-patrimoine-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--purple-color);
    border-radius: 2px;
}

.why-patrimoine-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: transparent;
    padding: 0;
    margin: 0;
    box-shadow: none;
    min-width: 300px;
    margin-top: 120px;
}

.why-patrimoine-image img {
    max-width: 100%;
    border-radius: 15px;
    display: block;
    margin: 0;
    padding: 0;
    background: transparent;
}

.why-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
    margin-top: 30px;
}

.why-card {
    background-color: var(--white-color);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.why-card.hidden {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    pointer-events: none;
}

.why-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: timelineAppear 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    pointer-events: auto;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.why-card:hover::before {
    height: 100%;
}

.why-card .card-icon {
    background-color: var(--purple-color);
    color: var(--white-color);
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateX(0);
}

.why-card.visible .card-icon {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.5s ease 0.2s;
}

.why-card:hover .card-icon {
    background-color: var(--purple-color);
    color: var(--white-color);
}

.card-content h3 {
    font-size: var(--font-size-l);
    margin: 0 0 10px;
    color: var(--black-color);
    opacity: 1;
    transform: translateX(0);
}

.card-content p {
    margin: 0;
    font-size: var(--font-size-s);
    color: var(--black-color);
    line-height: 1.6;
    opacity: 1;
    transform: translateX(0);
}

.why-card.visible .card-content h3,
.why-card.visible .card-content p {
    opacity: 1;
    transform: translateX(0);
}

/* Media Queries pour Why Patrimoine Section */
@media (max-width: 967px) {
    .why-patrimoine {
        padding: 60px 20px;
    }

    .why-patrimoine-content {
        flex-direction: column;
        gap: 40px;
    }

    .why-patrimoine-text {
        order: 1;
        width: 100%;
    }

    .why-patrimoine-text h2 {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 30px;
    }

    .why-patrimoine-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .why-patrimoine-image {
        order: 2;
        width: 100%;
        margin-top: 0;
    }

    .why-cards {
        order: 3;
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .why-patrimoine {
        padding: 40px 20px;
    }

    .why-patrimoine-text h2 {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .why-card {
        padding: 20px;
    }

    .card-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .card-content h3 {
        font-size: 1.1rem;
    }

    .card-content p {
        font-size: 0.9rem;
    }
}

/* Section Accompagnement */
.accompagnement-section {
    padding: 80px 0;
    background-color: var(--white-color);
}

.accompagnement-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.accompagnement-left {
    flex: 1;
}

.accompagnement-right {
    flex: 1;
    max-width: 400px;
    margin: 0 auto;
}

.accompagnement-right img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    max-height: 500px;
    object-fit: contain;
}

.accompagnement-section h2 {
    margin-bottom: 30px;
    color: var(--black-color);
    font-size: var(--font-size-xl);
    text-align: center;
}

.accompagnement-section > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--black-color);
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    border: 1px solid var(--purple-color);
    border-radius: 10px;
    overflow: hidden;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--white-color);
    cursor: pointer;
}

.accordion-header h3 {
    margin: 0;
    color: var(--black-color);
    font-size: var(--font-size-m);
}

.accordion-header i {
    color: var(--purple-color);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 20px;
    max-height: 500px;
}

@media (max-width: 768px) {
    .accompagnement-container {
        flex-direction: column;
    }
    
    .accompagnement-right {
        order: -1;
    }
}

/* Styles des titres de section */
.solutions-section h2,
.timeline-section h2,
.accompagnement-section h2,
.why-patrimoine-text h2 {
    font-size: var(--font-size-xl);
    text-align: center;
    margin-bottom: 20px;
    color: var(--black-color);
}

/* Section Accompagnement - Nouvelle version avec cartes */
.accompagnement-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.accompagnement-card {
    background: var(--white-color);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    z-index: 1;
}

.accompagnement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(45, 0, 104, 0.15);
}

.accompagnement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--purple-color), var(--purple-low));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 1;
}

.accompagnement-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: var(--purple-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 2.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(45, 0, 104, 0.2);
    position: relative;
    z-index: 20;
}

.accompagnement-card:hover .card-icon {
    transform: rotateY(360deg);
    background: var(--purple-low);
    box-shadow: 0 8px 20px rgba(45, 0, 104, 0.3);
}

.accompagnement-card h3 {
    color: var(--black-color);
    font-size: var(--font-size-l);
    margin-bottom: 15px;
    margin-top: 0;
}

.accompagnement-card p {
    color: var(--black-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.card-details {
    margin: 15px 0 0;
}

.card-details ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.card-details li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--black-color);
}

.card-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--purple-color);
}

.card-btn {
    background: transparent;
    border: 2px solid var(--purple-color);
    color: var(--purple-color);
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.card-btn:hover {
    background: var(--purple-color);
    color: var(--white-color);
}

@media (max-width: 992px) {
    .accompagnement-section.container {
        padding: 0 20px;
    }
    
    .accompagnement-cards {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .accompagnement-section.container {
        padding: 0 20px;
    }
    
    .accompagnement-cards {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
}

/* Section Partenaires */
.partners-section {
    padding: 100px 0;
    background: url('../img/index_6.png') no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.partners-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.partners-content {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.partners-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 0, 104, 0.05) 0%, rgba(27, 1, 60, 0.05) 100%);
    z-index: 1;
}

.partners-text {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.partners-text h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.partners-text p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 30px;
    line-height: 1.6;
}

.partners-section .btn-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.partner-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 0, 104, 0.05) 0%, rgba(27, 1, 60, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.partner-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 2rem;
    transition: all 0.4s ease;
}

.partner-card:hover .card-icon {
    transform: scale(1.1);
}

.partner-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.partner-card p {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .partners-section {
        padding: 80px 0;
    }

    .partners-content {
        padding: 40px;
    }

    .partners-text h2 {
        font-size: 2rem;
    }

    .partners-text p {
        font-size: 1rem;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .partner-card {
        padding: 30px 20px;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .partners-section .btn-container {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .partners-content {
        padding: 30px;
    }

    .partners-text h2 {
        font-size: 2rem;
    }
}

/* Expertises Cards Section */
.expertises-cards {
    padding: 20px 0;
}

.expertises-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.expertise-card {
    background: var(--white-color);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--purple-color), var(--purple-low));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.expertise-card:hover::before {
    transform: scaleX(1);
}

.expertise-card .card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--purple-low);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.expertise-card:hover .card-icon {
    background-color: var(--purple-color);
    transform: rotateY(180deg);
}

.expertise-card .card-icon i {
    font-size: 1.5rem;
    color: var(--white-color);
}

.expertise-card h3 {
    font-size: 1.5rem;
    color: var(--black-color);
    margin-bottom: 15px;
}

.expertise-card p {
    color: var(--black-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.expertise-card .card-details {
    text-align: left;
}

.expertise-card .card-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expertise-card .card-details ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--black-color);
}

.expertise-card .card-details ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--purple-color);
    font-weight: bold;
}

@media (max-width: 992px) {
    .expertises-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .expertises-cards {
        padding: 60px 0;
    }

    .expertises-grid {
        grid-template-columns: 1fr;
    }

    .expertise-card {
        padding: 30px 20px;
    }
}

/* Carousel Styles */
.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.carousel-indicators {
    display: flex;
    gap: 15px;
    justify-content: center;
    width: 100%;
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--purple-color);
    opacity: 0.5;
    cursor: pointer;
}

.indicator.active {
    opacity: 1;
    background: var(--purple-color);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: var(--font-size-xl);
    color: var(--black-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: var(--font-size-s);
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
}

.expertises-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.expertise-btn {
    padding: 12px 30px;
    background-color: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.expertise-btn:hover,
.expertise-btn.active {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

@media (max-width: 768px) {
    .expertises-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 10px;
    }
    
    .expertise-btn {
        width: 100%;
        max-width: 300px;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0 60px 0;
}

.service-card {
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--purple-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--white-color);
}

.service-card h3 {
    font-size: 1.2rem;
    color: var(--black-color);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.5;
}

.expertise-btn.active {
    background-color: var(--purple-low);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Section Différenciateurs */
.differentiators-section {
    padding: 40px 0;
    background: url('../img/expertise_4.png') no-repeat center center;
    background-size: cover;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 20px;
    border-radius: 15px;
    overflow: visible;
}

.differentiators-section .section-header {
    text-align: center;
    margin: 60px 0 40px;
    width: 100%;
}

.differentiators-section .container {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    justify-content: center;
    position: relative;
    min-height: 300px;
}

.differentiator-card {
    flex: 0 0 100%;
    padding: 20px;
    text-align: center;
    background: transparent;
    border-radius: 15px;
    opacity: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
}

.differentiator-card.active {
    opacity: 1;
    position: relative;
}

.differentiator-card .card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: var(--purple-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black-color);
    font-size: 2rem;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 2rem;
    cursor: pointer;
    z-index: 20;
    transition: var(--transition);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.carousel-nav:hover {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.carousel-nav.prev {
    left: -70px;
}

.carousel-nav.next {
    right: -70px;
}

@media (max-width: 768px) {
    .carousel-nav {
        top: auto;
        bottom: -70px;
        transform: none;
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
    }

    .carousel-nav.prev {
        left: 35%;
    }

    .carousel-nav.next {
        right: 35%;
    }

    .differentiators-section {
        padding-bottom: 100px;
        margin-bottom: 20px;
    }
}

.expertise-details {
    padding: 40px 0;
    margin-bottom: 40px;
}

/* Styles des boutons */
.btn-container {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.btn-primary, .btn-secondary {
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(43, 0, 104, 0.2);
}

.btn-secondary {
    background-color: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(43, 0, 104, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(43, 0, 104, 0.1);
}

@media (max-width: 768px) {
    .btn-container {
        flex-direction: column;
        gap: 15px;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
    }
}

/* Section des profils - Version moderne */
.other-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.other-section .title-container {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.other-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.other-section p[data-type="centered-txt"] {
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.9;
}

.profiles-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.profile-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.profile-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.profile-card .border-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.profile-card .border-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.profile-card:hover::before {
    transform: scaleX(1);
}

.profile-card:hover::after {
    transform: scaleY(1);
}

.profile-card:hover .border-right {
    transform: scaleY(1);
}

.profile-card:hover .border-bottom {
    transform: scaleX(1);
}

.profile-card .image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.profile-card .image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.profile-card .image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%);
    transition: clip-path 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.profile-card:hover .image::before {
    transform: scale(1);
    border-color: var(--primary-color);
}

.profile-card:hover .image::after {
    clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%);
    animation: circleRotate 3s linear infinite;
}

@keyframes circleRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.profile-card .profiles-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.4s ease;
}

.profile-card:hover .profiles-img {
    transform: scale(1.05);
}

.profile-details {
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.profile-card:hover .profile-details {
    transform: translateY(-5px);
}

.profile-details h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.5px;
    transition: color 0.4s ease;
}

.profile-card:hover .profile-details h3 {
    color: var(--secondary-color);
}

.profile-details p {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.6;
    opacity: 0.9;
    transition: transform 0.4s ease;
}

.profile-card:hover .profile-details p {
    transform: translateY(5px);
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: auto;
    opacity: 1;
    transform: none;
    transition: none;
}

.profile-card:hover .contact-options {
    transform: translateY(0);
    opacity: 1;
}

.contact-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0);
    transition: transform 0.3s ease;
    border-radius: 50%;
}

.contact-icon:hover::before {
    transform: scale(1);
}

.contact-icon.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.contact-icon.phone {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.contact-icon.email {
    background: linear-gradient(135deg, #D44638 0%, #B23121 100%);
}

.contact-icon:hover {
    transform: translateY(-3px);
}

.contact-icon i {
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .profiles-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .other-section {
        padding: 80px 0;
    }

    .other-section h2 {
        font-size: 2rem;
    }

    .profiles-container {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .profile-card {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .other-section h2 {
        font-size: 2rem;
    }

    .profile-card .image {
        width: 120px;
        height: 120px;
    }

    .contact-icon {
        width: 32px;
        height: 32px;
    }
    
    .contact-icon i {
        font-size: 1rem;
    }
}

.about-partners-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.about-partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.about-partners-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.about-partners-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    perspective: 1000px;
}

.about-partner-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px) rotateX(10deg);
    animation: cardAppear 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    position: relative;
    overflow: hidden;
}

.about-partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.about-partner-card:hover::before {
    transform: translateX(100%);
}

.about-partner-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.about-partner-card:hover::after {
    opacity: 1;
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(20px) rotateX(10deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.about-partner-card:nth-child(1) { animation-delay: 0.1s; }
.about-partner-card:nth-child(2) { animation-delay: 0.2s; }
.about-partner-card:nth-child(3) { animation-delay: 0.3s; }
.about-partner-card:nth-child(4) { animation-delay: 0.4s; }
.about-partner-card:nth-child(5) { animation-delay: 0.5s; }
.about-partner-card:nth-child(6) { animation-delay: 0.6s; }
.about-partner-card:nth-child(7) { animation-delay: 0.7s; }
.about-partner-card:nth-child(8) { animation-delay: 0.8s; }
.about-partner-card:nth-child(9) { animation-delay: 0.9s; }
.about-partner-card:nth-child(10) { animation-delay: 1s; }
.about-partner-card:nth-child(11) { animation-delay: 1.1s; }
.about-partner-card:nth-child(12) { animation-delay: 1.2s; }

.about-partner-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.about-partner-image {
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-partner-card:hover .about-partner-image {
    transform: rotateY(5deg) rotateX(5deg);
}

.about-partner-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(100%);
}

.about-partner-card:hover .about-partner-image img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.about-partners-text {
    flex: 1;
    padding: 20px;
}

.about-partners-text h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.about-partners-text p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 30px;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .about-partners-content {
        flex-direction: column;
        gap: 40px;
    }

    .about-partners-grid {
        order: 2;
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
    }

    .about-partners-text {
        order: 1;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .about-partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        width: 100%;
    }
    
    .about-partner-card {
        padding: 8px;
        opacity: 1;
        transform: none;
        animation: none;
    }
    
    .about-partner-image img {
        padding: 5px;
    }
}

@media (max-width: 480px) {
    .about-partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 100%;
    }
    
    .about-partner-card {
        padding: 5px;
        opacity: 1;
        transform: none;
        animation: none;
    }
    
    .about-partner-image img {
        padding: 3px;
    }
    
    .about-partners-text h2 {
        font-size: 2rem;
    }
    
    .about-partners-text p {
        font-size: 1rem;
    }
}

/* News Section Styles */
.news-main {
    background-color: white;
}

.news-hero {
    background-color: var(--purple-low);
    text-align: center;
    padding: 4rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
}

.news-hero .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-hero .content {
    max-width: 800px;
    margin: 0 auto;
}

.news-hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.news-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.search-container {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.5rem;
    backdrop-filter: blur(10px);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    color: white;
    font-size: 1rem;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-btn {
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--primary-color);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.search-btn:hover {
    transform: scale(1.05);
}

.categories-filter {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.category-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.category-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.category-btn.active {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.articles-grid .article-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.articles-grid .article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.articles-grid .article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.articles-grid .article-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 100%);
    transition: opacity 0.3s ease;
}

.articles-grid .article-card:hover .article-image::after {
    opacity: 0.8;
}

.articles-grid .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.articles-grid .article-card:hover .article-image img {
    transform: scale(1.05);
}

.articles-grid .article-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.articles-grid .article-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.articles-grid .article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: #666;
}

.articles-grid .article-date {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.articles-grid .article-date i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.articles-grid .reading-time {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #666;
}

.articles-grid .reading-time i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.articles-grid .article-title {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    line-height: 1.4;
    font-weight: 600;
}

.articles-grid .article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.articles-grid .article-title a:hover {
    color: var(--primary-color);
}

.articles-grid .article-excerpt {
    color: #666;
    margin-bottom: 1.2rem;
    line-height: 1.6;
    font-size: 0.9rem;
    flex: 1;
}

.articles-grid .article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.articles-grid .article-author {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.articles-grid .author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    padding: 2px;
}

.articles-grid .author-name {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.85rem;
}

.articles-grid .read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: transparent;
    color: var(--primary-color);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
}

.articles-grid .read-more-btn i {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.articles-grid .read-more-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(3px);
}

.articles-grid .read-more-btn:hover i {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .articles-grid .article-card {
        border-radius: 12px;
    }

    .articles-grid .article-image {
        height: 180px;
    }

    .articles-grid .article-content {
        padding: 1.2rem;
    }

    .articles-grid .article-title {
        font-size: 1rem;
    }
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: white;
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover,
.pagination-btn.active {
    background: var(--primary-color);
    color: white;
}

.pagination-dots {
    display: flex;
    align-items: center;
    color: #666;
}

.newsletter-section {
    background: var(--light-bg);
    padding: 4rem 0;
    margin-top: 4rem;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.newsletter-content p {
    color: #666;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
}

.btn-subscribe {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-subscribe:hover {
    background: var(--secondary-color);
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .btn-subscribe {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .categories-filter {
        gap: 0.5rem;
    }

    .category-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

.articles-section {
    padding: 2rem 0;
    margin-top: 2rem;
}

.article-main {
    background-color: white;
    padding-top: 2rem;
}

.article-detail {
    max-width: 1200px;
    margin: 0 auto;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
}

.article-header .container {
    max-width: 800px;
    margin: 0 auto;
}

.article-meta {
    margin-bottom: 1rem;
}

.article-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    margin-right: 1rem;
}

.article-date {
    color: var(--text-color);
    font-size: 0.9rem;
}

.article-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.article-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: var(--text-color);
}

.article-content {
    padding: 2rem 0;
}

.article-image {
    margin-bottom: 2rem;
}

.article-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
}

.article-text {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    line-height: 1.8;
}

.article-text .lead {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-weight: 500;
}

.article-text h2 {
    color: var(--primary-color);
    margin: 2rem 0 1.5rem;
    font-size: 2rem;
    font-weight: 600;
}

.article-text h3 {
    color: var(--secondary-color);
    margin: 1.5rem 0 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.article-text p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.article-text ul, .article-text ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-text li {
    margin-bottom: 0.8rem;
    color: var(--text-color);
}

.solution-block {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary-color);
}

.article-quote {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    position: relative;
}

.article-quote::before {
    content: '"';
    position: absolute;
    top: -2rem;
    left: -1rem;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: serif;
}

.article-quote blockquote {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .article-text {
        padding: 1rem;
    }

    .article-text h2 {
        font-size: 2rem;
    }

    .article-text h3 {
        font-size: 1.2rem;
    }

    .article-quote {
        padding: 1.5rem;
    }
}

/* Styles pour les cartes d'articles */
.article-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.article-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Ratio 16:9 */
    overflow: hidden;
}

.article-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #666;
}

.article-date, .reading-time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: var(--primary-color);
}

.article-excerpt {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    flex-grow: 1;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.read-more-btn:hover {
    transform: translateX(5px);
}

.read-more-btn i {
    transition: transform 0.3s ease;
}

.read-more-btn:hover i {
    transform: translateX(3px);
}

/* Actualités Section */
.news-hero {
    background: var(--purple-low);
    padding: 4rem 0;
}

.news-hero__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.news-hero__text {
    text-align: center;
    margin-bottom: 3rem;
}

.news-hero__title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.news-hero__subtitle {
    font-size: 1.25rem;
    color: var(--text-color-light);
    max-width: 600px;
    margin: 0 auto;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 1.5rem;
}

.article-category {
    display: inline-block;
    background: var(--purple-light);
    color: var(--purple);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.article-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* ==========================================================================
   Base
   ========================================================================== */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    margin: 0;
    padding: 0;
}

/* Styles spécifiques à la page Découvrir */
.page-decouvrir-hero {
    position: relative;
    height: 100vh;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.page-decouvrir-hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.page-decouvrir-hero__title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.page-decouvrir-hero__subtitle {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.page-decouvrir-content {
    padding: 4rem 0;
    background: #f8f9fa;
    position: relative;
}

.page-decouvrir-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(27, 1, 60, 0.1), transparent);
}

.page-decouvrir-text {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.page-decouvrir-text:hover {
    transform: translateY(-5px);
}

.page-decouvrir-text h2 {
    color: var(--neon-purple);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.page-decouvrir-text h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.page-decouvrir-text h2:hover::after {
    transform: scaleX(1);
}

.page-decouvrir-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #333;
}

.page-decouvrir-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.page-decouvrir-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    transition: transform 0.3s ease;
}

.page-decouvrir-list li:hover {
    transform: translateX(10px);
}

.page-decouvrir-list li:before {
    content: '→';
    color: var(--neon-purple);
    position: absolute;
    left: 0;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-decouvrir-list li:hover:before {
    transform: translateX(5px);
}

/* Responsive design */
@media (max-width: 768px) {
    .page-decouvrir-hero {
        height: auto;
        min-height: 100vh;
    }
    
    .page-decouvrir-hero__title {
        font-size: 2.5rem;
    }
    
    .page-decouvrir-hero__subtitle {
        font-size: 1.2rem;
    }
    
    .page-decouvrir-text {
        padding: 1.5rem;
    }
    
    .page-decouvrir-text h2 {
        font-size: 2rem;
    }
}

/* Animation des étoiles */
@keyframes starMove {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: starMove 3s linear infinite;
}

.star:nth-child(1) { left: 10%; top: 20%; width: 2px; height: 2px; animation-delay: 0s; }
.star:nth-child(2) { left: 20%; top: 40%; width: 3px; height: 3px; animation-delay: 0.5s; }
.star:nth-child(3) { left: 30%; top: 60%; width: 2px; height: 2px; animation-delay: 1s; }
.star:nth-child(4) { left: 40%; top: 80%; width: 3px; height: 3px; animation-delay: 1.5s; }
.star:nth-child(5) { left: 50%; top: 20%; width: 2px; height: 2px; animation-delay: 2s; }
.star:nth-child(6) { left: 60%; top: 40%; width: 3px; height: 3px; animation-delay: 2.5s; }
.star:nth-child(7) { left: 70%; top: 60%; width: 2px; height: 2px; animation-delay: 3s; }
.star:nth-child(8) { left: 80%; top: 80%; width: 3px; height: 3px; animation-delay: 3.5s; }
.star:nth-child(9) { left: 90%; top: 20%; width: 2px; height: 2px; animation-delay: 4s; }
.star:nth-child(10) { left: 100%; top: 40%; width: 3px; height: 3px; animation-delay: 4.5s; }

/* Animation de la fusée */
@keyframes rocketLaunch {
    0% {
        transform: translateY(100vh) translateX(-50%) rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(-50%) rotate(360deg);
        opacity: 0;
    }
}

.rocket {
    position: absolute;
    left: 50%;
    bottom: -100px;
    width: 50px;
    height: 100px;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    animation: rocketLaunch 4s ease-in-out infinite;
    z-index: 1;
}

.rocket::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, #ff6b6b, #ff0000);
    border-radius: 50%;
    filter: blur(5px);
    animation: rocketFlame 0.2s ease-in-out infinite alternate;
}

@keyframes rocketFlame {
    from {
        transform: translateX(-50%) scale(1);
        opacity: 0.8;
    }
    to {
        transform: translateX(-50%) scale(1.2);
        opacity: 1;
    }
}

/* Animation des étoiles filantes */
@keyframes shootingStar {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: shootingStar 3s linear infinite;
}

.star::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, white, transparent);
    transform: translateY(-50%);
}

.star:nth-child(1) { left: 0%; bottom: 0%; width: 2px; height: 2px; animation-delay: 0s; }
.star:nth-child(2) { left: 10%; bottom: 0%; width: 3px; height: 3px; animation-delay: 0.5s; }
.star:nth-child(3) { left: 20%; bottom: 0%; width: 2px; height: 2px; animation-delay: 1s; }
.star:nth-child(4) { left: 30%; bottom: 0%; width: 3px; height: 3px; animation-delay: 1.5s; }
.star:nth-child(5) { left: 40%; bottom: 0%; width: 2px; height: 2px; animation-delay: 2s; }
.star:nth-child(6) { left: 50%; bottom: 0%; width: 3px; height: 3px; animation-delay: 2.5s; }
.star:nth-child(7) { left: 60%; bottom: 0%; width: 2px; height: 2px; animation-delay: 3s; }
.star:nth-child(8) { left: 70%; bottom: 0%; width: 3px; height: 3px; animation-delay: 3.5s; }
.star:nth-child(9) { left: 80%; bottom: 0%; width: 2px; height: 2px; animation-delay: 4s; }
.star:nth-child(10) { left: 90%; bottom: 0%; width: 3px; height: 3px; animation-delay: 4.5s; }
.star:nth-child(11) { left: 0%; bottom: 0%; width: 2px; height: 2px; animation-delay: 5s; }
.star:nth-child(12) { left: 10%; bottom: 0%; width: 3px; height: 3px; animation-delay: 5.5s; }
.star:nth-child(13) { left: 20%; bottom: 0%; width: 2px; height: 2px; animation-delay: 6s; }
.star:nth-child(14) { left: 30%; bottom: 0%; width: 3px; height: 3px; animation-delay: 6.5s; }
.star:nth-child(15) { left: 40%; bottom: 0%; width: 2px; height: 2px; animation-delay: 7s; }

/* Section des avantages */
.advantages-section {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.advantages-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    z-index: 1;
}

.section-title {
    text-align: center;
    color: var(--black-color);
    font-size: 3rem;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.advantage-card {
    background: var(--purple-color);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(27,1,60,0.1);
}

.advantage-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 8px 15px rgba(27,1,60,0.15);
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.advantage-card:hover::before {
    transform: translateX(100%);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon i {
    font-size: 2.5rem;
    color: #fff;
    position: relative;
    z-index: 2;
}

.card-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.advantage-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
}

.advantage-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1rem;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.advantage-card:hover .card-glow {
    opacity: 1;
}

@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .advantage-card {
        padding: 30px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

/* Timeline Futuriste */
.futuristic-timeline {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.futuristic-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    z-index: 1;
}

.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.timeline-progress {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%);
}

.timeline-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, #4a1b8c, #1b013c);
    animation: progressFill 2s ease-out forwards;
}

@keyframes progressFill {
    from { height: 0; }
    to { height: 100%; }
}

.timeline-item {
    position: relative;
    margin-bottom: 100px;
    opacity: 0;
    transform: translateY(50px);
    animation: timelineAppear 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }
.timeline-item:nth-child(4) { animation-delay: 0.8s; }

@keyframes timelineAppear {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-content {
    display: flex;
    align-items: center;
    position: relative;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid rgba(27,1,60,0.1);
    box-shadow: 0 4px 6px rgba(27,1,60,0.1);
    transition: all 0.3s ease;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(27,1,60,0.15);
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.timeline-content:hover::before {
    transform: translateX(100%);
}

.timeline-icon {
    background: var(--purple-color);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
    position: relative;
    z-index: 2;
    animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.timeline-icon i {
    font-size: 1.5rem;
}

.timeline-text {
    flex: 1;
}

.timeline-text h3 {
    color: var(--purple-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
    position: relative;
}

.timeline-text p {
    color: #495057;
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline-progress {
        left: 0;
        transform: none;
    }

    .timeline-content {
        flex-direction: column;
        text-align: center;
    }

    .timeline-icon {
        margin: 0 0 20px 0;
    }

    .timeline-item {
        margin-bottom: 60px;
    }
}

/* Section Fonds Structurés */
.structured-funds-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.structured-funds-title {
    font-size: 2.5rem;
    color: var(--black);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 600;
}

.structured-funds-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 2rem auto;
}

.structured-fund-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.structured-fund-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.structured-fund-card.guaranteed::before {
    background: linear-gradient(90deg, #4CAF50, #2E7D32);
}

.structured-fund-card.partially-guaranteed::before {
    background: linear-gradient(90deg, #FF9800, #F57C00);
}

.fund-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.fund-title {
    font-size: 1.5rem;
    color: var(--black);
    font-weight: 600;
    margin: 0;
}

.guarantee-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guarantee-badge.guaranteed {
    background: rgba(76, 175, 80, 0.1);
    color: #2E7D32;
}

.guarantee-badge.partially-guaranteed {
    background: rgba(255, 152, 0, 0.1);
    color: #F57C00;
}

.guarantee-badge i {
    font-size: 1.1rem;
}

.fund-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.risk-bar {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin: 0.5rem 0;
}

.risk-level {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.risk-level.low {
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    width: 30%;
}

.risk-level.medium {
    background: linear-gradient(90deg, #FFC107, #FF9800);
    width: 60%;
}

.risk-level.high {
    background: linear-gradient(90deg, #F44336, #FF5722);
    width: 90%;
}

.risk-level.very-low {
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    width: 20%;
}

.risk-level.low {
    background: linear-gradient(90deg, #8BC34A, #CDDC39);
    width: 40%;
}

.risk-level.medium {
    background: linear-gradient(90deg, #FFC107, #FF9800);
    width: 60%;
}

.risk-level.high {
    background: linear-gradient(90deg, #FF9800, #F44336);
    width: 80%;
}

.risk-level.very-high {
    background: linear-gradient(90deg, #F44336, #D32F2F);
    width: 100%;
}

.risk-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-color);
    margin-top: 0.25rem;
}

.risk-label span {
    font-weight: 500;
}

@media (max-width: 768px) {
    .risk-bar {
        height: 6px;
    }
    
    .risk-label {
        font-size: 0.75rem;
    }
}

.fund-detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.fund-detail-item:hover {
    background: rgba(0, 0, 0, 0.04);
    transform: translateX(5px);
}

.fund-detail-item i {
    font-size: 1.3rem;
    color: var(--primary-color);
    width: 28px;
    text-align: center;
}

.fund-detail-item span {
    color: var(--black);
    font-size: 1.1rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .structured-fund-card {
        padding: 1.5rem;
    }

    .fund-title {
        font-size: 1.3rem;
    }

    .guarantee-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .fund-detail-item {
        padding: 0.8rem;
    }

    .fund-detail-item i {
        font-size: 1.1rem;
    }

    .fund-detail-item span {
        font-size: 1rem;
    }
}

.fund-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.popup-content {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    animation: popupFadeIn 0.4s ease;
}

.close-popup {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.close-popup i {
    font-size: 1.2rem;
    color: var(--black);
    transition: all 0.3s ease;
}

.close-popup:hover {
    background: var(--primary-color);
}

.close-popup:hover i {
    color: white;
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .close-popup {
        top: 1rem;
        right: 1rem;
        width: 35px;
        height: 35px;
    }

    .close-popup i {
        font-size: 1rem;
    }
}

.popup-title {
    color: var(--black);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.popup-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.popup-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.popup-section:hover {
    background: rgba(0, 0, 0, 0.03);
    transform: translateX(5px);
}

.popup-section:last-child {
    margin-bottom: 0;
}

.popup-section-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
}

.popup-section-title i {
    font-size: 1.4rem;
    background: var(--primary-color);
    color: white;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.popup-description,
.popup-analysis,
.popup-advice {
    color: var(--black);
    line-height: 1.8;
    font-size: 1.1rem;
    padding-left: 2.5rem;
}

.btn-rdv {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-rdv:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.btn-rdv i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-rdv:hover i {
    transform: translateX(5px);
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        padding: 1.5rem;
    }

    .popup-title {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
        text-align: center;
        width: 100%;
    }

    .popup-title::after {
        width: 40px;
        height: 2px;
        bottom: -8px;
    }

    .popup-section {
        padding: 1.2rem;
        margin-bottom: 2rem;
    }

    .popup-section-title {
        font-size: 1.1rem;
    }

    .popup-section-title i {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }

    .popup-description,
    .popup-analysis,
    .popup-advice {
        font-size: 1rem;
        padding-left: 2rem;
    }

    .btn-rdv {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

.fund-arrow {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 2;
}

.fund-arrow:hover {
    transform: translateX(-50%) translateY(-3px);
    background: #34495e;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.fund-arrow i {
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.fund-arrow:hover i {
    transform: translateX(3px);
    color: #f39c12;
}

@media (max-width: 768px) {
    .fund-arrow {
        bottom: 0.8rem;
        width: 35px;
        height: 35px;
    }
    
    .fund-arrow i {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .structured-funds-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 1rem;
        margin: 1.5rem auto;
    }

    .structured-fund-card {
        width: 100%;
        margin-bottom: 1rem;
        padding: 1.5rem;
    }
}

/* Style des cartes */
.users .card {
    background: rgba(27, 1, 60, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(45, 0, 104, 0.3);
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    margin: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.users .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    animation: scanline 2s linear infinite;
}

/* Image de profil futuriste */
.users .card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
    padding: 3px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.users .card img::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    animation: rotate 3s linear infinite;
}

/* Texte et contenu */
.users .card h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin: 1rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    text-shadow: 0 0 10px var(--primary-glow);
}

.users .card p {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Boutons de contact futuristes */
.contact-options {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--secondary-color), transparent);
    transition: 0.5s;
}

.contact-icon:hover::before {
    top: 100%;
}

/* Bouton d'action */
.users .card button {
    width: 100%;
    padding: 0.8rem;
    background: var(--primary-gradient);
    border: none;
    border-radius: 6px;
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.users .card button::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: 0.5s;
}

/* Effets de survol */
.users .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(45, 0, 104, 0.4);
}

.users .card:hover img {
    transform: scale(1.05);
    border-color: var(--secondary-color);
    box-shadow: 0 0 20px var(--primary-glow);
}

.users .card button:hover::before {
    left: 100%;
}

/* Animations */
@keyframes scanline {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive design */
@media (max-width: 768px) {
    .users .card img {
        width: 100px;
        height: 100px;
    }
    
    .users .card h4 {
        font-size: 1rem;
    }
    
    .users .card p {
        font-size: 0.8rem;
    }
}

/* Style général pour toutes les pages - Hero section */
.hero-section {
    background-color: var(--black);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    margin-top: -40px;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 20px;
}

.hero-section .content {
    flex: 1;
    max-width: 600px;
}

.hero-section .watch {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-section .watch .icons-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--white);
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.hero-section .watch .icons-link:hover {
    transform: scale(1.1);
}

.hero-section .watch h3 {
    font-size: var(--font-size-m);
    color: var(--white);
}

.hero-section h1 {
    font-size: var(--font-size-xxl);
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-section p {
    font-size: var(--font-size-s);
    line-height: 1.6;
    color: var(--white);
    margin-bottom: 30px;
}

.hero-section .btn-container {
    display: flex;
    gap: 20px;
}

.hero-section .btn-primary {
    background-color: var(--white);
    color: var(--black);
    border: 2px solid var(--white);
}

.hero-section .btn-primary:hover {
    background-color: transparent;
    color: var(--white);
}

.hero-section .btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.hero-section .btn-secondary:hover {
    background-color: var(--white);
    color: var(--black);
}

.hero-section .image-container {
    flex: 1;
    max-width: 500px;
    position: relative;
    min-height: 300px;
}

.hero-section .image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Carousel styles for hero section */
.hero-section .carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-section .carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-section .carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-section .carousel-item.active {
    opacity: 1;
    position: relative;
}

.hero-section .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-section .carousel-indicators {
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.hero-section .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--white);
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.hero-section .indicator.active {
    opacity: 1;
}

/* Media Queries pour toutes les pages */
@media (max-width: 967px) {
    .hero-section {
        padding: 60px 0;
        margin-top: -40px;
    }
    
    .hero-section .container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 30px 20px;
    }

    .hero-section .content {
        max-width: 100%;
    }

    .hero-section .watch {
        justify-content: center;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .btn-container {
        justify-content: center;
    }

    .hero-section .image-container {
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 40px 0;
        margin-top: -40px;
    }
    
    .hero-section .container {
        padding: 20px 15px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .btn-container {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-section .btn-primary,
    .hero-section .btn-secondary {
        width: 100%;
        max-width: 250px;
    }
}
