
/* ========================================
   SECTION HISTORIQUE
   ======================================== */

.history-section {
    background-color: var(--color-white);
    padding: var(--spacing-xxl) 0;
}

.history-section .col-lg-4 {
    display: flex;
    align-items: stretch;
}

.history-section .about-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
}

.history-section .about-image {
    height: 100%;
    min-height: 100%;
    object-fit: cover;
}

.history-section .col-lg-8 {
    display: flex;
    align-items: stretch;
}

.history-section .about-content {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.history-section .about-intro {
    margin-bottom: 2rem;
}

.history-section .about-mission {
    margin-bottom: 2.5rem;
}

/* Timeline (Ancienne version) */
.history-timeline {
    margin-top: 1rem;
}

.timeline-item {
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.timeline-icon-wrapper {
    flex-shrink: 0;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-yellow) 0%, var(--color-yellow-hover) 100%);
    transition: var(--transition-base);
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.1);
}

.timeline-text {
    flex: 1;
    padding-top: 0.5rem;
}

.timeline-year {
    font-family: var(--heading-font);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 0.5rem;
}

.timeline-description {
    font-family: var(--default-font);
    font-size: 1rem;
    color: var(--color-gray);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Responsive pour la section historique (ancienne) */
@media (max-width: 992px) {
    .history-section .col-lg-4,
    .history-section .col-lg-8 {
        display: block;
    }

    .history-section .about-image-wrapper {
        height: auto;
        min-height: 400px;
    }

    .history-section .about-image {
        min-height: 400px;
        height: auto;
    }

    .history-section .about-content {
        padding-left: 0;
        padding-top: 2rem;
    }
}

@media (max-width: 768px) {
    .history-section {
        padding: var(--spacing-xl) 0;
    }

    .history-image-wrapper {
        min-height: 350px;
        margin-bottom: 2rem;
    }

    .history-content {
        padding-top: 0;
    }

    .history-text {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .timeline-content {
        gap: 1.25rem;
    }

    .timeline-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .timeline-year {
        font-size: 1.125rem;
    }

    .timeline-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .history-image-wrapper {
        min-height: 300px;
    }

    .history-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .timeline-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .timeline-year {
        font-size: 1rem;
    }

    .timeline-description {
        font-size: 0.9rem;
    }
}

/* ========================================
   SECTION HISTORIQUE - DESIGN MODERNE
   ======================================== */

.history-section-modern {
    background-color: var(--color-white);
    padding: 100px 0 120px 0;
    position: relative;
    overflow: hidden;
}

.history-pattern {
    display: none; /* Pattern retiré de la section Notre Histoire */
}

.history-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: none;
}

.history-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 194, 14, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.history-image-wrapper:hover .history-image-overlay {
    opacity: 0.7;
}

.history-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.history-image-wrapper:hover .history-image {
    transform: scale(1.05);
}

.history-badge-absolute {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--color-yellow);
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 194, 14, 0.3);
    z-index: 2;
    text-align: center;
}

.history-badge-number {
    display: block;
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-black);
    line-height: 1;
    margin-bottom: 5px;
}

.history-badge-text {
    display: block;
    font-family: var(--default-font);
    font-size: 0.9rem;
    color: var(--color-black);
    font-weight: 500;
}

.history-content-modern {
    position: relative;
    z-index: 1;
    padding-left: 40px;
}

.history-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--color-gray-light);
    color: var(--color-gray-dark);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.history-title {
    font-family: var(--heading-font);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-black);
    line-height: 1.3;
    margin-bottom: 18px;
}

.history-description {
    font-family: var(--default-font);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-gray-dark);
    margin-bottom: 20px;
}

/* Responsive pour history-section-modern */
@media (max-width: 992px) {
    .history-section-modern {
        padding: 80px 0 100px 0;
    }

    .history-content-modern {
        padding-left: 0;
        padding-top: 2rem;
        text-align: center;
    }

    .history-title {
        font-size: 2.25rem;
    }

    .history-image {
        height: 500px;
    }
}

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

    .history-title {
        font-size: 2rem;
    }

    .history-description {
        font-size: 1rem;
    }

    .history-image {
        height: 400px;
    }

    .history-badge-absolute {
        bottom: 20px;
        right: 20px;
        padding: 15px 20px;
    }

    .history-badge-number {
        font-size: 2rem;
    }

    .history-badge-text {
        font-size: 0.8rem;
    }

    .timeline-item-modern {
        gap: 15px;
        margin-bottom: 25px;
        padding-bottom: 25px;
    }

    .timeline-icon-modern {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .timeline-year-modern {
        font-size: 1.25rem;
    }

    .timeline-description-modern {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .history-section-modern {
        padding: 50px 0;
    }

    .history-content-modern {
        padding-left: 0;
        padding-top: 1.5rem;
        text-align: center;
    }

    .history-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .history-description {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .history-image {
        height: 350px;
    }

    .history-badge-absolute {
        bottom: 15px;
        right: 15px;
        padding: 12px 18px;
    }

    .history-badge-number {
        font-size: 1.75rem;
    }

    .history-badge-text {
        font-size: 0.75rem;
    }
}

/* ========================================
   SECTION WHY CHOOSE US - DESIGN MODERNE
   ======================================== */

.why-choose-us-section {
    background: linear-gradient(135deg, #E8E8E8 0%, #F0F0F0 50%, #E5E5E5 100%); /* Dégradé gris subtil */
    padding: 120px 0 100px 0;
    overflow: hidden;
}

.why-choose-us-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/img/pattern-about.png');
    background-repeat: repeat;
    background-size: auto;
    background-position: center;
    opacity: 0.55; /* Opacité ajustée pour que le pattern soit bien visible sur le dégradé */
    z-index: 0;
    pointer-events: none;
}

.why-choose-badge {
    display: inline-block;
    padding: 8px 24px;
    background: var(--color-gray-light);
    color: var(--color-gray-dark);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.why-choose-title {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-black);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.why-choose-description {
    font-family: var(--default-font);
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-gray-dark);
    margin-bottom: 0;
}

.why-choose-text-wrapper {
    position: sticky;
    top: 100px;
    padding-right: 2rem;
}

@media (max-width: 991.98px) {
    .why-choose-text-wrapper {
        position: static;
        padding-right: 0;
        margin-bottom: 2rem;
        text-align: center;
    }
}

.why-choose-card {
    background: var(--color-white);
    border-radius: 15px;
    padding: 35px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.why-choose-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

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

.why-choose-card:hover::after {
    opacity: 1;
}

.why-choose-card-content {
    position: relative;
    z-index: 3;
    flex: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-choose-card:hover .why-choose-card-content {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    padding: 20px;
    border-radius: 12px;
    margin: -20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.why-choose-icon-wrapper {
    margin-bottom: 20px;
}

.why-choose-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 194, 14, 0.15) 0%, rgba(255, 194, 14, 0.25) 100%);
    color: var(--color-yellow);
    font-size: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-choose-card:hover .why-choose-icon {
    background: linear-gradient(135deg, var(--color-yellow) 0%, #ffd700 100%);
    color: var(--color-black);
    transform: scale(1.1) rotate(5deg);
}

.why-choose-card-title {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 15px;
    line-height: 1.3;
}

.why-choose-card-text {
    font-family: var(--default-font);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-gray-dark);
    margin-bottom: 0;
}

.why-choose-card-image {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    border-radius: 0 0 15px 15px;
}

.why-choose-card:hover .why-choose-card-image {
    bottom: 0;
}

.why-choose-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.why-choose-card:hover .why-choose-card-image img {
    transform: scale(1.1);
}

.why-choose-card:hover .why-choose-card-title,
.why-choose-card:hover .why-choose-card-text {
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.why-choose-card:hover .why-choose-card-title {
    font-weight: 800;
}

/* Carte Mission - Style spécial */
.why-choose-card-mission {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: var(--color-white);
}

.why-choose-card-mission .why-choose-card-title,
.why-choose-card-mission .why-choose-card-text {
    color: var(--color-white);
}

.why-choose-card-mission:hover .why-choose-card-content {
    background: rgba(0, 0, 0, 0.6);
}

.why-choose-card-mission .why-choose-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.why-choose-card-mission:hover .why-choose-icon {
    background: var(--color-yellow);
    color: var(--color-black);
}

/* Responsive Why Choose Us */
@media (max-width: 992px) {
    .why-choose-us-section {
        padding: 90px 0 80px 0;
    }

    .why-choose-title {
        font-size: 2rem;
    }

    .why-choose-description {
        font-size: 1rem;
    }

    .why-choose-card {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .why-choose-us-section {
        padding: 70px 0 60px 0;
    }

    .why-choose-us-pattern {
        opacity: 0.35;
    }

    .why-choose-us-section .row.align-items-center {
        text-align: center;
    }

    .why-choose-badge {
        font-size: 0.8rem;
        padding: 6px 20px;
    }

    .why-choose-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
        text-align: center;
    }

    .why-choose-description {
        font-size: 0.95rem;
        text-align: center;
    }

    .why-choose-card {
        padding: 25px;
        margin-bottom: 20px;
        min-height: 320px;
    }

    .why-choose-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }

    .why-choose-card-title {
        font-size: 1.25rem;
    }

    .why-choose-card-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .why-choose-card-image {
        height: 100%;
    }
}

@media (max-width: 480px) {
    .why-choose-us-section {
        padding: 50px 0;
    }

    .why-choose-us-pattern {
        opacity: 0.3;
    }

    .why-choose-badge {
        font-size: 0.75rem;
        padding: 5px 16px;
    }

    .why-choose-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .why-choose-description {
        font-size: 0.9rem;
    }

    .why-choose-card {
        padding: 20px;
        margin-bottom: 15px;
        min-height: 300px;
    }

    .why-choose-icon-wrapper {
        margin-bottom: 15px;
    }

    .why-choose-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .why-choose-card-title {
        font-size: 1.125rem;
        margin-bottom: 12px;
    }

    .why-choose-card-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .why-choose-card-image {
        height: 100%;
    }
}

/* ========================================
   SECTION ABOUT MODERNE (HOME PAGE)
   ======================================== */

.about-section-modern {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    padding: 70px 0 80px 0; /* Padding réduit en bas pour diminuer l'espace avec services */
    overflow: visible; /* Permet au badge de sortir de la section */
}

.about-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/img/pattern-about.png');
    background-repeat: repeat;
    background-size: auto;
    background-position: center;
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
}

.about-image-modern-wrapper {
    position: relative;
    z-index: 1;
    height: 100%;
    overflow: visible; /* Permet au badge de sortir du conteneur */
    padding-bottom: 60px; /* Espace pour le badge flottant */
}

.about-image-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
    background: var(--color-yellow);
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 194, 14, 0.4);
}

.about-image-badge .badge-text {
    color: var(--color-black);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.about-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-image-modern {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image-container:hover .about-image-modern {
    transform: scale(1.05);
}

.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

/* Container pour les images superposées */
.about-images-stacked {
    position: relative;
    min-height: 550px;
    z-index: 1;
}

/* Grande image principale (en haut à gauche) */
.about-main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 90%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
    z-index: 2;
}

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

.about-main-image:hover img {
    transform: scale(1.05);
}

/* Image secondaire qui chevauche (en bas à droite) */
.about-overlay-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 80%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
    z-index: 3;
}

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

.about-overlay-image:hover img {
    transform: scale(1.05);
}


.about-stats-floating {
    position: absolute;
    bottom: -30px;
    right: -30px;
    z-index: 2;
}

.stat-item {
    background: var(--color-white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 200px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-yellow) 0%, #ffd700 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 1.8rem;
    color: var(--color-black);
}

.stat-content {
    flex: 1;
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-black);
    margin: 0;
    line-height: 1;
}

.stat-content p {
    font-size: 0.85rem;
    color: var(--color-gray);
    margin: 5px 0 0 0;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-black);
    margin: 0;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-gray);
    margin: 5px 0 0 0;
}

.about-content-modern {
    position: relative;
    z-index: 1;
    padding: 15px 0 15px 40px;
    align-items: flex-start;
}

.about-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--color-gray-light);
    color: var(--color-gray-dark);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    width: fit-content;
    align-self: flex-start;
}

.about-title-modern {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-black);
    line-height: 1.3;
    margin-bottom: 18px;
}

.about-title-modern .text-primary,
.about-title-modern .text-yellow {
    color: var(--color-yellow) !important;
    position: relative;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-gray-dark);
    margin-bottom: 20px;
}

.about-mission-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-gray);
    margin-bottom: 20px;
}

.about-features {
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-yellow) 0%, #ffd700 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 8px;
}

.feature-text {
    font-size: 0.9rem;
    color: var(--color-gray);
    margin: 0;
    line-height: 1.6;
}

.about-stats-grid {
    margin-top: 30px;
}

.stat-box {
    text-align: center;
    padding: 25px 15px;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-number-modern {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-yellow);
    margin: 0;
    line-height: 1;
}

.stat-label-modern {
    font-size: 0.9rem;
    color: var(--color-gray);
    margin: 10px 0 0 0;
    font-weight: 500;
}

.about-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 20px;
}

.about-features-list .feature-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--color-gray-dark);
    line-height: 1.6;
}

.about-features-list .feature-check-icon {
    color: var(--color-yellow);
    font-size: 1rem;
    flex-shrink: 0;
}

.about-btn-modern {
    padding: 12px 28px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.about-btn-modern:hover {
    transform: translateY(-2px);
}

/* Responsive About Moderne */
@media (max-width: 992px) {
    .about-section-modern {
        padding: 50px 0 50px 0; /* Padding-bottom réduit */
    }

    .about-title-modern {
        font-size: 2.25rem;
    }

    .about-image-modern {
        min-height: 450px;
    }

    .about-image-container {
        min-height: 450px;
    }

    .about-image-badge {
        top: 15px;
        left: 15px;
        padding: 10px 20px;
    }

    .about-image-badge .badge-text {
        font-size: 0.8rem;
    }

    /* Images superposées - Tablette */
    .about-images-stacked {
        min-height: 450px;
    }

    .about-main-image {
        width: 70%;
        height: 80%;
    }

    .about-overlay-image {
        width: 55%;
        height: 70%;
    }

    .about-image-modern-wrapper {
        padding-bottom: 0; /* Pas besoin d'espace supplémentaire en tablette */
    }

    .about-stats-floating {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 30px;
        margin-bottom: 20px;
        display: flex;
        justify-content: center;
    }

    .stat-item {
        min-width: 180px;
        padding: 20px;
        gap: 12px;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
    }

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

    .stat-content h3 {
        font-size: 1.75rem;
    }

    .stat-content p {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .about-section-modern {
        padding: 50px 0 40px 0; /* Padding-bottom réduit */
        overflow: visible; /* Permet au badge de s'afficher correctement */
    }

    .about-title-modern {
        font-size: 1.9rem;
    }

    .about-image-modern {
        min-height: 350px;
    }

    .about-image-container {
        min-height: 350px;
    }

    /* Images superposées - Mobile */
    .about-images-stacked {
        min-height: 400px;
    }

    .about-main-image {
        width: 65%;
        height: 75%;
    }

    .about-overlay-image {
        width: 50%;
        height: 65%;
        border-width: 3px;
    }

    .about-image-modern-wrapper {
        padding-bottom: 0; /* Pas besoin d'espace supplémentaire en mobile */
    }

    .about-content-modern {
        padding-left: 15px;
    }

    .about-description {
        font-size: 1rem;
    }

    .about-features-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-stats-floating {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 25px;
        margin-bottom: 20px;
        display: flex;
        justify-content: center;
    }

    .stat-item {
        min-width: 160px;
        padding: 18px;
        gap: 12px;
    }

    .stat-icon {
        width: 45px;
        height: 45px;
    }

    .stat-icon i {
        font-size: 1.3rem;
    }

    .stat-content h3 {
        font-size: 1.5rem;
    }

    .stat-content p {
        font-size: 0.8rem;
    }

    .about-image-badge {
        top: 10px;
        left: 10px;
        padding: 8px 16px;
    }

    .about-image-badge .badge-text {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .about-section-modern {
        padding: 30px 0 30px 0; /* Padding-bottom réduit */
        overflow: visible; /* Permet au badge de s'afficher correctement */
    }

    .about-title-modern {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .about-image-modern {
        height: 300px;
    }

    /* Images superposées - Petit mobile */
    .about-images-stacked {
        min-height: 350px;
    }

    .about-main-image {
        width: 60%;
        height: 70%;
    }

    .about-overlay-image {
        width: 45%;
        height: 60%;
    }

    .about-image-modern-wrapper {
        padding-bottom: 0; /* Pas besoin d'espace supplémentaire en petit mobile */
    }

    .about-content-modern {
        padding-left: 10px;
    }

    .about-badge {
        font-size: 0.75rem;
        padding: 6px 16px;
        margin-bottom: 15px;
    }

    .about-description {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .about-mission-text {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .about-features-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-features-list .feature-list-item {
        font-size: 0.9rem;
        margin-bottom: 0;
    }

    .about-features-list .feature-check-icon {
        font-size: 1.1rem;
    }

    .feature-item {
        padding: 15px;
        gap: 12px;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
    }

    .feature-icon i {
        font-size: 1.3rem;
    }

    .feature-title {
        font-size: 1rem;
    }

    .feature-text {
        font-size: 0.85rem;
    }

    .about-stats-floating {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
        margin-bottom: 15px;
        display: flex;
        justify-content: center;
    }

    .stat-item {
        min-width: 140px;
        padding: 15px;
        gap: 10px;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
    }

    .stat-icon i {
        font-size: 1.2rem;
    }

    .stat-content h3 {
        font-size: 1.25rem;
    }

    .stat-content p {
        font-size: 0.75rem;
    }

    .stat-content p {
        font-size: 0.75rem;
    }
}

/* ========================================
   HERO ABOUT PAGE - DESIGN ZOTECH
   ======================================== */

.hero-about-modern {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 80px;
    background: none; /* Retirer l'image de fond directe */
    overflow: hidden;
}

/* Image de fond avec effet flou */
.hero-about-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/img/about-hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(3px); /* Effet flou léger */
    z-index: 0;
}

.hero-about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.hero-about-modern .container {
    position: relative;
    z-index: 2;
}

.hero-about-title {
    font-family: var(--heading-font);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-about-breadcrumb {
    margin-bottom: 1.5rem;
}

.hero-about-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.hero-about-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-about-breadcrumb .breadcrumb-item a:hover {
    color: var(--color-white);
}

.hero-about-breadcrumb .breadcrumb-item.active {
    color: var(--color-white);
}


/* Responsive Hero About */
@media (max-width: 992px) {
    .hero-about-modern {
        min-height: 55vh;
        padding-top: 100px;
        padding-bottom: 60px;
        align-items: center;
    }

    .hero-about-title {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px) {
    .hero-about-modern {
        min-height: 50vh;
        padding-top: 90px;
        padding-bottom: 50px;
    }

    .hero-about-title {
        font-size: 2.25rem;
    }

    .hero-about-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-about-modern {
        min-height: 45vh;
        padding-top: 80px;
        padding-bottom: 40px;
        align-items: center;
    }

    .hero-about-title {
        font-size: 1.9rem;
        margin-bottom: 0.75rem;
    }

    .hero-about-breadcrumb {
        margin-bottom: 1rem;
    }

    .hero-about-subtitle {
        font-size: 1rem;
    }
}

/* ========================================
   CTA ABOUT SECTION
   ======================================== */

.cta-about-section {
    background: var(--color-white);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.cta-about-banner {
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-gray-dark) 50%, var(--color-black) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 3rem;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.cta-about-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Overlay sombre pour la lisibilité du texte */
    pointer-events: none;
    z-index: 0;
    border-radius: var(--border-radius-lg);
}

.cta-about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Overlay sombre supplémentaire */
    pointer-events: none;
    z-index: 0;
    border-radius: var(--border-radius-lg);
}

.cta-about-content {
    position: relative;
    z-index: 1; /* Assure que le contenu est au-dessus de l'overlay */
}

.cta-about-section .container {
    position: relative;
}

.cta-about-title {
    font-family: var(--heading-font);
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.cta-about-description {
    font-size: 1.125rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta-about-buttons .btn {
    padding: 14px 32px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cta-about-buttons .btn-primary {
    background: var(--color-yellow);
    color: var(--color-black);
    border: 2px solid var(--color-yellow);
}

.cta-about-buttons .btn-primary:hover {
    background: transparent;
    color: var(--color-yellow);
    border-color: var(--color-yellow);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 194, 14, 0.3);
}

.cta-about-buttons .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    background: transparent;
}

.cta-about-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Responsive CTA About */
@media (max-width: 992px) {
    .cta-about-banner {
        padding: 2rem 2.5rem;
    }

    .cta-about-title {
        font-size: 2.5rem;
    }

    .cta-about-description {
        font-size: 1.05rem;
    }
}

@media (max-width: 768px) {
    .cta-about-banner {
        padding: 1.75rem 1.5rem;
    }

    .cta-about-title {
        font-size: 2rem;
        margin-bottom: 1.25rem;
    }

    .cta-about-description {
        font-size: 1rem;
        margin-bottom: 1.75rem;
    }

    .cta-about-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-about-buttons .btn {
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .cta-about-buttons .btn:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .cta-about-banner {
        padding: 1.5rem 1.25rem;
    }

    .cta-about-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .cta-about-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .cta-about-buttons .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

/* ========================================
   HERO SERVICE PAGES - DESIGN ZOTECH
   ======================================== */

.hero-service-modern {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.65) 100%);
    z-index: 1;
}

.hero-service-modern .container {
    position: relative;
    z-index: 2;
}

.hero-service-title {
    font-family: var(--heading-font);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-service-breadcrumb {
    margin-bottom: 1.5rem;
}

.hero-service-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.hero-service-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-service-breadcrumb .breadcrumb-item a:hover {
    color: var(--color-white);
}

.hero-service-breadcrumb .breadcrumb-item.active {
    color: var(--color-white);
}

.hero-service-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Responsive Hero Service */
@media (max-width: 992px) {
    .hero-service-modern {
        min-height: 55vh;
        padding-top: 100px;
        padding-bottom: 60px;
        align-items: center;
    }

    .hero-service-title {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px) {
    .hero-service-modern {
        min-height: 50vh;
        padding-top: 90px;
        padding-bottom: 50px;
        align-items: center;
    }

    .hero-service-title {
        font-size: 2.25rem;
    }

    .hero-service-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-service-modern {
        min-height: 45vh;
        padding-top: 80px;
        padding-bottom: 40px;
        align-items: center;
    }

    .hero-service-title {
        font-size: 1.9rem;
        margin-bottom: 0.75rem;
    }

    .hero-service-breadcrumb {
        margin-bottom: 1rem;
    }

    .hero-service-subtitle {
        font-size: 1rem;
    }
}

/* Logo dans hero service (pour E-Transma) */
.hero-service-modern .hero-service-logo-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 1rem;
    margin-top: 0;
}

.hero-service-modern .hero-service-logo {
    max-height: 80px;
    height: auto;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(255, 255, 255, 0.1));
}

@media (max-width: 768px) {
    .hero-service-modern .hero-service-logo {
        max-height: 60px;
    }
}

@media (max-width: 480px) {
    .hero-service-modern .hero-service-logo {
        max-height: 50px;
    }
}

/* ========================================
   SECTION EFFORTS DE RÉSILIENCE - TIMELINE
   ======================================== */

.resilience-section {
    background: var(--color-white);
    position: relative;
    padding: 100px 0 120px 0;
    overflow: hidden;
}

.resilience-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/img/pattern-about.png');
    background-repeat: repeat;
    background-size: auto;
    background-position: center;
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
}

.resilience-section .container {
    position: relative;
    z-index: 1;
}

.resilience-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--color-gray-light);
    color: var(--color-gray-dark);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.resilience-title {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-black);
    line-height: 1.3;
}

.resilience-subtitle {
    font-size: 1.1rem;
    color: var(--color-gray-dark);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Timeline Container */
.resilience-timeline {
    position: relative;
    padding-left: 3rem;
    max-width: 100%;
}

.resilience-timeline::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--color-gray-light) 0%, var(--color-gray-dark) 50%, var(--color-gray-light) 100%);
    z-index: 0;
}

/* Timeline Item */
.timeline-item-modern {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2rem;
}

.timeline-item-modern:last-child {
    margin-bottom: 0;
}

/* Timeline Marker */
.timeline-marker {
    position: absolute;
    left: -3rem;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-white);
    border: 3px solid var(--color-gray-dark);
    box-shadow: 0 0 0 4px var(--color-white);
    transition: all 0.3s ease;
}

.timeline-item-modern:hover .timeline-dot {
    border-color: var(--color-yellow);
    transform: scale(1.2);
    box-shadow: 0 0 0 4px var(--color-white), 0 0 0 8px rgba(255, 194, 14, 0.2);
}

.timeline-year-badge {
    margin-top: 0.5rem;
    padding: 4px 12px;
    background: var(--color-gray-dark);
    color: var(--color-white);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    font-family: var(--heading-font);
}

.timeline-item-modern:hover .timeline-year-badge {
    background: var(--color-yellow);
    color: var(--color-black);
}

/* Timeline Content */
.timeline-content {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.timeline-item-modern:hover .timeline-content {
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 194, 14, 0.3);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.timeline-title {
    font-family: var(--heading-font);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-black);
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

.timeline-date {
    font-size: 0.875rem;
    color: var(--color-gray-dark);
    font-weight: 600;
    white-space: nowrap;
    padding: 4px 12px;
    background: var(--color-gray-light);
    border-radius: 20px;
}

.timeline-description {
    font-size: 1rem;
    color: var(--color-gray-dark);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.timeline-description strong {
    color: var(--color-black);
    font-weight: 600;
}

.timeline-description .text-yellow {
    color: var(--color-yellow) !important;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 992px) {
    .resilience-section {
        padding: 80px 0 100px 0;
    }

    .resilience-title {
        font-size: 2.25rem;
    }

    .resilience-timeline {
        padding-left: 2.5rem;
    }

    .resilience-timeline::before {
        left: 1rem;
    }

    .timeline-marker {
        left: -2.5rem;
    }

    .timeline-item-modern {
        padding-left: 1.5rem;
    }
}

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

    .resilience-title {
        font-size: 2rem;
    }

    .resilience-subtitle {
        font-size: 1rem;
    }

    .resilience-timeline {
        padding-left: 2rem;
    }

    .resilience-timeline::before {
        left: 0.75rem;
    }

    .timeline-marker {
        left: -2rem;
    }

    .timeline-dot {
        width: 14px;
        height: 14px;
        border-width: 2px;
    }

    .timeline-year-badge {
        font-size: 0.7rem;
        padding: 3px 10px;
    }

    .timeline-content {
        padding: 1.25rem;
    }

    .timeline-title {
        font-size: 1.2rem;
    }

    .timeline-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .resilience-section {
        padding: 40px 0;
    }

    .resilience-title {
        font-size: 1.75rem;
    }

    .resilience-timeline {
        padding-left: 1.5rem;
    }

    .resilience-timeline::before {
        left: 0.5rem;
    }

    .timeline-marker {
        left: -1.5rem;
    }

    .timeline-item-modern {
        padding-left: 1rem;
    }

    .timeline-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .timeline-content {
        padding: 1rem;
    }

    .timeline-title {
        font-size: 1.1rem;
    }
}

