/* E-AM AFRIQUE MANAGEMENT - STYLES PRINCIPAUX */
:root {
    /* Polices */
    --default-font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Montserrat", sans-serif;
    --nav-font: "Montserrat", sans-serif;

    /* Couleurs principales */
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-yellow: #FFC20E;
    --color-gray: #777779;
    --color-green: #80BD41;

    /* Couleurs dérivées */
    --color-yellow-hover: #E6AE0D;
    --color-gray-light: #F5F5F5;
    --color-gray-dark: #333333;

    /* Typographie */
    --font-primary: var(--default-font);
    --font-heading: var(--heading-font);
    --font-nav: var(--nav-font);
    --font-size-base: 16px;
    --font-size-small: 14px;
    --font-size-large: 18px;
    --font-size-h1: 2.5rem;
    --font-size-h2: 2rem;
    --font-size-h3: 1.5rem;
    --font-size-h4: 1.25rem;
    --font-size-h5: 1.125rem;
    --font-size-h6: 1rem;

    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;

    /* Transitions */
    --transition-base: all 0.3s ease;
    --transition-fast: all 0.2s ease;

    /* Ombres */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);

    /* Bordures */
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-color: var(--color-gray);
}

/* STYLES GÉNÉRAUX */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--default-font);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-white);
    overflow-x: hidden;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--color-black);
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }
h5 { font-size: var(--font-size-h5); }
h6 { font-size: var(--font-size-h6); }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-gray);
    font-family: var(--default-font);
}

a {
    color: var(--color-black);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    color: var(--color-yellow);
}

/* Classes de couleur texte */
.text-yellow {
    color: var(--color-yellow) !important;
}

/* BOUTONS */

.btn {
    font-family: var(--nav-font);
    font-weight: 500;
    transition: var(--transition-base);
    border-radius: var(--border-radius);
}

.btn-primary {
    background-color: var(--color-yellow) !important;
    color: var(--color-black) !important;
    border: 2px solid var(--color-yellow) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
    background-color: var(--color-yellow-hover) !important;
    border-color: var(--color-yellow-hover) !important;
    color: var(--color-black) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-black);
    border: 2px solid var(--color-black);
}

.btn-outline:hover {
    background-color: var(--color-black);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ========================================
   HEADER MODERNE - NAVIGATION PROFESSIONNELLE
   ======================================== */

.header-modern {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background-color: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 85px;
    padding: 0;
    border-bottom: 1px solid transparent;
}

.header-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.header-modern.scrolled {
    background-color: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 194, 14, 0.15);
    min-height: 75px;
    border-bottom: 1px solid rgba(255, 194, 14, 0.1);
}

.header-modern.scrolled::before {
    opacity: 1;
}

.navbar {
    background-color: transparent !important;
    padding: 0;
    min-height: 85px;
}

.header-modern.scrolled .navbar {
    min-height: 75px;
}

/* Logo */
.navbar-brand-modern {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 10;
}

.navbar-brand-modern .logo-img {
    height: 50px;
    width: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0) invert(1);
}

.navbar-brand-modern:hover .logo-img {
    transform: scale(1.08);
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 194, 14, 0.5));
}

.header-modern.scrolled .navbar-brand-modern .logo-img {
    height: 45px;
}

/* Navigation principale */
.navbar-nav-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item-modern {
    position: relative;
}

.nav-link-modern {
    display: flex;
    align-items: center;
    padding: 0.625rem 1rem;
    font-family: var(--nav-font);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-white) !important;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 6px;
    white-space: nowrap;
}

.nav-link-modern::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-yellow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-link-modern:hover {
    color: var(--color-white) !important;
}

.nav-link-modern:hover::before {
    width: calc(100% - 2rem);
}

.nav-link-modern.active {
    color: var(--color-yellow) !important;
}

.nav-link-modern.active::before {
    width: calc(100% - 2rem);
    background: var(--color-yellow);
    box-shadow: 0 0 8px rgba(255, 194, 14, 0.4);
}

/* Dropdown Services */
.dropdown-modern,
.nav-item-modern.dropdown {
    position: relative;
}

.dropdown-toggle-modern,
.dropdown-toggle {
    cursor: pointer;
}

/* Style du chevron Bootstrap */
.dropdown-toggle-modern::after,
.nav-link-modern.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.5rem;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.35em solid var(--color-white);
    border-right: 0.35em solid transparent;
    border-bottom: 0;
    border-left: 0.35em solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.85;
}

.dropdown-toggle-modern:hover::after,
.nav-link-modern.dropdown-toggle:hover::after {
    border-top-color: var(--color-yellow);
    opacity: 1;
}

.dropdown-toggle-modern[aria-expanded="true"]::after,
.nav-link-modern.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
    border-top-color: var(--color-yellow);
    opacity: 1;
}

.dropdown-toggle-modern[aria-expanded="true"],
.dropdown-toggle[aria-expanded="true"] {
    color: var(--color-yellow) !important;
    background-color: rgba(255, 194, 14, 0.1);
}

.dropdown-menu-modern,
.dropdown-menu.dropdown-menu-modern {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 194, 14, 0.2);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 194, 14, 0.1);
    padding: 0.75rem 0;
    min-width: 420px;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: block;
    pointer-events: none;
}

/* Bootstrap ajoute .show sur le parent <li> - Tous les sélecteurs possibles */
.dropdown-modern.show .dropdown-menu-modern,
.nav-item-modern.show .dropdown-menu-modern,
.nav-item-modern.dropdown.show .dropdown-menu-modern,
.dropdown.show .dropdown-menu-modern,
.dropdown.show .dropdown-menu,
.dropdown-menu-modern.show,
.dropdown-menu.show,
.show .dropdown-menu-modern {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
    pointer-events: auto !important;
    display: block !important;
}

/* Gestion de l'état aria-expanded comme fallback */
.dropdown-toggle-modern[aria-expanded="true"] + .dropdown-menu-modern,
.dropdown-toggle[aria-expanded="true"] + .dropdown-menu-modern,
.dropdown-toggle[aria-expanded="true"] + .dropdown-menu,
[aria-expanded="true"] ~ .dropdown-menu-modern {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
    pointer-events: auto !important;
    display: block !important;
}

.dropdown-row-modern {
    padding: 0;
    margin: 0;
}

.dropdown-row-modern .row {
    margin: 0;
}

.dropdown-row-modern .col-6,
.dropdown-row-modern .col-12 {
    padding: 0;
}

.dropdown-item-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    font-family: var(--nav-font);
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid transparent;
    position: relative;
}

.dropdown-item-modern i {
    font-size: 1.125rem;
    width: 24px;
    text-align: center;
    color: var(--color-white);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.dropdown-item-modern span {
    flex: 1;
}

.dropdown-item-modern:hover {
    background-color: rgba(255, 194, 14, 0.1);
    color: var(--color-white) !important;
    border-left-color: var(--color-yellow);
    padding-left: 1.5rem;
}

.dropdown-item-modern:hover i {
    transform: scale(1.15);
    color: var(--color-white);
}

.dropdown-row-modern .col-6:not(:last-child) .dropdown-item-modern {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.dropdown-item-full-modern {
    text-align: center;
    justify-content: center;
    font-weight: 600;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0.5rem;
    padding-top: 1rem;
}

.dropdown-divider-modern {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
    border: none;
}

/* Bouton CTA */
.nav-item-cta {
    margin-left: 0.75rem;
}

.btn-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-family: var(--nav-font);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-black) !important;
    background: var(--color-yellow);
    border: 2px solid var(--color-yellow);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(255, 194, 14, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-nav-cta:hover {
    background: var(--color-yellow-hover);
    border-color: var(--color-yellow-hover);
    color: var(--color-black) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 194, 14, 0.4);
}

.btn-nav-cta:hover::before {
    left: 100%;
}

.btn-nav-cta i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-nav-cta:hover i {
    transform: translateX(2px);
}

/* Bouton hamburger moderne */
.navbar-toggler-modern {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 10;
}

.navbar-toggler-modern:hover {
    border-color: var(--color-yellow);
    background: rgba(255, 194, 14, 0.1);
    transform: scale(1.05);
}

.navbar-toggler-icon-modern {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 16px;
    transition: all 0.3s ease;
}

.navbar-toggler-icon-modern span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.navbar-toggler-modern[aria-expanded="true"] .navbar-toggler-icon-modern span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar-toggler-modern[aria-expanded="true"] .navbar-toggler-icon-modern span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.navbar-toggler-modern[aria-expanded="true"] .navbar-toggler-icon-modern span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Responsive - Tablette */
@media (max-width: 991px) {
    .header-modern {
        min-height: 75px;
    }

    .header-modern.scrolled {
        min-height: 70px;
    }

    .navbar {
        min-height: 75px;
    }

    .header-modern.scrolled .navbar {
        min-height: 70px;
    }

    .navbar-brand-modern .logo-img {
        height: 45px;
    }

    .header-modern.scrolled .navbar-brand-modern .logo-img {
        height: 40px;
    }

    .navbar-toggler-modern {
        display: flex;
    }

    .navbar-nav-modern {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1rem 0;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 12px;
        margin-top: 1rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(255, 194, 14, 0.1);
    }

    .nav-item-modern {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-item-modern:last-child {
        border-bottom: none;
    }

    .nav-link-modern {
        padding: 1rem 1.5rem;
        border-radius: 0;
        justify-content: space-between;
    }

    .nav-link-modern::before {
        display: none;
    }

    .nav-link-modern.active {
        background-color: rgba(255, 194, 14, 0.1);
        border-left: 3px solid var(--color-yellow);
    }

    .dropdown-menu-modern,
    .dropdown-menu.dropdown-menu-modern {
        position: static !important;
        transform: none !important;
        width: 100%;
        min-width: auto;
        margin-top: 0;
        border: none;
        border-radius: 0;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.5);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        left: auto !important;
    }

    .dropdown-menu-modern.show,
    .dropdown-menu.show,
    .dropdown-modern.show .dropdown-menu-modern,
    .dropdown.show .dropdown-menu-modern,
    .nav-item-modern.show .dropdown-menu-modern {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: block !important;
    }

    .dropdown-item-modern {
        padding: 0.875rem 1.5rem 0.875rem 3rem;
    }

    .dropdown-item-modern:hover {
        padding-left: 3.5rem;
    }

    .nav-item-cta {
        margin-left: 0;
        margin-top: 0.5rem;
        padding: 0.75rem 1.5rem;
    }

    .btn-nav-cta {
        width: 100%;
        justify-content: center;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .header-modern {
        min-height: 70px;
    }

    .header-modern.scrolled {
        min-height: 65px;
    }

    .navbar {
        min-height: 70px;
    }

    .header-modern.scrolled .navbar {
        min-height: 65px;
    }

    .navbar-brand-modern .logo-img {
        height: 40px;
    }

    .header-modern.scrolled .navbar-brand-modern .logo-img {
        height: 35px;
    }

    .navbar-toggler-modern {
        width: 40px;
        height: 40px;
    }

    .navbar-toggler-icon-modern {
        width: 18px;
        height: 14px;
    }

    .nav-link-modern {
        font-size: 0.875rem;
        padding: 0.875rem 1.25rem;
    }

    .dropdown-menu-modern {
        padding: 0.5rem 0;
    }

    .dropdown-item-modern {
        font-size: 0.875rem;
        padding: 0.75rem 1.25rem 0.75rem 2.5rem;
    }

    .dropdown-item-modern:hover {
        padding-left: 2.75rem;
    }

    .btn-nav-cta {
        padding: 0.625rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* Responsive - Petit mobile */
@media (max-width: 480px) {
    .header-modern {
        min-height: 65px;
    }

    .header-modern.scrolled {
        min-height: 60px;
    }

    .navbar {
        min-height: 65px;
    }

    .header-modern.scrolled .navbar {
        min-height: 60px;
    }

    .navbar-brand-modern .logo-img {
        height: 35px;
    }

    .header-modern.scrolled .navbar-brand-modern .logo-img {
        height: 32px;
    }

    .navbar-toggler-modern {
        width: 38px;
        height: 38px;
    }

    .nav-link-modern {
        font-size: 0.8125rem;
        padding: 0.75rem 1rem;
    }

    .dropdown-item-modern {
        font-size: 0.8125rem;
        padding: 0.625rem 1rem 0.625rem 2.25rem;
    }

    .btn-nav-cta {
        padding: 0.5rem 1.25rem;
        font-size: 0.8125rem;
    }
}

/* HERO CAROUSEL */

.hero-carousel {
    height: 100vh;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-carousel {
        height: auto;
        min-height: 100vh;
        overflow-y: visible;
        overflow-x: hidden;
    }

    /* Désactiver background-attachment: fixed sur mobile pour meilleure performance */
    .hero-slide-bg {
        background-attachment: scroll;
    }

    /* Optimisation de la netteté sur mobile */
    .hero-slide:first-child .hero-slide-bg {
        filter: brightness(1.05) contrast(1.05) saturate(1.1);
    }
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .hero-carousel .hero-swiper {
        height: auto;
        min-height: 100vh;
    }
}

.hero-slide {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-slide.etransma-slide {
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1;
    /* Amélioration de la netteté de l'image */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Forcer le rendu haute qualité */
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    /* Améliorer la qualité du rendu */
    filter: brightness(1) contrast(1.05) saturate(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* Optimisation spécifique pour le premier slide */
.hero-slide:first-child .hero-slide-bg {
    background-size: cover;
    background-position: center center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    filter: brightness(1.05) contrast(1.1) saturate(1.15);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.hero-slide:first-child .hero-overlay {
    background: rgba(0, 0, 0, 0.35);
}

.hero-slide .hero-content {
    position: relative;
    z-index: 4;
}

.hero-slide .hero-title {
    font-family: var(--heading-font);
    font-size: 3rem; /* Même taille que le deuxième slide */
    font-weight: 700;
    line-height: 1.2; /* Même line-height que le deuxième slide */
    margin-bottom: 1.5rem; /* Même margin-bottom que le deuxième slide */
    color: var(--color-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6), 0 4px 20px rgba(0, 0, 0, 0.4); /* Même text-shadow que le deuxième slide */
}

.hero-slide .hero-subtitle {
    font-family: var(--default-font);
    font-size: 1.125rem; /* Même taille que le deuxième slide */
    line-height: 1.6; /* Même line-height que le deuxième slide */
    margin-bottom: 2rem; /* Même margin-bottom que le deuxième slide */
    color: rgba(255, 255, 255, 0.85) !important; /* Même couleur que le deuxième slide */
    max-width: 100%; /* Même max-width que le deuxième slide */
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    text-indent: 0;
    padding-left: 0;
}

.hero-slide .hero-buttons {
    margin-top: var(--spacing-lg);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.hero-slide .hero-buttons .btn {
    margin: 0;
    padding: 0.875rem 2.25rem;
    font-size: 1.0625rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

/* Pagination Swiper */
.hero-pagination {
    bottom: 30px !important;
    z-index: 10;
}

.hero-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0 6px;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.hero-pagination .swiper-pagination-bullet-active {
    background: var(--color-gray);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(119, 119, 121, 0.5);
}


/* SECTIONS GÉNÉRALES */

.section {
    padding: var(--spacing-xxl) 0;
}

/* TITRES ET SOUS-TITRES DE SECTION */

.section-title {
    font-family: var(--heading-font);
    font-weight: 700; /* Poppins Bold */
    font-size: 2.75rem; /* 44px sur desktop */
    line-height: 1.2;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 1rem; /* 16px - espacement avant le sous-titre */
    position: relative;
    padding-bottom: 0.75rem; /* Espace réduit pour la barre jaune */
    letter-spacing: -0.02em; /* Légère réduction pour un look moderne */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #FFD700; /* Jaune doré premium */
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3); /* Lueur subtile */
}

.section-title.text-start,
.section-title.text-left {
    text-align: left;
    padding-bottom: 0.75rem;
    color: var(--color-black); /* Noir pour les sections avec fond clair */
}

.section-title.text-start::after,
.section-title.text-left::after {
    left: 0;
    transform: translateX(0);
}

/* Titre et sous-titre noirs par défaut dans les sections normales (sans fond sombre) */
section:not(.bg-dark):not(.bg-black):not(.hero-service) .section-title {
    color: var(--color-black);
}

section:not(.bg-dark):not(.bg-black):not(.hero-service) .section-subtitle {
    color: var(--color-gray-dark);
}

.section-subtitle {
    font-family: var(--default-font);
    font-weight: 400; /* Regular */
    font-size: 1.125rem; /* 18px sur desktop */
    line-height: 1.6;
    color: #B0B0B0; /* Gris clair professionnel */
    text-align: center;
    margin-top: 0;
    margin-bottom: var(--spacing-md); /* Espace réduit avant les cartes */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.01em;
}

.section-subtitle + .row {
    margin-top: 0;
}

.section-subtitle.text-start,
.section-subtitle.text-left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
}

.bg-light .section-title,
.bg-white .section-title {
    color: var(--color-black);
}

.bg-light .section-subtitle,
.bg-white .section-subtitle {
    color: var(--color-gray-dark);
}

.bg-dark .section-title,
.bg-black .section-title {
    color: var(--color-white);
}

.bg-dark .section-subtitle,
.bg-black .section-subtitle {
    color: #B0B0B0;
}

.section-title[data-aos],
.section-subtitle[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section-title[data-aos].aos-animate,
.section-subtitle[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 991px) {
    .section-title {
        font-size: 2.5rem; /* 40px sur tablettes */
        padding-bottom: 0.625rem;
    }

    .section-subtitle {
        font-size: 1.0625rem; /* 17px sur tablettes */
        margin-bottom: var(--spacing-sm);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem; /* 32px sur mobile */
        padding-bottom: 0.5rem;
        margin-bottom: 0.75rem;
    }

    .section-title::after {
        width: 50px;
        height: 3px;
    }

    .section-subtitle {
        font-size: 1rem; /* 16px sur mobile */
        margin-bottom: var(--spacing-sm);
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.75rem; /* 28px sur petits mobiles */
        padding-bottom: 0.5rem;
        margin-bottom: 0.625rem;
        letter-spacing: -0.01em;
    }

    .section-title::after {
        width: 45px;
        height: 3px;
    }

    .section-subtitle {
        font-size: 0.875rem; /* 14px sur petits mobiles */
        margin-bottom: var(--spacing-sm);
        line-height: 1.4;
    }
}

/* ========================================
   SECTION TÉLÉCHARGER E-TRANSA - CARROUSEL
   ======================================== */

/* Section principale */
#downloads {
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xs) 0 !important;
    background-color: #000000;
}

/* Image de fond avec filtre pour assombrir */
#downloads::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/assets/img/telechargement_fond.png');
    background-size: cover;
    background-position: center;
    filter: brightness(0.3) contrast(1.4);
    z-index: 1;
    pointer-events: none;
}

/* Overlay avec dégradé gris foncé vers noir */
#downloads::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(40, 40, 40, 0.9) 0%, rgba(20, 20, 20, 0.8) 30%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 2;
    pointer-events: none;
}

#downloads > * {
    position: relative;
    z-index: 3;
}

@media (min-width: 992px) {
    #downloads {
        padding: 0.5rem 0 !important;
    }
}

@media (max-width: 768px) {
    #downloads {
        padding: 0.25rem 0 !important;
    }

    #downloads .container {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }
}

/* Wrapper du carrousel */
.downloads-carousel-wrapper {
    position: relative;
}

/* ========================================
   SECTION TÉLÉCHARGEMENT - DESIGN AMÉLIORÉ
   ======================================== */

/* Conteneur du carrousel */
.downloads-carousel-wrapper {
    position: relative;
    padding: 1.5rem 0; /* Padding réduit pour diminuer la hauteur verticale */
}

.downloads-carousel {
    position: relative;
}

.downloads-swiper {
    padding: 0 0 1.5rem; /* Padding réduit pour diminuer la hauteur verticale */
    overflow: hidden;
}

/* Slide individuel */
.download-slide {
    padding: 0.75rem 0; /* Padding réduit pour diminuer la hauteur */
    min-height: 380px; /* Hauteur réduite */
    display: flex;
    align-items: center;
}

.download-slide .col-lg-6 {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.download-slide .col-lg-6:first-child {
    align-items: flex-start;
}

.download-slide .col-lg-6:last-child {
    align-items: center;
}

/* Navigation du carrousel - Masquée */
.downloads-navigation-wrapper {
    display: none; /* Navigation masquée */
}

.downloads-nav-next,
.downloads-nav-prev {
    display: none !important; /* Boutons de navigation masqués */
}

/* Pagination du carrousel - Centrée en bas */
.downloads-pagination {
    position: relative !important;
    bottom: auto !important;
    z-index: 10;
    margin-top: 1rem; /* Marge réduite pour diminuer la hauteur */
    margin-bottom: 0; /* Pas de marge en bas */
    text-align: center;
}

.downloads-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    margin: 0 6px;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.downloads-pagination .swiper-pagination-bullet-active {
    background: var(--color-yellow);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 194, 14, 0.5);
    width: 14px;
    height: 14px;
}

/* Responsive - Tablette */
@media (max-width: 992px) {
    .downloads-carousel-wrapper {
        padding: 1.25rem 0; /* Padding réduit pour diminuer la hauteur */
    }

    .downloads-swiper {
        padding: 1rem 0 2.5rem; /* Padding réduit */
    }

    .download-slide {
        min-height: 360px; /* Hauteur réduite */
        padding: 0.5rem 0; /* Padding réduit pour diminuer la hauteur */
    }

    .download-slide .section-title {
        font-size: 1.875rem; /* Taille réduite */
    }

    .download-slide .section-subtitle {
        font-size: 0.95rem; /* Taille réduite */
        margin-bottom: 1.25rem; /* Marge réduite */
    }

    .download-logo {
        width: 60px; /* Taille réduite */
        height: 60px; /* Taille réduite */
    }

    .download-header {
        margin-bottom: 0.875rem; /* Marge réduite */
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .downloads-carousel-wrapper {
        padding: 1rem 0; /* Padding réduit pour diminuer la hauteur */
    }

    .downloads-swiper {
        padding: 0 0 1.5rem; /* Padding réduit */
    }

    .download-slide {
        min-height: auto;
        padding: 0.5rem 0; /* Padding réduit pour diminuer la hauteur */
    }

    .download-slide .row {
        flex-direction: column;
    }

    .download-slide .col-lg-6:first-child {
        margin-bottom: 1.5rem; /* Marge réduite */
    }

    .download-slide .section-title {
        font-size: 1.625rem; /* Taille réduite */
    }

    .download-slide .section-subtitle {
        font-size: 0.9rem; /* Taille réduite */
        margin-bottom: 1.25rem; /* Marge réduite */
    }

    .download-logo {
        width: 55px; /* Taille réduite */
        height: 55px; /* Taille réduite */
    }

    .download-header {
        margin-bottom: 0.75rem; /* Marge réduite */
    }

    .download-button-img {
        height: 50px;
    }

    .download-mockup {
        min-height: 280px; /* Hauteur réduite */
    }

    .downloads-pagination {
        margin-top: 0.875rem; /* Marge réduite pour diminuer la hauteur */
    }

    .downloads-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }

    .downloads-pagination .swiper-pagination-bullet-active {
        width: 12px;
        height: 12px;
    }
}

/* Responsive - Petit mobile */
@media (max-width: 480px) {
    .downloads-carousel-wrapper {
        padding: 1rem 0; /* Padding réduit pour diminuer la hauteur */
    }

    .downloads-swiper {
        padding: 0 0 1.25rem; /* Padding réduit pour diminuer la hauteur */
    }

    .download-slide {
        padding: 0.375rem 0; /* Padding réduit pour diminuer la hauteur */
    }

    .download-slide .section-title {
        font-size: 1.375rem; /* Taille réduite */
    }

    .download-slide .section-subtitle {
        font-size: 0.85rem; /* Taille réduite */
        margin-bottom: 1rem; /* Marge réduite */
    }

    .download-header {
        margin-bottom: 0.625rem; /* Marge réduite */
    }

    .download-logo {
        width: 45px; /* Taille réduite */
        height: 45px; /* Taille réduite */
    }

    .download-button-img {
        height: 45px;
    }

    .download-mockup {
        min-height: 220px; /* Hauteur réduite */
    }

    .downloads-pagination {
        margin-top: 1rem; /* Marge réduite */
    }
}

/* Amélioration du design des éléments internes */
.download-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem; /* Marge réduite */
    flex-wrap: wrap;
}

.download-logo {
    width: 70px; /* Taille réduite */
    height: 70px; /* Taille réduite */
    object-fit: contain;
    flex-shrink: 0;
}

.download-slide .section-title {
    font-size: 2.25rem; /* Taille réduite */
    margin-bottom: 0;
    text-align: left;
    line-height: 1.2;
    flex: 1;
    min-width: 200px;
}

.download-slide .section-title::after {
    display: none;
}

/* Texte descriptif dans les slides */
.download-slide .section-subtitle {
    font-size: 1rem; /* Taille réduite */
    line-height: 1.6; /* Line-height réduit */
    margin-bottom: 1.5rem; /* Marge réduite */
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0;
}

.download-button-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.download-button-link:hover {
    transform: translateY(-3px);
}

.download-button-link.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.download-button-link.disabled:hover {
    transform: none;
}

.download-button-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.download-mockup {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0.5rem;
    min-height: 350px; /* Hauteur réduite */
    height: 100%;
}

.download-mockup-image {
    max-width: 100%;
    max-height: 400px; /* Hauteur réduite */
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.download-mockup-image:hover {
    transform: scale(1.05);
}

.download-button-link {
    display: inline-block;
    transition: var(--transition-base);
    text-decoration: none;
    position: relative;
}

.download-button-img {
    max-width: 180px;
    max-height: 60px;
    display: block;
    transition: var(--transition-base);
    border-radius: var(--border-radius);
}

.download-button-link:hover .download-button-img {
    transform: translateY(-3px) scale(1.05);
}

.download-button-link:active .download-button-img {
    transform: translateY(-1px) scale(1.02);
}

.download-button-link.disabled {
    cursor: not-allowed;
    pointer-events: none;
}

.download-button-disabled {
    opacity: 0.5 !important;
    filter: grayscale(0.3);
}

.download-coming-soon-icon {
    font-size: 8rem;
    opacity: 0.3;
    color: var(--color-yellow);
}

/* Responsive pour les éléments internes */
@media (max-width: 992px) {
    .download-logo {
        max-height: 65px;
    }

    .download-header .section-title {
        font-size: 2rem;
    }

    .download-slide .section-subtitle {
        font-size: 1.05rem;
    }

    .download-mockup {
        min-height: 280px;
    }

    .download-mockup-image {
        max-height: 420px;
    }
}

@media (max-width: 768px) {
    .download-header {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 0;
        padding-right: 0;
    }

    .download-logo {
        max-height: 55px;
    }

    .download-header .section-title {
        font-size: 1.75rem;
        min-width: auto;
    }

    .download-slide .section-subtitle {
        font-size: 1rem;
        padding-left: 0;
        padding-right: 0;
    }

    .download-buttons {
        justify-content: flex-start;
        padding-left: 0;
        padding-right: 0;
    }

    .download-button-img {
        max-width: 150px;
        max-height: 50px;
    }

    .download-mockup {
        min-height: 220px;
    }

    .download-mockup-image {
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    .download-header {
        padding-left: 0;
        padding-right: 0;
    }

    .download-logo {
        max-height: 50px;
    }

    .download-header .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .download-slide .section-subtitle {
        font-size: 0.95rem;
        padding-left: 0;
        padding-right: 0;
    }

    .download-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-xs);
        padding-left: 0;
        padding-right: 0;
    }

    .download-button-link {
        flex: 0 0 auto;
    }

    .download-button-img {
        max-width: 130px;
        max-height: 40px;
    }

    .download-mockup {
        min-height: 200px;
    }

    .download-mockup-image {
        max-height: 260px;
    }
}

/* SECTION PARTENAIRES */
/* Section CTA (Call To Action) */
.cta-section-eam {
    padding: 1.5rem 0 4rem 0; /* Padding réduit en haut pour rapprocher de la section team */
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

.cta-banner-eam {
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-gray-dark) 50%, var(--color-black) 100%);
    background-image: url('../img/contact-hero.webp');
    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-banner-eam::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-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.cta-icon-circle {
    width: 100px;
    height: 100px;
    min-width: 100px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.cta-icon-circle i {
    font-size: 2.5rem;
    color: var(--color-gray-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-text-content {
    flex: 1;
    padding: 0 1rem;
}

.cta-title {
    font-family: var(--heading-font);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.cta-subtitle {
    font-family: var(--default-font);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    line-height: 1.6;
}

.cta-button-wrapper {
    flex-shrink: 0;
}

.cta-btn-eam {
    background: var(--color-white) !important;
    color: var(--color-black) !important;
    border: 2px solid var(--color-white) !important;
    padding: 0.875rem 2rem;
    font-family: var(--nav-font);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition-base);
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    box-shadow: none;
}

.cta-btn-eam:hover {
    background: var(--color-yellow) !important;
    border-color: var(--color-yellow) !important;
    color: var(--color-black) !important;
    transform: translateY(-2px);
    box-shadow: none;
}

/* Responsive - Tablette */
@media (max-width: 992px) {
    .cta-section-eam {
        padding: 1.25rem 0 3.5rem 0; /* Padding réduit en haut pour rapprocher de la section team */
    }

    .cta-banner-eam {
        padding: 2rem 2.5rem;
    }

    .cta-content-wrapper {
        gap: 1.5rem;
    }

    .cta-icon-circle {
        width: 85px;
        height: 85px;
        min-width: 85px;
    }

    .cta-icon-circle i {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-subtitle {
        font-size: 0.95rem;
    }

    .cta-btn-eam {
        padding: 0.75rem 1.75rem;
        font-size: 0.95rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .cta-section-eam {
        padding: 1rem 0 3rem 0; /* Padding réduit en haut pour rapprocher de la section team */
    }

    .cta-banner-eam {
        padding: 1.75rem 1.5rem;
    }

    .cta-content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .cta-icon-circle {
        width: 80px;
        height: 80px;
        min-width: 80px;
        margin: 0 auto;
    }

    .cta-icon-circle i {
        font-size: 1.75rem;
    }

    .cta-text-content {
        padding: 0;
    }

    .cta-title {
        font-size: 1.35rem;
        margin-bottom: 0.5rem;
    }

    .cta-subtitle {
        font-size: 0.9rem;
    }

    .cta-button-wrapper {
        width: 100%;
    }

    .cta-btn-eam {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }
}

/* Responsive - Petit mobile */
@media (max-width: 480px) {
    .cta-section-eam {
        padding: 0.75rem 0 2.5rem 0; /* Padding réduit en haut pour rapprocher de la section team */
    }

    .cta-banner-eam {
        padding: 1.5rem 1.25rem;
    }

    .cta-icon-circle {
        width: 70px;
        height: 70px;
        min-width: 70px;
    }

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

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

    .cta-subtitle {
        font-size: 0.85rem;
    }
}

.partners-section {
    overflow: hidden;
    padding: 4rem 0 !important; /* Espacement uniforme avec les autres sections */
}

.partners-swiper {
    padding: 1.25rem 0; /* Padding réduit pour diminuer la hauteur */
    overflow: visible;
}

.partner-item {
    height: 110px; /* Hauteur réduite */
    padding: 1.25rem; /* Padding réduit */
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition-base);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
}

.partner-logo {
    max-width: 100%;
    max-height: 75px; /* Taille réduite des logos */
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 1;
    transition: var(--transition-base);
    filter: brightness(1) contrast(1);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.partner-item:hover .partner-logo {
    opacity: 1;
    transform: scale(1.15);
    filter: brightness(1.05) contrast(1.1);
}

@media (max-width: 991px) and (min-width: 769px) {
    .partners-section {
        padding: 3.5rem 0 !important; /* Espacement uniforme avec les autres sections */
    }
}

@media (max-width: 768px) {
    .partners-section {
        padding: 3rem 0 !important; /* Espacement uniforme avec les autres sections */
    }

    .partners-swiper {
        padding: 1rem 0; /* Padding réduit pour mobile */
    }

    .partner-item {
        height: 95px; /* Hauteur réduite */
        padding: 1rem; /* Padding réduit */
    }

    .partner-logo {
        max-height: 60px; /* Taille réduite des logos */
    }
}

@media (max-width: 480px) {
    .partners-section {
        padding: 2.5rem 0 !important; /* Espacement uniforme avec les autres sections */
    }
}


/* FOOTER */

.footer-modern {
    background-color: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/tech-pattern.svg');
    background-repeat: repeat;
    background-size: 400px 400px;
    background-position: center;
    z-index: 0;
    pointer-events: none;
    opacity: 1;
}

.footer-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-black);
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

.footer-africa-map {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 45%;
    max-width: 1200px;
    z-index: 1;
    opacity: 0.3;
    pointer-events: none;
    overflow: visible;
    animation: africaMapFadeIn 2s ease-in-out;
}

.africa-map-image {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    height: 180%;
    min-height: 800px;
    max-height: 1200px;
    object-fit: contain;
    filter: brightness(0.65) contrast(1.1);
    opacity: 0.28;
    mix-blend-mode: screen;
    animation: africaMapFloat 8s ease-in-out infinite;
}

/* Section en-tête du footer */
.footer-header {
    padding: var(--spacing-md) 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(26, 26, 26, 0.6) 100%);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(1px);
}

.footer-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 2rem;
    right: 2rem;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-logo-header {
    display: flex;
    align-items: center;
}

.footer-logo-header .logo-white {
    width: 150px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition-base);
}

.footer-logo-header .logo-white:hover {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.footer-header-right .footer-social {
    display: flex;
    gap: var(--spacing-sm);
    margin: 0;
}

.btn-quote {
    background-color: var(--color-yellow);
    color: var(--color-black);
    border: 2px solid var(--color-yellow);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-family: var(--nav-font);
    font-weight: 600;
    font-size: var(--font-size-base);
    text-decoration: none;
    transition: var(--transition-base);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: none;
    outline: none;
}

.btn-quote:focus {
    outline: none;
    box-shadow: none;
    border-color: var(--color-yellow);
}

.btn-quote i {
    font-size: 1rem;
    transition: var(--transition-base);
}

.btn-quote:hover {
    background-color: var(--color-yellow-hover);
    border-color: var(--color-yellow-hover);
    color: var(--color-black);
    transform: translateY(-2px);
    box-shadow: none;
}

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

.footer-main {
    padding: var(--spacing-xl) 0 var(--spacing-md);
    background: transparent;
    position: relative;
    z-index: 2;
}

/* Espacement professionnel entre colonnes sur desktop */
@media (min-width: 992px) {
    .footer-main .row > div {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .footer-main .row > div:first-child {
        padding-left: 0;
    }

    .footer-main .row > div:last-child {
        padding-right: 0;
    }

    /* Alignement à gauche sur desktop */
    .footer-brand,
    .footer-section {
        text-align: left;
    }

    .footer-title {
        justify-content: flex-start;
    }

    .footer-title::after {
        left: 0;
        transform: none;
    }

    .footer-contact {
        text-align: left;
    }

    .contact-item {
        justify-content: flex-start;
        text-align: left;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .footer-links {
        text-align: left;
    }

    /* Alignement à gauche dans les grilles sur desktop */
    .footer-links-grid,
    .footer-services-grid {
        justify-items: start;
    }

    .footer-links-grid li,
    .footer-services-grid li {
        justify-content: flex-start;
    }

    .footer-links-grid a,
    .footer-services-grid a {
        justify-content: flex-start;
    }
}

.footer-brand {
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.footer-logo {
    margin-bottom: var(--spacing-md);
}

.footer-logo .logo-white {
    width: 120px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition-base);
}

.footer-logo .logo-white:hover {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-description {
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0.9;
}

.footer-section {
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.footer-title {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: var(--font-size-h5);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: var(--spacing-xs);
    text-align: left;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-yellow);
    border-radius: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 2px 0;
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-links i {
    color: #cccccc;
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
    transition: var(--transition-base);
    flex-shrink: 0;
}

.footer-links a:hover i {
    color: var(--color-white);
    transform: translateX(2px);
}

.footer-services a {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.9rem;
    color: #cccccc;
}

.footer-services i {
    color: var(--color-white);
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
    transition: var(--transition-base);
}

.footer-services a:hover {
    color: var(--color-white);
}

.footer-services a:hover i {
    color: var(--color-white);
    transform: scale(1.1);
}

/* Grille 2 colonnes pour Navigation et Services */
.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xs) 0.1rem;
    column-gap: 0.1rem;
}

.footer-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xs) 0.25rem;
    column-gap: 0.25rem;
}

.footer-services-grid li {
    margin-bottom: 0;
}

.footer-links-grid li {
    margin-bottom: 0;
}

.footer-contact {
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
    color: #cccccc;
    font-size: var(--font-size-base);
}

.contact-item i {
    color: var(--color-white);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.contact-item a {
    color: #cccccc;
    text-decoration: none;
    transition: var(--transition-base);
}

.contact-item a:hover {
    color: var(--color-white);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background-color: var(--color-yellow);
    color: var(--color-black);
    transform: translateY(-3px);
    box-shadow: none;
    border-color: var(--color-yellow);
}

.social-link:focus {
    outline: none;
    box-shadow: none;
}

.social-link i {
    font-size: 1.2rem;
}

.newsletter-description {
    color: #cccccc;
    font-size: var(--font-size-small);
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
    text-align: left;
}

.newsletter-form {
    position: relative;
}

.newsletter-form .input-group {
    display: flex;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-form .form-control {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-size: var(--font-size-base);
    border-radius: 0;
    backdrop-filter: blur(10px);
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    box-shadow: none;
    border: none;
    outline: 2px solid var(--color-yellow);
    outline-offset: -2px;
}

.btn-newsletter {
    background-color: var(--color-yellow);
    color: var(--color-black);
    border: none;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: var(--transition-base);
    white-space: nowrap;
    border-radius: 30px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    outline: none;
}

.btn-newsletter:hover {
    background-color: var(--color-yellow-hover);
    color: var(--color-black);
    transform: translateY(-1px);
    box-shadow: none;
}

.btn-newsletter:focus {
    outline: none;
    box-shadow: none;
}

.footer-bottom {
    background-color: #0a0a0a;
    padding: var(--spacing-md) 0;
    border-top: none;
    position: relative;
    z-index: 2;
}

.copyright {
    color: #999999;
    font-size: var(--font-size-small);
    margin-bottom: 0;
    font-family: var(--font-primary);
}

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--spacing-sm);
}

.footer-legal a {
    color: #999999;
    text-decoration: none;
    font-size: var(--font-size-small);
    transition: var(--transition-base);
}

.footer-legal a:hover {
    color: var(--color-yellow);
}

.separator {
    color: #666666;
    font-size: var(--font-size-small);
}

/* RESPONSIVE FOOTER */
@media (max-width: 1200px) {
    .footer-africa-map {
        width: 40%;
        max-width: 900px;
    }

    .africa-map-image {
        right: -40px;
        height: 170%;
        min-height: 700px;
        max-height: 1000px;
    }
}

@media (max-width: 992px) {
    .footer-africa-map {
        width: 40%;
        max-width: 800px;
        opacity: 0.45;
    }

    .africa-map-image {
        right: -35px;
        height: 165%;
        min-height: 650px;
        max-height: 900px;
        opacity: 0.55;
    }
}

@media (max-width: 768px) {
    .footer-africa-map {
        width: 45%;
        max-width: 600px;
        opacity: 0.4;
    }

    .africa-map-image {
        right: -30px;
        height: 160%;
        min-height: 550px;
        max-height: 750px;
        opacity: 0.5;
    }

    .footer-header {
        padding: var(--spacing-md) 0;
    }

    .footer-header::after {
        left: 1rem;
        right: 1rem;
    }

    .footer-logo-header {
        justify-content: center;
        margin-bottom: var(--spacing-md);
    }

    .footer-logo-header .logo-white {
        width: 120px;
    }

    .footer-header-right {
        justify-content: center;
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .footer-header-right .footer-social {
        justify-content: center;
    }

    .btn-quote {
        width: 100%;
        text-align: center;
        padding: 10px 20px;
    }

    .footer-main {
        padding: var(--spacing-lg) 0 var(--spacing-md);
    }

    .footer-brand {
        text-align: left;
        margin-bottom: var(--spacing-xl);
    }

    .footer-section {
        text-align: left;
        margin-bottom: var(--spacing-lg);
    }

    /* Accordéon pour services sur mobile */
    .footer-services-list {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, margin-bottom 0.3s ease;
        margin-bottom: 0;
    }

    .footer-services-list.active {
        max-height: 1000px;
        margin-bottom: var(--spacing-md);
    }

    /* Sur desktop, toujours afficher les services */
    @media (min-width: 768px) {
        .footer-services-list {
            max-height: none !important;
            overflow: visible;
            margin-bottom: 0 !important;
        }
    }

    .footer-title {
        justify-content: flex-start;
    }

    .footer-title::after {
        left: 0;
        transform: none;
    }

    .footer-contact {
        text-align: left;
    }

    .contact-item {
        justify-content: flex-start;
        text-align: left;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .footer-links {
        text-align: left;
    }

    /* Services restent en 2 colonnes sur tablette */
    .footer-services-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xs) 0.5rem;
        column-gap: 0.5rem;
    }

    /* Navigation revient à 1 colonne sur mobile */
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xs);
    }

    .footer-links-grid li {
        margin-bottom: var(--spacing-xs);
    }

    .footer-services-grid li {
        margin-bottom: var(--spacing-xs);
    }

    /* Éviter le centrage sur mobile - garder alignement à gauche */
    .footer-legal {
        justify-content: flex-start;
        margin-top: var(--spacing-sm);
        flex-wrap: wrap;
    }

    .copyright {
        text-align: left;
        margin-bottom: var(--spacing-sm);
    }
}

/* Carte d'Afrique pour mobile - En arrière-plan */
.footer-africa-map-mobile {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.25;
    animation: africaMapFadeIn 2s ease-in-out;
}

.footer-africa-map-mobile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 50% 60%, rgba(0, 194, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 30% 40%, rgba(0, 194, 255, 0.1) 0%, transparent 40%);
    z-index: 2;
    pointer-events: none;
}

.footer-africa-map-mobile::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(45deg, transparent 48%, rgba(0, 194, 255, 0.06) 49%, rgba(0, 194, 255, 0.06) 51%, transparent 52%);
    background-size: 50px 50px;
    z-index: 2;
    opacity: 0.3;
    pointer-events: none;
}

.africa-map-image-mobile {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: auto;
    min-height: 750px;
    max-height: 1100px;
    object-fit: contain;
    object-position: center;
    filter: brightness(0.65) contrast(1.1);
    opacity: 0.25;
    mix-blend-mode: screen;
    animation: africaMapFloatMobile 8s ease-in-out infinite;
}

/* RESPONSIVE FOOTER - Mobile */
@media (max-width: 768px) {
    .footer-main {
        padding: var(--spacing-lg) 0;
        position: relative;
        z-index: 2;
    }

    .footer-bottom {
        position: relative;
        z-index: 2;
    }
}

@media (max-width: 480px) {
    .footer-header {
        padding: var(--spacing-sm) 0;
    }

    .footer-header::after {
        left: 0.75rem;
        right: 0.75rem;
    }

    .footer-logo-header .logo-white {
        width: 100px;
    }

    .btn-quote {
        font-size: var(--font-size-small);
        padding: 8px 16px;
    }
}

@media (max-width: 576px) {
    .africa-map-image-mobile {
        max-width: 1100px;
        min-height: 680px;
        max-height: 950px;
        opacity: 0.3;
        bottom: 15%;
    }
}

/* Mobiles */
@media (max-width: 480px) {
    .africa-map-image-mobile {
        max-width: 1000px;
        min-height: 650px;
        max-height: 900px;
        opacity: 0.35;
        bottom: 12%;
    }

    .footer-main {
        padding: var(--spacing-md) 0 var(--spacing-sm);
    }

    .footer-brand {
        margin-bottom: var(--spacing-md);
    }

    .footer-section {
        margin-bottom: var(--spacing-md);
    }

    /* Services reviennent à 1 colonne sur très petits mobiles */
    .footer-services-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .footer-services-grid li {
        margin-bottom: 0.25rem;
    }

    .footer-links-grid li {
        margin-bottom: 0.5rem;
    }

    .footer-title {
        margin-bottom: var(--spacing-sm);
    }

    /* Alignement à gauche sur mobile */
    .copyright {
        text-align: left;
        font-size: 0.85rem;
    }

    .footer-legal {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .footer-legal a {
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .africa-map-image-mobile {
        max-width: 950px;
        min-height: 620px;
        max-height: 850px;
        opacity: 0.3;
        bottom: 10%;
    }

    .footer-logo .logo-white {
        width: 100px;
    }

    .footer-description {
        font-size: var(--font-size-small);
    }

    .footer-title {
        font-size: var(--font-size-h6);
    }

    .contact-item {
        font-size: var(--font-size-small);
    }

    .social-link {
        width: 35px;
        height: 35px;
    }

    .social-link i {
        font-size: 1rem;
    }

    .newsletter-form .form-control {
        padding: 10px 12px;
        font-size: var(--font-size-small);
    }

    .btn-newsletter {
        padding: 10px 16px;
        font-size: var(--font-size-small);
    }

    .copyright,
    .footer-legal a {
        font-size: 0.8rem;
    }
}

.footer-modern [data-aos] {
    transition-duration: 0.6s;
}

.footer-modern [data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
}

.footer-modern [data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.footer-modern [data-aos="fade-left"] {
    opacity: 0;
    transform: translateX(30px);
}

.footer-modern [data-aos="fade-left"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

/* BOUTON SCROLL TOP */

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-yellow);
    color: var(--color-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-base);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--color-yellow-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    :root {
        --font-size-h1: 2rem;
        --font-size-h2: 1.75rem;
        --font-size-h3: 1.25rem;
        --spacing-xxl: 3rem;
        --spacing-xl: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: var(--spacing-xs) 0;
    }

    .navbar-nav {
        text-align: center;
        padding-top: var(--spacing-sm);
    }

    .navbar-nav .nav-link {
        margin: var(--spacing-xs) 0;
    }

    /* Menu déroulant sur mobile */
    .navbar-nav .dropdown-menu {
        background-color: rgba(119, 119, 121, 0.95);
        border: none;
        margin-top: 0.5rem;
        text-align: left;
        width: 100%;
    }

    .navbar-nav .dropdown-menu:hover {
        background-color: rgba(0, 0, 0, 0.98);
    }

    .navbar-nav .dropdown-menu-services {
        min-width: 100%;
        width: 100%;
    }

    .navbar-nav .dropdown-services-container .row {
        flex-direction: column;
    }

    .navbar-nav .dropdown-services-container .col-6 {
        width: 100%;
    }

    .navbar-nav .dropdown-services-container .dropdown-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1rem 1.25rem;
    }

    .navbar-nav .dropdown-services-container .col-6:last-child .dropdown-item {
        border-bottom: none;
    }

    .navbar-nav .dropdown-item {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }

    .navbar-nav .dropdown-item:hover {
        padding-left: 1.5rem;
    }

    .navbar-nav .dropdown-services-container .dropdown-item:hover {
        padding-left: 1.25rem;
    }

    .navbar-nav .nav-link {
        position: relative;
        justify-content: space-between;
    }

    .navbar-nav .services-dropdown-icon {
        font-size: 0.875rem;
        margin-left: auto;
    }

    .navbar-nav .nav-link[aria-expanded="true"] {
        color: var(--color-yellow) !important;
    }

    .navbar-nav .nav-link[aria-expanded="true"] .services-dropdown-icon {
        transform: rotate(180deg);
    }
}

/* Mobiles */
@media (max-width: 480px) {
    :root {
        --font-size-h1: 1.75rem;
        --font-size-h2: 1.5rem;
        --spacing-xxl: 2rem;
        --spacing-xl: 1.5rem;
    }

    .hero-slide .hero-title {
        font-size: 1.5rem !important; /* Même taille que le deuxième slide sur très petits écrans */
        line-height: 1.2; /* Même line-height que le deuxième slide */
        margin-bottom: 0.75rem; /* Même margin-bottom que le deuxième slide */
    }

    .hero-slide .hero-subtitle {
        font-size: 0.875rem !important; /* Même taille que le deuxième slide sur très petits écrans */
        line-height: 1.4; /* Même line-height que le deuxième slide */
        margin-bottom: 1rem; /* Même margin-bottom que le deuxième slide */
    }
}

/* STYLES PAGE D'ACCUEIL */
.hero-slide .hero-subtitle {
    text-align: left !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-indent: 0 !important;
}


@media (max-width: 768px) {
    .hero-carousel {
        height: auto;
        min-height: 100vh;
    }

    .hero-slide {
        height: auto;
        min-height: 100vh;
    }

    .hero-slide:first-child {
        padding-top: 0;
    }


    .hero-slide .hero-title {
        font-size: 1.75rem !important;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero-slide .hero-subtitle {
        font-size: 0.95rem !important;
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }

    .hero-slide .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }

    .hero-pagination {
        bottom: 20px !important;
    }

    .hero-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }

    .navbar-collapse {
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        border-radius: var(--border-radius);
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .navbar-nav .nav-link {
        text-align: center;
        padding: 1rem 0;
        margin: 0.25rem 0;
        border-radius: var(--border-radius);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .navbar-nav .nav-link:hover {
        color: var(--color-white) !important;
        background-color: rgba(255, 194, 14, 0.1);
        transform: translateX(5px);
    }

    .navbar-nav .nav-link.active {
        color: var(--color-white) !important;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .navbar-nav .btn {
        margin-top: 1rem;
        width: 100%;
        text-align: center;
        padding: 0.625rem 1.5rem;
        font-size: 0.875rem;
    }

    .header-modern {
        padding: 0.5rem 0;
        background-color: transparent !important;
        backdrop-filter: blur(0px);
        min-height: 65px;
    }

    .header-modern.scrolled {
        background-color: rgba(0, 0, 0, 0.95) !important;
        backdrop-filter: blur(15px) !important;
        box-shadow: none !important;
        border-bottom: 1px solid rgba(255, 194, 14, 0.1) !important;
        min-height: 60px;
    }

    .navbar-brand-modern {
        font-size: 1.1rem;
    }

    .navbar-brand-modern .logo-img {
        height: 35px !important;
    }
}

.card-title {
    font-family: var(--heading-font);
    font-weight: 600;
    color: var(--color-black);
}

.card-text {
    font-family: var(--default-font);
    color: var(--color-gray);
}

.navbar-nav {
    gap: 0.375rem;
}

.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .nav-link:focus:not(.active) {
    outline: 2px solid var(--color-yellow);
    outline-offset: 2px;
    border-radius: var(--border-radius);
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px var(--color-yellow), 0 0 0 2px rgba(255, 194, 14, 0.3);
    background-color: rgba(255, 194, 14, 0.15);
}

@keyframes headerSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header {
    animation: headerSlideDown 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}


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

    .service-card {
        padding: var(--spacing-sm);
    }

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

    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }

}

/* ANIMATIONS */

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

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animations pour la carte d'Afrique */
@keyframes africaMapFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes africaMapFloat {
    0%, 100% {
        transform: translateY(-50%) translateY(0);
    }
    50% {
        transform: translateY(-50%) translateY(-15px);
    }
}

/* Pour mobile */
@keyframes africaMapFloatMobile {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* STYLES SLIDE E-TRANSMA */
.etransma-slide {
    min-height: 100vh;
    position: relative;
    overflow: hidden; /* Pas de scrollbar sur desktop */
    margin-bottom: 0; /* Pas de margin bottom - coller en bas */
    padding-bottom: 0; /* Pas de padding bottom */
}

@media (min-width: 1025px) {
    .etransma-slide {
        overflow: hidden !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}

.etransma-row {
    min-height: auto;
    margin-bottom: 0; /* Pas de margin bottom - coller en bas */
}

@media (min-width: 1025px) {
    .etransma-slide .container,
    .etransma-slide .row {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .etransma-slide {
        min-height: auto;
        height: auto;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .etransma-row {
        min-height: auto;
    }
}

.etransma-slide-bg {
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: digitalBackgroundShift 20s ease-in-out infinite;
}

@keyframes digitalBackgroundShift {
    0%, 100% {
        filter: brightness(1) contrast(1);
        background-position: center center;
    }
    50% {
        filter: brightness(1.05) contrast(1.02);
        background-position: center 52%;
    }
}

.etransma-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.80) 0%,
            rgba(0, 0, 0, 0.75) 20%,
            rgba(0, 0, 0, 0.85) 40%,
            rgba(0, 0, 0, 0.90) 50%,
            rgba(0, 0, 0, 0.85) 60%,
            rgba(0, 0, 0, 0.75) 80%,
            rgba(0, 0, 0, 0.80) 100%
        ),
        radial-gradient(
            ellipse at 50% 50%,
            rgba(0, 0, 0, 0.3) 0%,
            transparent 60%
        ),
        radial-gradient(
            ellipse at 20% 50%,
            rgba(255, 194, 14, 0.08) 0%,
            transparent 50%
        ),
        radial-gradient(
            ellipse at 80% 50%,
            rgba(255, 194, 14, 0.08) 0%,
            transparent 50%
        ) !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.etransma-text-col {
    padding: 2rem 1rem;
    position: relative;
    z-index: 4;
    overflow: hidden; /* Pas de débordement */
}

@media (min-width: 1025px) {
    .etransma-slide .hero-content {
        margin-left: 0;
        padding-left: 0;
    }

    .etransma-slide .hero-title,
    .etransma-slide .hero-subtitle,
    .etransma-slide .hero-buttons {
        margin-left: 0;
        padding-left: 0;
    }
}

.etransma-mockup-col,
.col-lg-6.col-xl-6:last-child {
    padding: 0 1rem 0 1rem;
    position: relative;
    z-index: 10;
    display: flex !important;
    align-items: flex-end;
    justify-content: center;
    overflow: visible !important;
    height: 100%;
}

@media (min-width: 1025px) {
    .etransma-mockup-col {
        padding: 2rem 1rem 0 1rem !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 768px) {
    .etransma-mockup-col {
        min-height: auto;
    }
}

.etransma-content {
    padding: 1rem 0.5rem;
}

.etransma-title {
    font-family: var(--heading-font);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6), 0 4px 20px rgba(0, 0, 0, 0.4);
    margin-bottom: 1.5rem;
}

.etransma-subtitle {
    font-family: var(--default-font);
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85) !important;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
    max-width: 100%;
}

.etransma-buttons {
    margin-top: 2rem;
}

.etransma-btn-primary {
    background-color: #facc15 !important;
    color: #000000 !important;
    border: 2px solid #facc15 !important;
    padding: 0.875rem 2.25rem; /* Taille normale standard */
    font-family: var(--nav-font);
    font-weight: 600;
    font-size: 1.0625rem; /* Taille normale standard */
    border-radius: var(--border-radius);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.3);
}

.etransma-btn-primary:hover {
    background-color: #eab308 !important;
    border-color: #eab308 !important;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250, 204, 21, 0.5);
}

.etransma-btn-secondary {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    padding: 0.875rem 2.25rem; /* Taille normale standard */
    font-family: var(--nav-font);
    font-weight: 600;
    font-size: 1.0625rem; /* Taille normale standard */
    border-radius: var(--border-radius);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    backdrop-filter: blur(5px);
}

.etransma-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.etransma-mockup-wrapper {
    position: relative;
    width: 100%;
    padding: 0 1rem 0 1rem;
    display: flex !important;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
    z-index: 10;
    height: 100%;
    min-height: 100vh;
}

@media (min-width: 1025px) {
    .etransma-mockup-wrapper {
        padding: 0 1rem 0 1rem !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        align-items: flex-end !important;
    }

    .col-lg-6.col-xl-6:last-child {
        padding-bottom: 0 !important;
        align-items: flex-end !important;
    }
}
.etransma-mockup-image {
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
    max-width: 600px !important;
    object-fit: contain !important;
    position: relative !important;
    z-index: 15 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform, filter;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.4)) contrast(1.05);
    animation: fadeInUp 0.8s ease-out;
}

@media (min-width: 1025px) {
    .etransma-mockup-image {
        max-width: 100%;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .etransma-mockup-wrapper {
        max-height: calc(100vh - 80px);
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        overflow: visible;
    }

    .etransma-mockup-col {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        display: flex;
        align-items: flex-end;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.etransma-content[data-aos="fade-right"] {
    animation: fadeInRight 0.8s ease-out;
}

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

.etransma-mockup-wrapper[data-aos="fade-left"] {
    animation: fadeInLeft 0.8s ease-out 0.2s both;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* RESPONSIVE E-TRANSMA */
@media (max-width: 1024px) and (min-width: 769px) {
    .etransma-slide .container {
        padding: 2rem 1.5rem 0 1.5rem;
        overflow: hidden;
    }

    .etransma-slide {
        overflow: hidden;
    }

    .etransma-text-col {
        padding: 2rem 1rem;
        order: 0;
    }

    .etransma-mockup-col {
        padding: 2rem 1rem 0 1rem;
        order: 0;
        min-height: 100vh;
        align-items: flex-end;
    }

    .etransma-mockup-wrapper {
        padding-bottom: 0;
        padding-top: 1rem;
    }

    .etransma-title {
        font-size: 2.5rem;
    }

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

    .etransma-mockup-wrapper {
        padding: 1.5rem 1rem;
        min-height: 100%;
        max-height: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .etransma-mockup-image {
        max-width: 680px;
        width: 100%;
        height: auto;
    }

    .etransma-buttons .btn {
        width: auto;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .etransma-slide {
        padding-top: 75px; /* Espace pour le header fixe moderne */

    /* Réduire l'overlay sur mobile pour mieux voir le motif de circuit */
    .etransma-slide .etransma-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(0, 0, 0, 0.65) 0%,
                rgba(0, 0, 0, 0.60) 20%,
                rgba(0, 0, 0, 0.70) 40%,
                rgba(0, 0, 0, 0.75) 50%,
                rgba(0, 0, 0, 0.70) 60%,
                rgba(0, 0, 0, 0.60) 80%,
                rgba(0, 0, 0, 0.65) 100%
            ),
            radial-gradient(
                ellipse at 50% 50%,
                rgba(0, 0, 0, 0.2) 0%,
                transparent 60%
            ),
            radial-gradient(
                ellipse at 20% 50%,
                rgba(255, 194, 14, 0.10) 0%,
                transparent 50%
            ),
            radial-gradient(
                ellipse at 80% 50%,
                rgba(255, 194, 14, 0.10) 0%,
                transparent 50%
            ) !important;
    }

    /* Améliorer la visibilité du motif en ajustant les filtres */
    .etransma-slide-bg {
        filter: brightness(1.15) contrast(1.2) saturate(1.25) !important;
    }
    }
    /* Réduire l'overlay sur mobile pour mieux voir le motif de circuit */
    .etransma-slide .etransma-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(0, 0, 0, 0.65) 0%,
                rgba(0, 0, 0, 0.60) 20%,
                rgba(0, 0, 0, 0.70) 40%,
                rgba(0, 0, 0, 0.75) 50%,
                rgba(0, 0, 0, 0.70) 60%,
                rgba(0, 0, 0, 0.60) 80%,
                rgba(0, 0, 0, 0.65) 100%
            ),
            radial-gradient(
                ellipse at 50% 50%,
                rgba(0, 0, 0, 0.2) 0%,
                transparent 60%
            ),
            radial-gradient(
                ellipse at 20% 50%,
                rgba(255, 194, 14, 0.10) 0%,
                transparent 50%
            ),
            radial-gradient(
                ellipse at 80% 50%,
                rgba(255, 194, 14, 0.10) 0%,
                transparent 50%
            ) !important;
    }

    /* Améliorer la visibilité du motif en ajustant les filtres */
    .etransma-slide-bg {
        filter: brightness(1.15) contrast(1.2) saturate(1.25) !important;
    }

    .etransma-slide .container {
        height: auto !important;
        padding: 1rem 0.75rem 0.5rem;
        margin-bottom: 0;
    }

    .etransma-slide .row {
        height: auto !important;
    }

    .etransma-slide .col-lg-6:first-child {
        order: 1;
        text-align: center;
        padding: 1.5rem 0.75rem 1rem;
        margin-bottom: 0;
        margin-top: 0;
    }

    .etransma-slide .col-lg-6:last-child,
    .etransma-mockup-col {
        order: 2;
        min-height: auto;
        padding: 1rem 0.75rem 0 0.75rem;
        margin-top: 0;
        margin-bottom: 0;
        display: flex !important;
        align-items: flex-end;
        justify-content: center;
        overflow: visible !important;
    }

    .etransma-mockup-wrapper {
        display: flex !important;
        align-items: flex-end;
        justify-content: center;
        padding: 1rem 1rem 0 1rem;
        width: 100%;
        min-height: auto;
        height: auto;
    }

    .etransma-mockup-image {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        max-width: 480px !important;
        width: 100% !important;
        height: auto !important;
    }

    .etransma-content {
        text-align: center;
        padding: 0;
    }

    .etransma-title {
        font-size: 1.75rem;
        text-align: center;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .etransma-subtitle {
        font-size: 0.95rem;
        text-align: center;
        margin: 0 auto 1.25rem;
        max-width: 95%;
        line-height: 1.5;
        padding: 0 0.5rem;
    }

    .etransma-buttons {
        margin-top: 1.25rem;
        margin-bottom: 0.25rem;
        padding: 0 0.5rem;
    }

    .etransma-buttons .btn {
        width: 100%;
        margin: 0;
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }

    .etransma-mockup-col {
        padding: 0.5rem 0.75rem 1.5rem;
        margin-top: 0;
    }

    .etransma-mockup-wrapper {
        padding: 0.5rem 0.5rem;
        min-height: auto;
        max-height: 550px;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        overflow: visible;
    }

    .etransma-mockup-image {
        animation: fadeInUp 0.8s ease-out;
        max-width: 450px;
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .etransma-slide {
        padding-top: 70px; /* Espace pour le header fixe moderne */
    }

    .etransma-slide .container {
        padding: 0.75rem 0.5rem;
    }

    .etransma-text-col {
        padding: 1.25rem 0.5rem 0.75rem;
    }

    .etransma-mockup-col {
        padding: 0.25rem 0.5rem 1.25rem;
        margin-top: 0;
    }

    .etransma-content {
        padding: 0;
    }

    .etransma-title {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }

    .etransma-subtitle {
        font-size: 0.875rem;
        line-height: 1.4;
        margin-bottom: 1rem;
        max-width: 100%;
        padding: 0 0.25rem;
    }

    .etransma-buttons {
        gap: 0.6rem;
        margin-top: 1rem;
        margin-bottom: 0.25rem;
        padding: 0 0.25rem;
    }

    .etransma-buttons .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }

    .etransma-mockup-wrapper {
        padding: 0.25rem 0.25rem;
        min-height: auto;
        max-height: 540px;
    }

    .etransma-mockup-image {
        max-width: 440px;
        width: 100%;
        height: auto;
    }
}

/* SURCHARGE BOOTSTRAP - ITEM ACTIF */
.navbar.navbar-expand-lg.navbar-dark .navbar-nav .nav-link.active,
.navbar.navbar-expand-lg.navbar-dark .navbar-nav .nav-link.active:hover,
.navbar.navbar-expand-lg.navbar-dark .navbar-nav .nav-link.active:focus,
.navbar.navbar-expand-lg.navbar-dark .navbar-nav .nav-link.active:active {
    color: #ffffff !important;
    border: 0 !important;
    border-bottom: 0 !important;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
    text-decoration: none !important;
}

.navbar.navbar-expand-lg.navbar-dark .navbar-nav .nav-link.active::after {
    width: calc(100% - 2 * var(--spacing-sm)) !important;
    background: var(--color-yellow) !important;
    box-shadow: none !important;
}

.navbar-nav .btn-primary,
.navbar-nav .btn-primary:focus,
.navbar-nav .btn-primary:active,
.navbar-nav .btn-primary:hover,
.navbar-nav .btn-primary.active,
.navbar-nav .btn-primary.show {
    background-color: var(--color-yellow) !important;
    border-color: var(--color-yellow) !important;
    color: var(--color-black) !important;
}

.navbar-nav .btn-primary:hover,
.navbar-nav .btn-primary:focus,
.navbar-nav .btn-primary:active {
    background-color: var(--color-yellow-hover) !important;
    border-color: var(--color-yellow-hover) !important;
}


/* CARTES DE SERVICES */
.service-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    transition: var(--transition-base);
    border: 1px solid var(--color-gray-light);
    overflow: hidden;
    padding: 0;
    margin-bottom: 1.65rem;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.service-image-wrapper {
    height: 280px;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-gray-dark) 0%, var(--color-black) 100%);
    position: relative;
    margin: 0;
    padding: 0;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    display: block;
}

.service-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: var(--transition-base);
    display: block;
    margin: 0;
    padding: 0;
    border: none;
}

.service-card:hover .service-image {
    transform: scale(1.1);
}

/* Overlay avec icône centrée sur l'image */
.service-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    backdrop-filter: blur(5px);
    z-index: 2;
}

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

.service-card:hover .service-icon-overlay {
    background: rgba(0, 0, 0, 0.7);
    transform: translate(-50%, -50%) scale(1.1);
}

.service-card .card-body {
    background: var(--color-white);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
}

.service-card.card {
    padding: 0;
    margin: 0;
}

.service-card.card > *:first-child {
    margin-top: 0;
    padding-top: 0;
}

.service-card .card-title {
    font-family: var(--heading-font) !important;
    font-size: var(--font-size-h5);
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.service-card .card-text {
    font-family: var(--default-font) !important;
    font-size: var(--font-size-base);
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.service-card .btn {
    font-family: var(--default-font) !important;
    font-weight: 500;
    transition: var(--transition-base);
    border-radius: var(--border-radius);
    font-size: var(--font-size-small);
    padding: 0.5rem 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    min-width: auto;
}

.service-card .btn:hover {
    transform: translateX(5px);
}

/* Styles spécifiques pour les boutons jaunes (btn-primary) */
.service-card .btn-primary {
    background-color: var(--color-yellow) !important;
    color: var(--color-black) !important;
    border-color: var(--color-yellow) !important;
}

.service-card .btn-primary:hover {
    background-color: var(--color-yellow-hover) !important;
    border-color: var(--color-yellow-hover) !important;
    color: var(--color-black) !important;
}

/* Styles spécifiques pour les boutons noirs (btn-dark) */
.service-card .btn-dark {
    background-color: var(--color-black) !important;
    color: var(--color-white) !important;
    border-color: var(--color-black) !important;
}

.service-card .btn-dark:hover {
    background-color: var(--color-gray-dark) !important;
    border-color: var(--color-gray-dark) !important;
    color: var(--color-white) !important;
}

@media (max-width: 991px) and (min-width: 769px) {
    .service-image-wrapper {
        height: 260px;
        width: 100%;
        border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    }

    .service-card .card-body {
        min-height: 190px;
    }

    .service-icon-overlay {
        width: 75px;
        height: 75px;
    }

    .service-icon-overlay i {
        font-size: 2.25rem;
    }

    .service-card .card-title {
        font-size: var(--font-size-h5);
        margin-bottom: var(--spacing-xs);
    }

    .service-card .card-text {
        font-size: var(--font-size-base);
        margin-bottom: var(--spacing-sm);
    }
}

@media (max-width: 768px) {
    .service-card {
        margin-bottom: var(--spacing-md);
    }

    .service-image-wrapper {
        height: 250px;
        width: 100%;
        border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    }

    .service-icon-overlay {
        width: 70px;
        height: 70px;
    }

    .service-icon-overlay i {
        font-size: 2rem;
    }

    .service-card .card-body {
        padding: var(--spacing-md) !important;
        min-height: 180px;
    }

    .service-card .card-title {
        font-family: var(--heading-font) !important;
        font-size: var(--font-size-h6);
        margin-bottom: var(--spacing-xs);
        line-height: 1.3;
    }

    .service-card .card-text {
        font-family: var(--default-font) !important;
        font-size: var(--font-size-small);
        margin-bottom: var(--spacing-sm);
        line-height: 1.5;
    }

    .service-card .btn {
        font-family: var(--default-font) !important;
        font-size: var(--font-size-small);
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .service-card {
        margin-bottom: var(--spacing-md);
    }

    .service-image-wrapper {
        height: 230px;
        width: 100%;
        border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    }

    .service-icon-overlay {
        width: 60px;
        height: 60px;
    }

    .service-icon-overlay i {
        font-size: 1.75rem;
    }

    .service-card .card-body {
        padding: var(--spacing-sm) !important;
        min-height: 170px;
    }

    .service-card .card-title {
        font-family: var(--heading-font) !important;
        font-size: var(--font-size-h6);
        margin-bottom: var(--spacing-xs);
        line-height: 1.2;
    }

    .service-card .card-text {
        font-family: var(--default-font) !important;
        font-size: var(--font-size-small);
        margin-bottom: var(--spacing-xs);
        line-height: 1.4;
    }

    .service-card .btn {
        font-family: var(--default-font) !important;
        font-size: var(--font-size-small);
        padding: 0.5rem 0.875rem;
        width: 100%;
    }

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

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

@media (max-width: 360px) {
    .service-image-wrapper {
        height: 200px;
        width: 100%;
        border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    }

    .service-icon-overlay {
        width: 55px;
        height: 55px;
    }

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

    .service-card .card-body {
        padding: var(--spacing-xs) !important;
        min-height: 160px;
    }

    .service-card .card-title {
        font-family: var(--heading-font) !important;
        font-size: 0.9rem;
    }

    .service-card .card-text {
        font-family: var(--default-font) !important;
        font-size: 0.8rem;
    }
}

/* SECTION SERVICES MODERNE (Template Zotech) */
.service-section-modern {
    position: relative;
    padding: 2.5rem 0 4rem 0; /* Padding-top réduit pour diminuer l'espace avec about */
    background: var(--color-gray-light);
    overflow: hidden;
}

/* Motif réseau en arrière-plan - Thème blanc/gris */
.service-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;
    pointer-events: none;
    z-index: 0;
}

/* En-tête de section services - Design moderne */
.service-header-content {
    position: relative;
    z-index: 1;
}

.service-header-badge {
    display: inline-block;
    background: rgba(119, 119, 121, 0.15);
    color: var(--color-gray-dark);
    font-family: var(--heading-font);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.service-header-title {
    font-family: var(--heading-font);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--color-black);
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.5px;
}

.service-header-description {
    font-family: var(--default-font);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--color-gray-dark);
    margin: 0;
    padding-left: 1rem;
}

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

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

.services-section-eam .section-title {
    color: var(--color-black);
    margin-bottom: 0.75rem; /* Espace réduit entre titre et sous-titre */
}

.services-section-eam .section-subtitle {
    color: var(--color-gray-dark);
    margin-bottom: 2.5rem; /* Espace entre sous-titre et cartes */
}

/* Carte de service E-AM */
.service-card-eam {
    position: relative;
    background: transparent;
    border-radius: 16px 16px 16px 16px;
    border-top-left-radius: 0; /* Supprimé pour avoir une ligne droite */
    overflow: hidden;
    margin-bottom: 1.5rem; /* Espace réduit entre les cartes */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    min-height: 480px; /* Hauteur ajustée */
    /* Coin haut gauche coupé avec ligne oblique droite */
    clip-path: polygon(80px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 40px);
}

.service-card-eam:hover {
    transform: translateY(-8px);
}

/* Image de service - occupe toute la carte */
.service-image-eam {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 16px 16px 16px 16px;
    border-top-left-radius: 0; /* Supprimé pour avoir une ligne droite */
    background: linear-gradient(135deg, var(--color-gray-dark) 0%, var(--color-black) 100%);
    z-index: 1;
    /* Coin haut gauche coupé avec ligne oblique droite */
    clip-path: polygon(80px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 40px);
}

.service-image-eam img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* Bloc contenu texte - Glassmorphism (effet verre dépoli) */
.service-content-eam {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.7); /* Fond blanc plus transparent pour voir l'image */
    backdrop-filter: blur(8px); /* Effet de flou légèrement réduit */
    -webkit-backdrop-filter: blur(8px); /* Support Safari */
    border-radius: 12px; /* Coins arrondis sur tous les côtés */
    padding: 1.5rem 1.5rem 1.5rem;
    margin: 0.75rem 1.25rem 1.25rem 1.25rem; /* marges latérales et bas agrandies */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3); /* Bordure subtile pour l'effet glass */
    min-height: 200px; /* Hauteur minimale augmentée pour que tout le texte entre */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    padding-top: 1.5rem; /* Padding-top normal */
    box-sizing: border-box;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Hover sur la carte - Bloc de texte plus opaque avec glow */
.service-card-eam:hover .service-content-eam {
    background: rgba(255, 255, 255, 0.85); /* Plus opaque au hover mais pas trop */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 255, 255, 0.3); /* Glow effect */
    border-color: rgba(255, 255, 255, 0.5); /* Bordure plus visible */
}

/* Icône circulaire flottante - masquée */
.service-icon-eam {
    display: none; /* Icônes masquées */
}

/* Styles icône supprimés car masquée */

/* Cercle avec icône au-dessus du titre - masqué */
.service-icon-circle-eam {
    display: none; /* Cercle d'icône masqué */
}

/* Styles du cercle d'icône supprimés car masqué */

.service-title-eam {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1.3;
}

.service-description-eam {
    font-family: var(--default-font);
    font-size: 0.95rem;
    color: var(--color-gray);
    text-align: center;
    line-height: 1.6;
    margin: 0 0 1.25rem 0; /* Marge en bas pour le bouton */
}

/* Bouton de service - Design tech professionnel */
.service-btn-eam {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--heading-font);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-top: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Boutons jaunes pour les cartes impaires (1, 3, 5, 7, 9) */
.row > div:nth-child(odd) .service-btn-eam {
    background: linear-gradient(135deg, var(--color-yellow) 0%, var(--color-yellow-hover) 100%);
    color: var(--color-black);
    box-shadow: 0 2px 8px rgba(255, 194, 14, 0.3);
}

.row > div:nth-child(odd) .service-btn-eam::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.row > div:nth-child(odd) .service-btn-eam:hover {
    background: linear-gradient(135deg, var(--color-yellow-hover) 0%, var(--color-yellow) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 194, 14, 0.5);
    color: var(--color-black);
    text-decoration: none;
}

/* Boutons noirs pour les cartes paires (2, 4, 6, 8) */
.row > div:nth-child(even) .service-btn-eam {
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-gray-dark) 100%);
    color: var(--color-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.row > div:nth-child(even) .service-btn-eam::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.row > div:nth-child(even) .service-btn-eam:hover {
    background: linear-gradient(135deg, var(--color-gray-dark) 0%, var(--color-black) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color: var(--color-white);
    text-decoration: none;
}

.row > div:nth-child(odd) .service-btn-eam:hover::before,
.row > div:nth-child(even) .service-btn-eam:hover::before {
    left: 100%;
}

.service-btn-eam:hover i {
    transform: translateX(4px);
}

.service-btn-eam i {
    font-size: 1rem;
    transition: transform 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.service-btn-eam span {
    position: relative;
    z-index: 1;
}

/* Responsive - Tablette */
@media (max-width: 991px) and (min-width: 769px) {
    .service-section-modern {
        padding: 3.5rem 0; /* Padding réduit pour tablette */
    }

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

    .service-header-description {
        font-size: 1rem;
        padding-left: 0;
        margin-top: 1.5rem;
    }

    .services-section-eam .section-title {
        margin-bottom: 0.625rem; /* Espace réduit entre titre et sous-titre */
    }

    .services-section-eam .section-subtitle {
        margin-bottom: 2rem; /* Espace entre sous-titre et cartes */
    }

    .service-card-eam {
        min-height: 460px; /* Hauteur ajustée pour tablette */
    }


    .service-icon-eam {
        width: 65px; /* Taille réduite */
        height: 65px; /* Taille réduite */
        bottom: calc(190px + 0.75rem - 32.5px); /* Centre exactement à la limite du bloc texte */
    }

    .service-icon-eam i {
        font-size: 1.6rem; /* Taille réduite */
    }

    .service-content-eam {
        padding: 1.5rem 1.5rem 1.5rem;
        margin: 0.75rem 1.25rem 1.25rem 1.25rem; /* marges latérales et bas égales au desktop */
        min-height: 190px; /* Hauteur minimale augmentée */
        padding-top: 1.5rem; /* Padding-top normal */
    }

    .service-title-eam {
        font-size: 1.35rem;
        margin-bottom: 0.875rem;
    }

    .service-description-eam {
        font-size: 0.9rem;
    }

    .service-btn-eam {
        padding: 0.625rem 1.25rem;
        font-size: 0.8125rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .service-section-modern {
        padding: 3rem 0; /* Padding réduit pour mobile */
    }

    .service-header-title {
        font-size: 2rem;
    }

    .service-header-description {
        font-size: 0.9375rem;
        padding-left: 0;
        margin-top: 1.25rem;
    }

    .service-header-badge {
        font-size: 0.6875rem;
        padding: 0.4375rem 0.875rem;
        margin-bottom: 1.25rem;
    }

    .services-section-eam .section-title {
        margin-bottom: 0.5rem; /* Espace réduit entre titre et sous-titre */
    }

    .services-section-eam .section-subtitle {
        margin-bottom: 1.75rem; /* Espace entre sous-titre et cartes */
    }

    .service-card-eam {
        margin-bottom: 1.25rem; /* Espace réduit entre les cartes sur mobile */
    }

    .service-card-eam {
        min-height: 430px; /* Hauteur ajustée pour mobile */
    }

    .service-icon-eam {
        width: 60px; /* Taille réduite */
        height: 60px; /* Taille réduite */
        bottom: calc(180px + 0.75rem - 30px); /* Centre exactement à la limite du bloc texte */
    }

    .service-icon-eam i {
        font-size: 1.5rem; /* Taille réduite */
    }

    .service-content-eam {
        padding: 1.25rem 1.25rem 1.25rem;
        margin: 0.75rem 1rem 1rem 1rem; /* marges latérales et bas harmonisées */
        min-height: 180px; /* Hauteur minimale augmentée */
        padding-top: 1.25rem; /* Padding-top normal */
    }

    .service-title-eam {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .service-description-eam {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .service-btn-eam {
        padding: 0.625rem 1.125rem;
        font-size: 0.8125rem;
    }
}

/* Responsive - Petit mobile */
@media (max-width: 480px) {
    .service-section-modern {
        padding: 2.5rem 0; /* Padding réduit pour petit mobile */
    }

    .service-header-title {
        font-size: 1.75rem;
    }

    .service-header-description {
        font-size: 0.875rem;
        padding-left: 0;
        margin-top: 1rem;
    }

    .service-header-badge {
        font-size: 0.625rem;
        padding: 0.375rem 0.75rem;
        margin-bottom: 1rem;
    }

    .services-section-eam .section-title {
        margin-bottom: 0.5rem; /* Espace réduit entre titre et sous-titre */
    }

    .services-section-eam .section-subtitle {
        margin-bottom: 1.5rem; /* Espace entre sous-titre et cartes */
    }

    .service-card-eam {
        margin-bottom: 1rem; /* Espace réduit entre les cartes sur petit mobile */
    }

    .service-card-eam {
        min-height: 390px; /* Hauteur ajustée pour petit mobile */
    }

    .service-icon-eam {
        width: 55px; /* Taille réduite */
        height: 55px; /* Taille réduite */
        bottom: calc(170px + 0.5rem - 27.5px); /* Centre exactement à la limite du bloc texte */
    }

    .service-icon-eam i {
        font-size: 1.4rem; /* Taille réduite */
    }

    .service-content-eam {
        padding: 1rem 1rem 1rem;
        margin: 0.75rem 0.75rem 0.75rem 0.75rem; /* marges latérales et bas harmonisées */
        min-height: 170px; /* Hauteur minimale augmentée */
        padding-top: 1rem; /* Padding-top normal */
    }

    .service-title-eam {
        font-size: 1.15rem;
        margin-bottom: 0.625rem;
    }

    .service-description-eam {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .service-btn-eam {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        width: 100%;
    }
}

/* ========================================
   CARTES DE SERVICES - DESIGN MODERNE ÉPURÉ
   ======================================== */

.service-card-eam-modern {
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    height: 100%;
    min-height: 450px; /* Hauteur réduite */
    display: flex;
    flex-direction: column;
}

.service-card-eam-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 194, 14, 0.3);
}

/* Image en haut */
.service-image-wrapper-modern {
    width: 100%;
    height: 220px; /* Augmenté pour agrandir l'image */
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-gray-dark) 0%, var(--color-black) 100%);
    position: relative;
    flex-shrink: 0;
}

.service-image-modern {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card-eam-modern:hover .service-image-modern {
    transform: scale(1.05);
}

/* Contenu */
.service-content-modern {
    padding: 1rem 1.5rem 1.25rem; /* Padding réduit pour diminuer la hauteur */
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0; /* Permet au flex de fonctionner correctement */
}

/* Header avec icône et titre */
.service-header-modern {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 0.625rem; /* Marge légèrement réduite */
}

.service-icon-modern {
    width: 50px; /* Réduit */
    height: 50px; /* Réduit */
    min-width: 50px;
    background: linear-gradient(135deg, rgba(255, 194, 14, 0.1) 0%, rgba(119, 119, 121, 0.1) 100%);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 194, 14, 0.2);
    flex-shrink: 0;
}

.service-card-eam-modern:hover .service-icon-modern {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(255, 194, 14, 0.2) 0%, rgba(119, 119, 121, 0.2) 100%);
    border-color: rgba(255, 194, 14, 0.4);
}

.service-icon-img-modern {
    width: 28px; /* Réduit */
    height: 28px; /* Réduit */
    object-fit: contain;
}

.service-title-modern {
    font-family: var(--heading-font);
    font-size: 1.35rem; /* Légèrement réduit */
    font-weight: 700;
    color: var(--color-black);
    margin: 0;
    line-height: 1.3;
}

/* Description */
.service-description-modern {
    font-family: var(--default-font);
    font-size: 0.9rem;
    color: var(--color-gray);
    line-height: 1.5;
    margin-bottom: 0.625rem; /* Marge réduite */
    flex-shrink: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limite à 2 lignes */
    line-clamp: 2; /* Propriété standard */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Liste de points clés */
.service-features-modern {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem 0; /* Marge réduite */
    flex: 1;
    min-height: 0;
}

.service-features-modern li {
    font-family: var(--default-font);
    font-size: 0.875rem; /* Taille réduite */
    color: var(--color-gray-dark);
    font-weight: 500;
    line-height: 1.6; /* Réduit */
    padding-left: 1.5rem; /* Réduit */
    position: relative;
    margin-bottom: 0.4rem; /* Espacement réduit */
}

.service-features-modern li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-yellow);
    font-weight: 700;
    font-size: 1rem; /* Taille réduite */
    top: 0;
}

/* Bouton CTA */
.service-btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem; /* Réduit */
    font-family: var(--heading-font);
    font-size: 0.8125rem; /* Réduit */
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

/* Boutons alternés jaune/noir */
.service-section-modern .row > div:nth-child(odd) .service-btn-modern {
    background: linear-gradient(135deg, var(--color-yellow) 0%, var(--color-yellow-hover) 100%);
    color: var(--color-black);
    box-shadow: 0 2px 8px rgba(255, 194, 14, 0.3);
}

.service-section-modern .row > div:nth-child(odd) .service-btn-modern:hover {
    background: linear-gradient(135deg, var(--color-yellow-hover) 0%, var(--color-yellow) 100%);
    box-shadow: 0 4px 12px rgba(255, 194, 14, 0.4);
    transform: translateY(-2px);
}

.service-section-modern .row > div:nth-child(even) .service-btn-modern {
    background: var(--color-black);
    color: var(--color-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.service-section-modern .row > div:nth-child(even) .service-btn-modern:hover {
    background: var(--color-gray-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 991px) {
    .service-card-eam-modern {
        min-height: 430px; /* Hauteur réduite */
    }

    .service-image-wrapper-modern {
        height: 200px;
    }

    .service-content-modern {
        padding: 0.875rem 1.25rem 1.125rem; /* Réduit */
    }

    .service-icon-modern {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }

    .service-icon-img-modern {
        width: 26px;
        height: 26px;
    }

    .service-title-modern {
        font-size: 1.25rem;
    }

    .service-description-modern {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .service-features-modern {
        margin-bottom: 0.875rem;
    }

    .service-features-modern li {
        font-size: 0.8rem; /* Taille réduite */
        color: var(--color-gray-dark);
        line-height: 1.5;
        margin-bottom: 0.35rem;
    }

    .service-features-modern li::before {
        font-size: 0.95rem; /* Taille réduite */
    }
}

@media (max-width: 768px) {
    .service-card-eam-modern {
        min-height: 400px; /* Hauteur réduite */
    }

    .service-image-wrapper-modern {
        height: 180px;
    }

    .service-content-modern {
        padding: 0.875rem 1.125rem 1rem; /* Réduit */
    }

    .service-header-modern {
        gap: 0.625rem; /* Réduit */
        margin-bottom: 0.625rem;
    }

    .service-icon-modern {
        width: 45px;
        height: 45px;
        min-width: 45px;
    }

    .service-icon-img-modern {
        width: 22px;
        height: 22px;
    }

    .service-title-modern {
        font-size: 1.15rem;
    }

    .service-description-modern {
        font-size: 0.8rem;
        margin-bottom: 0.625rem;
    }

    .service-features-modern {
        margin-bottom: 0.625rem;
    }

    .service-features-modern li {
        font-size: 0.75rem; /* Taille réduite */
        color: var(--color-gray-dark);
        line-height: 1.4;
        margin-bottom: 0.3rem;
    }

    .service-features-modern li::before {
        font-size: 0.875rem; /* Taille réduite */
    }

    .service-btn-modern {
        padding: 0.625rem 1.25rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .service-card-eam-modern {
        min-height: 380px; /* Hauteur légèrement réduite */
    }

    .service-image-wrapper-modern {
        height: 160px; /* Augmenté pour petit mobile */
    }

    .service-content-modern {
        padding: 0.875rem 1rem 1rem;
    }

    .service-icon-modern {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .service-icon-img-modern {
        width: 20px;
        height: 20px;
    }

    .service-title-modern {
        font-size: 1.1rem;
    }

    .service-description-modern {
        font-size: 0.75rem;
    }

    .service-features-modern li {
        font-size: 0.85rem; /* Taille augmentée pour petit mobile */
        color: var(--color-gray-dark);
        line-height: 1.5;
    }

    .service-features-modern li::before {
        font-size: 0.95rem;
    }
}

/* PAGES DE SERVICES */
.hero-service {
    position: relative;
    overflow: hidden;
    padding-top: 105px; /* Espace pour le header fixe moderne (85px + 20px) */
}

.hero-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/img/etransma-image.png') center/cover;
    opacity: 0.15;
    z-index: 1;
}

/* Désactiver le ::before pour les pages avec leur propre image de fond */
.hero-service-esafema::before {
    display: none !important;
}

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

.hero-service h1 {
    margin-top: 0;
    font-size: 2.75rem; /* Taille agrandie pour plus de visibilité */
    font-weight: 700;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .hero-service {
        padding-top: 95px; /* Ajustement pour tablette (75px + 20px) */
    }

    .hero-service h1 {
        margin-top: 0;
        font-size: 2.25rem; /* Taille responsive pour tablettes */
    }
}

@media (max-width: 480px) {
    .hero-service {
        padding-top: 80px; /* Ajustement pour petits mobiles (70px + 10px) */
    }

    .hero-service h1 {
        margin-top: 0;
        font-size: 2rem; /* Taille responsive pour mobiles */
    }
}

/* ========================================
   SECTION ÉQUIPE - STYLES
   ======================================== */

.team-section-modern {
    position: relative;
    padding: 4rem 0 0.5rem 0; /* Padding réduit en bas pour réduire l'espace avec CTA */
    background: #FFFFFF;
    overflow: hidden;
}

/* Tag "OUR TEAM MEMBER" */
.team-tag {
    display: inline-block;
    background: var(--color-gray-light);
    color: var(--color-gray-dark);
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-family: var(--heading-font);
}

/* Titre de la section équipe */
.team-title {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 1rem;
    text-align: center;
}

/* Sous-titre de la section équipe */
.team-subtitle {
    font-family: var(--default-font);
    font-size: 1rem;
    color: var(--color-gray-dark);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Carte membre d'équipe */
.team-card-eam {
    position: relative;
    background: transparent;
    border-radius: 16px 16px 16px 16px;
    border-top-left-radius: 0;
    overflow: hidden;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    min-height: 450px;
    /* Coin haut gauche coupé avec ligne oblique droite */
    clip-path: polygon(80px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 40px);
}

.team-card-eam:hover {
    transform: translateY(-8px);
}

/* Image membre d'équipe - hauteur réduite verticalement */
.team-image-eam {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    bottom: 80px; /* Augmenté pour réduire la hauteur de l'image verticalement */
    overflow: hidden;
    border-radius: 16px 16px 16px 16px;
    border-top-left-radius: 0;
    background: linear-gradient(135deg, var(--color-gray-dark) 0%, var(--color-black) 100%);
    z-index: 1;
    /* Coin haut gauche coupé avec ligne oblique droite */
    clip-path: polygon(80px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 40px);
}

.team-image-eam img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* Bloc contenu texte - Fond blanc qui chevauche l'image */
.team-content-eam {
    position: absolute;
    bottom: 1rem; /* Augmenté pour que le bloc chevauche l'image */
    left: 1.25rem; /* Marge à gauche à l'intérieur de la carte */
    right: 1.25rem; /* Marge à droite à l'intérieur de la carte */
    background: var(--color-white); /* Fond blanc pur */
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 3; /* Augmenté pour être au-dessus de l'image */
    box-sizing: border-box;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.team-card-eam:hover .team-content-eam {
    background: var(--color-white); /* Fond blanc pur au survol */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
    border-color: rgba(0, 0, 0, 0.12);
}

/* Position du membre */
.team-position {
    font-family: var(--default-font);
    font-size: 0.875rem;
    color: var(--color-gray);
    margin: 0 0 0.5rem 0;
    text-align: center;
    font-weight: 400;
}

/* Nom du membre */
.team-name {
    font-family: var(--heading-font);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-black);
    margin: 0;
    text-align: center;
    line-height: 1.3;
}

/* ========================================
   CARROUSEL ÉQUIPE - STYLES
   ======================================== */

/* Wrapper pour la navigation équipe - positionné en haut à droite */
.team-navigation-wrapper {
    position: absolute;
    top: -60px;
    right: 0;
    display: flex;
    gap: 0.75rem;
    z-index: 10;
    margin-bottom: 2rem;
}

/* Navigation équipe - Design moderne au coin droit */
.team-nav-next,
.team-nav-prev {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 0 !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-gray-light);
    color: var(--color-gray-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-nav-next:hover,
.team-nav-prev:hover {
    background: var(--color-gray-dark);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.team-nav-next::after,
.team-nav-prev::after {
    font-size: 1rem;
    font-weight: 700;
}

.team-nav-prev::after {
    content: '←';
}

.team-nav-next::after {
    content: '→';
}

/* Carrousel équipe */
.team-swiper {
    padding: 2rem 0 1.5rem; /* Padding réduit en bas pour réduire l'espace avec CTA */
    overflow: hidden; /* Empêcher le débordement des slides */
}

.team-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.team-swiper .swiper-slide {
    height: auto;
    display: flex;
    width: auto; /* Permettre à Swiper de calculer la largeur */
}

.team-swiper .team-card-eam {
    width: 100%;
    margin-bottom: 0;
}

/* Pagination équipe */
.team-pagination {
    bottom: 0 !important;
    position: relative;
    margin-top: 1.5rem; /* Marge réduite pour diminuer l'espace */
    margin-bottom: 0; /* Pas de marge en bas */
}

.team-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--color-gray);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.team-pagination .swiper-pagination-bullet-active {
    background: var(--color-black);
    opacity: 1;
    transform: scale(1.2);
}

/* Responsive - Tablette */
@media (max-width: 991px) and (min-width: 769px) {
    .team-section-modern {
        padding: 4rem 0 0.5rem 0; /* Padding réduit en bas pour tablette */
    }

    .team-swiper {
        padding: 2rem 0 1.25rem; /* Padding réduit en bas pour tablette */
    }

    .team-pagination {
        margin-top: 1.25rem; /* Marge réduite pour tablette */
    }

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

    .team-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2.5rem;
    }

    .team-card-eam {
        min-height: 420px;
    }

    .team-image-eam {
        bottom: 70px; /* Augmenté pour réduire la hauteur de l'image verticalement */
    }

    .team-content-eam {
        padding: 1rem 1.25rem;
        bottom: 0.75rem; /* Ajusté pour chevaucher l'image */
        left: 1rem;
        right: 1rem;
    }

    .team-name {
        font-size: 1.15rem;
    }

    .team-navigation-wrapper {
        top: -55px;
    }

    .team-nav-next,
    .team-nav-prev {
        width: 45px;
        height: 45px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .team-section-modern {
        padding: 3.5rem 0 0.5rem 0; /* Padding réduit en bas pour réduire l'espace avec CTA */
    }

    .team-swiper {
        padding: 2rem 0 1rem; /* Padding réduit en bas pour mobile */
    }

    .team-pagination {
        margin-top: 1rem; /* Marge réduite pour mobile */
    }

    .team-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .team-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    .team-card-eam {
        min-height: 400px;
        margin-bottom: 1.25rem;
    }

    .team-image-eam {
        bottom: 65px; /* Augmenté pour réduire la hauteur de l'image verticalement */
    }

    .team-content-eam {
        padding: 1rem 1.25rem;
        bottom: 0.75rem; /* Ajusté pour chevaucher l'image */
        left: 1rem;
        right: 1rem;
    }

    .team-name {
        font-size: 1.1rem;
    }

    .team-position {
        font-size: 0.8125rem;
    }

    .team-navigation-wrapper {
        top: -50px;
    }

    .team-nav-next,
    .team-nav-prev {
        width: 45px;
        height: 45px;
    }

    .team-nav-next::after,
    .team-nav-prev::after {
        font-size: 0.9rem;
    }
}

/* Responsive - Petit mobile */
@media (max-width: 480px) {
    .team-section-modern {
        padding: 3rem 0 0.5rem 0; /* Padding réduit en bas pour réduire l'espace avec CTA */
    }

    .team-swiper {
        padding: 1.5rem 0 0.75rem; /* Padding réduit en bas pour petit mobile */
    }

    .team-pagination {
        margin-top: 0.75rem; /* Marge réduite pour petit mobile */
    }

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

    .team-subtitle {
        font-size: 0.875rem;
        margin-bottom: 1.75rem;
    }

    .team-card-eam {
        min-height: 380px;
        margin-bottom: 1rem;
    }

    .team-image-eam {
        bottom: 60px; /* Augmenté pour réduire la hauteur de l'image verticalement */
    }

    .team-content-eam {
        padding: 0.875rem 1rem;
        bottom: 0.5rem; /* Ajusté pour chevaucher l'image */
        left: 0.75rem;
        right: 0.75rem;
    }

    .team-name {
        font-size: 1rem;
    }

    .team-position {
        font-size: 0.75rem;
    }

    .team-navigation-wrapper {
        top: -45px;
    }

    .team-nav-next,
    .team-nav-prev {
        width: 40px;
        height: 40px;
    }

    .team-nav-next::after,
    .team-nav-prev::after {
        font-size: 0.8rem;
    }
}

/* ========================================
   PAGE E-TRANSMA - STYLES SPÉCIFIQUES
   ======================================== */

/* Logo E-Transma dans hero-service */
.hero-service-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.75rem; /* Réduit l'espace entre le logo et le titre */
    margin-top: 2.5rem; /* Espace pour descendre le logo sous le header */
}

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

.hero-service-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 15px rgba(255, 255, 255, 0.2));
}

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

    .hero-service-logo-wrapper {
        margin-bottom: 0.5rem; /* Réduit l'espace sur tablette */
        margin-top: 2rem; /* Espace pour descendre le logo sur tablette */
    }
}

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

    .hero-service-logo-wrapper {
        margin-bottom: 0.5rem; /* Réduit l'espace sur mobile */
        margin-top: 1.5rem; /* Espace pour descendre le logo sur mobile */
    }
}

/* Logo en filigrane dans service-content */
.service-logo-watermark {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
    max-width: 200px;
    max-height: 200px;
    overflow: hidden;
}

.service-logo-watermark img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.service-content-inner {
    position: relative;
    z-index: 1;
}

/* Section Description - Hauteur uniforme pour tous les services */
section.py-5 .row.align-items-stretch .col-lg-6 {
    display: flex;
}

section.py-5 .row.align-items-stretch .service-image-wrapper {
    height: 100%;
    display: flex;
    overflow: hidden;
    min-height: 450px;
}

section.py-5 .row.align-items-stretch .service-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
}

section.py-5 .row.align-items-stretch .service-content {
    height: 100%;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 991px) {
    section.py-5 .row.align-items-stretch .service-image-wrapper {
        height: auto;
        min-height: 350px;
    }

    section.py-5 .row.align-items-stretch .service-image-wrapper img {
        height: auto;
        min-height: 350px;
    }

    section.py-5 .row.align-items-stretch .service-content {
        min-height: auto;
        height: auto;
        padding-top: 2rem;
    }
}

/* Section Description E-Transma - Hauteur égale image et texte */
.etransma-description-section .row {
    min-height: 450px;
}

.etransma-description-section .col-lg-6 {
    height: 100%;
}

.etransma-description-section .service-image-wrapper {
    height: 100%;
    display: flex;
    overflow: hidden;
}

.etransma-description-section .service-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
}

.etransma-description-section .service-content {
    height: 100%;
    min-height: 450px;
}

@media (max-width: 991px) {
    .etransma-description-section .row {
        min-height: auto;
    }

    .etransma-description-section .service-image-wrapper {
        height: auto;
        min-height: 350px;
    }

    .etransma-description-section .service-image-wrapper img {
        height: auto;
        min-height: 350px;
    }

    .etransma-description-section .service-content {
        min-height: auto;
        height: auto;
    }
}

@media (max-width: 768px) {
    .service-logo-watermark {
        max-width: 120px;
        max-height: 120px;
        top: -10px;
        right: -10px;
    }
}

/* Section CTA E-Transma */
.cta-section-etransma {
    overflow: hidden;
}

.cta-logo-watermark {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
    max-width: 400px;
    max-height: 400px;
    overflow: hidden;
}

.cta-logo-watermark img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.cta-header-etransma {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-logo-small {
    max-height: 60px;
    height: auto;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .cta-logo-watermark {
        max-width: 250px;
        max-height: 250px;
        right: -50px;
    }

    .cta-header-etransma {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cta-logo-small {
        max-height: 50px;
    }

    .cta-header-etransma .section-title {
        font-size: 1.75rem;
    }
}

/* Section Solutions par profil E-Transma - Layout alterné avec images */
.etransma-profiles-section {
    overflow: hidden;
}

.etransma-profile-item {
    margin-bottom: 4rem;
}

.etransma-profile-item .col-lg-6.d-flex {
    display: flex;
    flex-direction: column;
}

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

.etransma-profile-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    height: 100%;
}

.etransma-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.etransma-profile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
    border-radius: 15px;
}

.etransma-profile-icon {
    transform: scale(0.8);
}

.etransma-profile-content {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.etransma-profile-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.etransma-profile-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--color-yellow);
    border-radius: 2px;
}

.etransma-profile-content .lead {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.etransma-profile-content h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.etransma-profile-content ul {
    margin-bottom: 1.5rem;
}

.etransma-profile-content li {
    font-size: 1rem;
    line-height: 1.8;
}

@media (max-width: 991px) {
    .etransma-profile-image-wrapper {
        margin-bottom: 2rem;
    }

    .etransma-profile-content {
        padding: 1.5rem;
    }

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

    .etransma-profile-content .lead {
        font-size: 1.05rem;
    }
}

@media (max-width: 768px) {
    .etransma-profile-item {
        margin-bottom: 3rem;
    }

    .etransma-profile-content {
        padding: 1rem;
    }

    .etransma-profile-content h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .etransma-profile-content .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .etransma-profile-content h5 {
        font-size: 1.1rem;
    }

    .etransma-profile-content li {
        font-size: 0.95rem;
    }
}

/* Section Téléchargement E-Transma - Taille ajustée */
.etransma-download-section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.etransma-download-logo {
    max-height: 60px !important;
}

.etransma-download-title {
    font-size: 2.25rem !important;
}

.etransma-download-subtitle {
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
}

.etransma-download-button {
    max-width: 170px !important;
    max-height: 55px !important;
}

.etransma-download-mockup {
    min-height: 300px !important;
    max-height: 400px !important;
}

.etransma-download-mockup-image {
    max-height: 400px !important;
}

@media (max-width: 768px) {
    .etransma-download-section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .etransma-download-logo {
        max-height: 50px !important;
    }

    .etransma-download-title {
        font-size: 1.75rem !important;
    }

    .etransma-download-subtitle {
        font-size: 0.95rem !important;
    }

    .etransma-download-button {
        max-width: 150px !important;
        max-height: 50px !important;
    }

    .etransma-download-mockup {
        min-height: 250px !important;
        max-height: 320px !important;
    }

    .etransma-download-mockup-image {
        max-height: 320px !important;
    }
}

/* BREADCRUMB */
.breadcrumb-wrapper,
.service-breadcrumb {
    font-family: var(--default-font);
    font-size: 0.95rem;
}

.breadcrumb-wrapper .breadcrumb,
.service-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumb-wrapper .breadcrumb-item,
.service-breadcrumb .breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-wrapper .breadcrumb-item + .breadcrumb-item::before,
.service-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: rgba(255, 255, 255, 0.5);
    padding: 0 0.75rem;
    font-weight: 300;
}

.breadcrumb-wrapper .breadcrumb-item a,
.service-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
}

.breadcrumb-wrapper .breadcrumb-item a:hover,
.service-breadcrumb .breadcrumb-item a:hover {
    color: var(--color-white);
    text-decoration: none;
}

.breadcrumb-wrapper .breadcrumb-item.active,
.service-breadcrumb .breadcrumb-item.active {
    color: var(--color-white);
    font-weight: 500;
}

.breadcrumb-wrapper .breadcrumb-item i,
.service-breadcrumb .breadcrumb-item i {
    font-size: 0.9rem;
}

.bg-light .breadcrumb-wrapper .breadcrumb-item + .breadcrumb-item::before,
.bg-white .breadcrumb-wrapper .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(0, 0, 0, 0.4);
}

.bg-light .breadcrumb-wrapper .breadcrumb-item a,
.bg-white .breadcrumb-wrapper .breadcrumb-item a {
    color: rgba(0, 0, 0, 0.6);
}

.bg-light .breadcrumb-wrapper .breadcrumb-item a:hover,
.bg-white .breadcrumb-wrapper .breadcrumb-item a:hover {
    color: var(--color-black);
}

.bg-light .breadcrumb-wrapper .breadcrumb-item.active,
.bg-white .breadcrumb-wrapper .breadcrumb-item.active {
    color: var(--color-black);
}

@media (max-width: 768px) {
    .breadcrumb-wrapper,
    .service-breadcrumb {
        font-size: 0.875rem;
    }

    .breadcrumb-wrapper .breadcrumb-item + .breadcrumb-item::before,
    .service-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .breadcrumb-wrapper,
    .service-breadcrumb {
        font-size: 0.8rem;
    }

    .breadcrumb-wrapper .breadcrumb-item + .breadcrumb-item::before,
    .service-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 0.4rem;
    }

    .breadcrumb-wrapper .breadcrumb-item i,
    .service-breadcrumb .breadcrumb-item i {
        font-size: 0.85rem;
    }
}


/* Cartes de fonctionnalités */
.feature-card {
    transition: var(--transition-base);
    border: 1px solid var(--color-gray-light);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-yellow);
}

.feature-icon {
    transition: var(--transition-base);
}

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

/* Responsive pour les pages de services */
@media (max-width: 768px) {
    .hero-service {
        min-height: 40vh;
    }

    .service-content {
        padding-top: var(--spacing-md);
    }
}

/* Section CTA - Boutons */
.cta-buttons {
    margin-top: var(--spacing-lg);
}

.cta-buttons .btn {
    padding: 0.875rem 2.25rem;
    font-size: 1.0625rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive pour les boutons CTA */
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* ========================================
   SECTION VISION & MISSION - PAGE À PROPOS
   ======================================== */

.vision-mission-card {
    transition: var(--transition-base);
    border: 1px solid var(--color-gray-light);
}

.vision-mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-yellow);
}

.vision-mission-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.vision-mission-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-gray-light);
    color: var(--color-gray-dark);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition-base);
}

.vision-mission-card:hover .vision-mission-icon {
    background-color: var(--color-gray-light);
    color: var(--color-black);
    transform: scale(1.05);
}

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

.vision-mission-text {
    font-family: var(--default-font);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-gray);
    margin-bottom: 0;
}

/* Responsive pour Vision & Mission */
@media (max-width: 768px) {
    .vision-mission-header {
        gap: 1rem;
    }

    .vision-mission-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }

    .vision-mission-title {
        font-size: 1.25rem;
    }

    .vision-mission-text {
        font-size: 1rem;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .vision-mission-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .vision-mission-title {
        font-size: 1.125rem;
    }

    .vision-mission-text {
        font-size: 0.95rem;
    }
}


/* ========================================
   CARTES E-SAFEMA - DESIGN PROFESSIONNEL
   ======================================== */

/* Cartes de maintenance E-Safema */
.esafema-service-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
}

.esafema-service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-yellow) 0%, var(--color-gray) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.esafema-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 194, 14, 0.3);
}

.esafema-service-card:hover::after {
    opacity: 1;
}

.esafema-service-card .service-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(255, 194, 14, 0.1) 0%, rgba(119, 119, 121, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.esafema-service-card:hover .service-icon-wrapper {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(255, 194, 14, 0.2) 0%, rgba(119, 119, 121, 0.2) 100%);
}

.esafema-service-card .service-icon-wrapper i {
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.esafema-service-card:hover .service-icon-wrapper i {
    transform: scale(1.1);
}

.esafema-service-card .service-title {
    font-family: var(--heading-font);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 1rem;
}

.esafema-service-card .service-description {
    font-family: var(--default-font);
    font-size: 0.95rem;
    color: var(--color-gray);
    margin-bottom: 1.25rem;
}

.esafema-service-card .service-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.esafema-service-card .service-features-list li {
    font-family: var(--default-font);
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-gray-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.esafema-service-card .service-features-list li:last-child {
    margin-bottom: 0;
}

.esafema-service-card .service-features-list i {
    color: var(--color-green);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.esafema-service-card .service-features-list .text-danger i {
    color: var(--color-yellow);
}

.esafema-service-card .service-advantages {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.esafema-service-card .service-advantages-title {
    font-family: var(--heading-font);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-green);
    margin-bottom: 0.75rem;
    text-align: left;
}

.esafema-service-card .service-advantages-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.esafema-service-card .service-advantages-list li {
    font-family: var(--default-font);
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--color-gray-dark);
    margin-bottom: 0.375rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.esafema-service-card .service-advantages-list li:last-child {
    margin-bottom: 0;
}

.esafema-service-card .service-advantages-list i {
    color: var(--color-green);
    font-size: 0.75rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.esafema-service-card .service-badge {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--border-radius);
    display: inline-block;
    margin-top: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.esafema-service-card:hover .service-badge {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive pour les cartes E-Safema */
@media (max-width: 768px) {
    .esafema-service-card {
        padding: 1.5rem 1.25rem;
    }

    .esafema-service-card .service-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 1.25rem;
    }

    .esafema-service-card .service-icon-wrapper i {
        font-size: 2.25rem;
    }
}

@media (max-width: 480px) {
    .esafema-service-card {
        padding: 1.25rem 1rem;
    }

    .esafema-service-card .service-icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .esafema-service-card .service-icon-wrapper i {
        font-size: 2rem;
    }

    .esafema-service-card .service-title {
        font-size: 1.125rem;
    }
}

/* ========================================
   SECTION PROCESSUS E-SAFEMA (HOW IT WORKS)
   ======================================== */

.esafema-process-section {
    position: relative;
    padding: 80px 0;
    overflow: visible;
    background-color: #f8f9fa;
}

/* Pattern technologique en arrière-plan */
.esafema-process-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background-image: url('../img/tech-pattern.svg');
    background-repeat: repeat-x;
    background-position: bottom center;
    background-size: auto 300px;
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

/* Conteneur de chaque étape */
.esafema-process-step {
    padding: 0;
    text-align: left;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

/* Positionnement en zigzag pour chaque étape (desktop seulement) */
@media (min-width: 992px) {
    .esafema-step-1 {
        margin-top: 0;
        padding-top: 0;
    }

    .esafema-step-2 {
        margin-top: 50px;
        padding-top: 0;
    }

    .esafema-step-3 {
        margin-top: 0;
        padding-top: 0;
    }

    .esafema-step-4 {
        margin-top: 50px;
        padding-top: 0;
    }
}

/* Wrapper de l'icône avec positionnement relatif */
.esafema-process-icon-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Conteneur du contenu texte pour centrage par rapport à l'icône */
.esafema-process-text-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

/* Cercle blanc avec icône bleue */
.esafema-process-icon {
    width: 120px;
    height: 120px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.esafema-process-icon i {
    font-size: 2.5rem;
    color: #007bff;
    transition: all 0.3s ease;
}

.esafema-process-step:hover .esafema-process-icon {
    transform: scale(1.05);
}

/* Numéro dans un cercle bleu en haut à droite */
.esafema-process-number {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 40px;
    height: 40px;
    background: #007bff;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    z-index: 3;
    transition: all 0.3s ease;
}

.esafema-process-step:hover .esafema-process-number {
    transform: scale(1.1);
}


/* Titre de l'étape */
.esafema-process-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1rem;
    text-align: center;
    transition: color 0.3s ease;
    width: 100%;
}

.esafema-process-step:hover .esafema-process-title {
    color: #007bff;
}

/* Description de l'étape */
.esafema-process-description {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: center;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 991px) {
    .esafema-process-section {
        padding: 60px 0;
    }

    .esafema-process-step {
        margin-bottom: 2rem;
        margin-top: 0 !important;
        text-align: center;
    }

    .esafema-step-1,
    .esafema-step-2,
    .esafema-step-3,
    .esafema-step-4 {
        margin-top: 0 !important;
    }

    .esafema-process-icon-wrapper {
        margin-bottom: 1.5rem;
    }

    .esafema-process-title {
        font-size: 1.25rem;
        text-align: center;
    }

    .esafema-process-description {
        font-size: 0.9375rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .esafema-process-section {
        padding: 50px 0;
    }

    .esafema-process-icon-wrapper {
        width: 100px;
        height: 100px;
        margin-bottom: 1.5rem;
    }

    .esafema-process-icon {
        width: 100px;
        height: 100px;
    }

    .esafema-process-icon i {
        font-size: 2rem;
    }

    .esafema-process-number {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
        top: -3px;
        right: -3px;
    }

    .esafema-process-title {
        font-size: 1.125rem;
        text-align: center;
    }

    .esafema-process-description {
        font-size: 0.875rem;
        text-align: center;
    }
}

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

    .esafema-process-icon-wrapper {
        width: 80px;
        height: 80px;
        margin-bottom: 1.25rem;
    }

    .esafema-process-icon {
        width: 80px;
        height: 80px;
    }

    .esafema-process-icon i {
        font-size: 1.75rem;
    }

    .esafema-process-number {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
        top: -2px;
        right: -2px;
    }

    .esafema-process-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
        text-align: center;
    }

    .esafema-process-description {
        font-size: 0.8125rem;
        text-align: center;
    }
}


/* ========================================
   SECTION "POURQUOI NOUS CHOISIR"
   ======================================== */

.why-choose-us-section {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 50%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
    padding: 2.5rem 0 !important;
}

.why-choose-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.why-choose-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.why-choose-image-wrapper:hover img {
    transform: scale(1.05);
}

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

/* Éléments décoratifs technologiques */
.tech-elements-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.tech-circle {
    position: absolute;
    border: 2px solid rgba(255, 194, 14, 0.3);
    border-radius: 50%;
    animation: techPulse 3s ease-in-out infinite;
}

.tech-circle-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.tech-circle-2 {
    width: 60px;
    height: 60px;
    bottom: 15%;
    left: 15%;
    animation-delay: 1.5s;
}

.tech-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(255, 194, 14, 0.2), transparent);
    height: 2px;
    width: 100px;
    animation: techLineMove 4s ease-in-out infinite;
}

.tech-line-1 {
    top: 50%;
    right: 20%;
    transform: rotate(45deg);
}

@keyframes techPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

@keyframes techLineMove {
    0%, 100% {
        opacity: 0.2;
        transform: rotate(45deg) translateX(0);
    }
    50% {
        opacity: 0.5;
        transform: rotate(45deg) translateX(20px);
    }
}

/* Badge */
.why-choose-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 123, 255, 0.05) 100%);
    color: var(--color-primary, #007bff);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

/* Titre */
.why-choose-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark, #1a1a1a);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.why-choose-title span {
    color: var(--color-primary, #007bff);
}

/* Description */
.why-choose-description {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.why-choose-description strong {
    color: var(--color-dark, #1a1a1a);
    font-weight: 600;
}

/* Features */
.why-choose-feature {
    padding: 1rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.why-choose-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 123, 255, 0.05) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon-wrapper i {
    font-size: 1.25rem;
    color: var(--color-primary, #007bff);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-dark, #1a1a1a);
    margin-bottom: 0.75rem;
}

.feature-description {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Statistiques */
.why-choose-stats {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.stat-box {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, rgba(0, 123, 255, 0.02) 100%);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: scale(1.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary, #007bff);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 992px) {
    .why-choose-title {
        font-size: 2rem;
    }

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

    .stat-number {
        font-size: 2.5rem;
    }
}

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

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

    .why-choose-feature {
        margin-bottom: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .tech-circle,
    .tech-line {
        display: none;
    }
}

/* ========================================
   DESIGN MODERNE DE TARIFICATION
   ======================================== */

.pricing-plan-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.pricing-plan-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 194, 14, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    z-index: 0;
}

.pricing-plan-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(119, 119, 121, 0.15);
    color: var(--color-black);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

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

.pricing-plan-subtitle {
    font-size: 1.1rem;
    color: var(--color-gray-dark);
    margin-bottom: 2rem;
}

.pricing-card-modern {
    background: var(--color-white);
    border-radius: 20px;
    padding: 0;
    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;
    border: 2px solid transparent;
}

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

.pricing-card-modern.featured {
    border: 2px solid;
    border-image: linear-gradient(135deg, #007bff 0%, #6f42c1 100%) 1;
    box-shadow: 0 10px 30px rgba(111, 66, 193, 0.2);
}

.pricing-card-modern.featured::before {
    content: 'MEILLEUR CHOIX';
    position: absolute;
    top: 20px;
    right: -30px;
    background: linear-gradient(135deg, #007bff 0%, #6f42c1 100%);
    color: var(--color-white);
    padding: 6px 40px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.pricing-card-modern.featured.epubma-popular::before {
    content: 'POPULAIRE';
    padding: 6px 35px;
}

.pricing-card-header {
    padding: 1.25rem 2rem 0.75rem;
    text-align: center;
    position: relative;
}

.pricing-card-title {
    font-family: var(--heading-font);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 0.5rem;
}

.pricing-card-tagline {
    font-size: 0.9rem;
    color: var(--color-gray);
    margin-bottom: 0.75rem;
}

.pricing-card-price {
    margin: 0.75rem 0;
}

.pricing-card-price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.pricing-card-price-period {
    font-size: 1rem;
    color: var(--color-gray);
    font-weight: 500;
}

.pricing-card-body {
    padding: 0 2rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pricing-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    flex: 1;
}

.pricing-card-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
    color: var(--color-gray-dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-card-features li:last-child {
    border-bottom: none;
}

.pricing-card-features li i {
    color: #007bff;
    font-size: 1rem;
    margin-right: 0.6rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.pricing-card-features li .feature-text {
    flex: 1;
}

.pricing-card-features li .feature-excluded {
    color: var(--color-gray);
    text-decoration: line-through;
}

.pricing-card-features li .feature-excluded i {
    color: var(--color-gray);
}

.pricing-card-image {
    height: 150px;
    width: 100%;
    overflow: hidden;
    margin-top: auto;
    border-radius: 0 0 20px 20px;
    position: relative;
}

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

.pricing-card-modern:hover .pricing-card-image img {
    transform: scale(1.1);
}

.pricing-card-cta {
    margin-top: 0.75rem;
}

.pricing-card-cta .btn {
    width: 100%;
    padding: 0.6rem 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid;
}

.pricing-card-cta .btn-outline {
    background: transparent;
    border-color: #6f42c1;
    color: #6f42c1;
}

.pricing-card-cta .btn-outline:hover {
    background: #6f42c1;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(111, 66, 193, 0.3);
}

.pricing-card-cta .btn-gradient {
    background: linear-gradient(135deg, #007bff 0%, #6f42c1 100%);
    border-color: transparent;
    color: var(--color-white);
}

.pricing-card-cta .btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.4);
}

.pricing-card-cta .btn-dark {
    background: var(--color-black);
    border-color: var(--color-black);
    color: var(--color-white);
}

.pricing-card-cta .btn-dark:hover {
    background: var(--color-gray-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .pricing-plan-section {
        padding: 70px 0;
    }

    .pricing-plan-title {
        font-size: 2rem;
    }

    .pricing-card-price-amount {
        font-size: 3rem;
    }
}

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

    .pricing-plan-title {
        font-size: 1.75rem;
    }

    .pricing-plan-subtitle {
        font-size: 1rem;
    }

    .pricing-card-header {
        padding: 2rem 1.5rem 1rem;
    }

    .pricing-card-body {
        padding: 0 1.5rem 1.5rem;
    }

    .pricing-card-title {
        font-size: 1.5rem;
    }

    .pricing-card-price-amount {
        font-size: 2.5rem;
    }

    .pricing-card-modern.featured::before {
        top: 15px;
        right: -25px;
        padding: 5px 30px;
        font-size: 0.7rem;
    }

    .pricing-card-modern.featured.epubma-popular::before {
        padding: 5px 25px;
    }
}

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

    .pricing-plan-badge {
        font-size: 0.75rem;
        padding: 6px 20px;
    }

    .pricing-plan-title {
        font-size: 1.5rem;
    }

    .pricing-card-header {
        padding: 1rem 1rem 0.75rem;
    }

    .pricing-card-body {
        padding: 0 1rem 1rem;
    }

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

    .pricing-card-price-amount {
        font-size: 2rem;
    }
}

/* ========================================
   AMÉLIORATIONS DESIGN E-TRANSMA
   ======================================== */

/* Section Description E-Transma - Design moderne */
.etransma-description-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.etransma-description-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 194, 14, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
    z-index: 0;
}

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

/* Section Solutions par profil - Design moderne */
.etransma-profiles-section {
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

.etransma-profiles-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 194, 14, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    z-index: 0;
}

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

.etransma-profile-item {
    margin-bottom: 3rem;
}

.etransma-profile-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 100%;
    width: 100%;
}

.etransma-profile-content {
    padding: 2.5rem;
    height: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Profil Passagers - Texte à gauche doit commencer après l'espace */
.etransma-profile-item .col-lg-6.order-lg-1 .etransma-profile-content {
    padding-left: 3.5rem;
}

.etransma-profile-content h3 {
    font-family: var(--heading-font);
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.75rem;
    color: var(--color-black);
}

.etransma-profile-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-yellow) 0%, transparent 100%);
    border-radius: 2px;
}

.etransma-profile-content .lead {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    color: var(--color-gray-dark);
    font-weight: 400;
}

.etransma-profile-content h5 {
    font-family: var(--heading-font);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-black);
    font-weight: 600;
}

.etransma-profile-content h5 i {
    margin-right: 0.75rem;
}

.etransma-profile-content ul {
    margin-bottom: 1rem;
}

.etransma-profile-content li {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0.35rem 0;
    color: var(--color-gray-dark);
}

/* Section Téléchargement - Design moderne */
.etransma-download-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
    overflow: hidden;
}

.etransma-download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle, rgba(255, 194, 14, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, transparent 0%, rgba(255, 194, 14, 0.05) 50%, transparent 100%);
    background-size: 50px 50px, 100% 2px;
    background-position: 0 0, 0 50%;
    opacity: 0.3;
    z-index: 0;
}

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

.etransma-download-header {
    margin-bottom: 2rem;
}

.etransma-download-title {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0;
}

.etransma-download-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.download-buttons {
    gap: 1rem;
}

.download-button-img {
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.download-button-img:hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 6px 15px rgba(255, 194, 14, 0.4));
}

.etransma-download-mockup {
    position: relative;
    animation: floatMockup 3s ease-in-out infinite;
}

@keyframes floatMockup {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Section Tarification E-Transma - Design moderne */
.etransma-pricing-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.etransma-pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 194, 14, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    z-index: 0;
}

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

.etransma-pricing-section-title {
    font-family: var(--heading-font);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.etransma-pricing-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, var(--color-yellow) 50%, transparent 100%);
    border-radius: 2px;
}

.etransma-pricing-section-subtitle {
    font-size: 1.15rem;
    color: var(--color-gray);
    font-weight: 400;
    line-height: 1.6;
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .etransma-pricing-section-title {
        font-size: 2rem;
        padding-bottom: 0.75rem;
    }

    .etransma-pricing-section-title::after {
        width: 60px;
        height: 3px;
    }

    .etransma-pricing-section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

.etransma-pricing-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 1.75rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

.etransma-pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.etransma-pricing-card.featured {
    border: 2px solid;
    border-image: linear-gradient(135deg, var(--color-yellow) 0%, #ffd700 100%) 1;
    box-shadow: 0 4px 16px rgba(255, 194, 14, 0.15);
}

/* Bordure grise pour la première et dernière carte */
.etransma-pricing-section .row > div:first-child .etransma-pricing-card,
.etransma-pricing-section .row > div:last-child .etransma-pricing-card {
    border: 2px solid rgba(0, 0, 0, 0.15);
}

.etransma-pricing-card.featured::before {
    content: 'POPULAIRE';
    position: absolute;
    top: 20px;
    right: -30px;
    background: linear-gradient(135deg, var(--color-yellow) 0%, #ffd700 100%);
    color: var(--color-black);
    padding: 6px 40px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transform: rotate(45deg);
    z-index: 10;
}

@media (max-width: 768px) {
    .etransma-pricing-card.featured::before {
        top: 15px;
        right: -25px;
        padding: 5px 30px;
        font-size: 0.7rem;
    }
}

.etransma-pricing-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.etransma-pricing-card-title {
    font-family: var(--heading-font);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 0.4rem;
}

.etransma-pricing-card-subtitle {
    font-size: 0.9rem;
    color: var(--color-gray);
    margin-bottom: 0;
}

.etransma-pricing-card-body {
    flex: 1;
}

.etransma-pricing-card-body h6 {
    font-family: var(--heading-font);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 0.75rem;
}

.etransma-pricing-card-body h6 i {
    margin-right: 0.5rem;
}

.etransma-pricing-card-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.etransma-pricing-card-body ul li {
    padding: 0.35rem 0;
    font-size: 0.9rem;
    color: var(--color-gray-dark);
    line-height: 1.5;
}

.etransma-pricing-card-body ul li i {
    margin-right: 0.5rem;
}

.etransma-pricing-table {
    margin: 1rem 0;
    border-radius: 10px;
    overflow: hidden;
}

.etransma-pricing-table table {
    margin: 0;
}

.etransma-pricing-table thead {
    background: linear-gradient(135deg, var(--color-yellow) 0%, #ffd700 100%);
}

.etransma-pricing-table th {
    color: var(--color-black);
    font-weight: 600;
    padding: 0.6rem 0.75rem;
    border: none;
    font-size: 0.85rem;
}

.etransma-pricing-table td {
    padding: 0.5rem 0.75rem;
    border-color: rgba(0, 0, 0, 0.05);
    font-size: 0.85rem;
}

.etransma-pricing-highlight {
    padding: 1rem;
    border-radius: 12px;
    margin: 1rem 0;
}

.etransma-pricing-highlight h6 {
    font-family: var(--heading-font);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.etransma-pricing-highlight ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.etransma-pricing-highlight ul li {
    padding: 0.2rem 0;
    font-size: 0.9rem;
    color: var(--color-gray-dark);
    line-height: 1.5;
}

.etransma-pricing-highlight ul li i {
    margin-right: 0.5rem;
}

.etransma-pricing-cta {
    margin-top: 1.25rem;
}

.etransma-pricing-cta .btn {
    width: 100%;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid;
}

.etransma-pricing-cta .btn-outline {
    background: transparent;
    border-color: #6f42c1;
    color: #6f42c1;
}

.etransma-pricing-cta .btn-outline:hover {
    background: #6f42c1;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(111, 66, 193, 0.3);
}

.etransma-pricing-cta .btn-gradient {
    background: linear-gradient(135deg, #007bff 0%, #6f42c1 100%);
    border-color: transparent;
    color: var(--color-white);
}

.etransma-pricing-cta .btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.4);
}

.etransma-pricing-cta .btn-dark {
    background: var(--color-black);
    border-color: var(--color-black);
    color: var(--color-white);
}

.etransma-pricing-cta .btn-dark:hover {
    background: var(--color-gray-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Section CTA E-Transma - Design moderne */
.cta-section-etransma {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.cta-section-etransma::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 194, 14, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
    z-index: 0;
}

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

.cta-header-etransma {
    margin-bottom: 2rem;
}

.cta-header-etransma .section-title {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
}

.cta-section-etransma .section-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.cta-buttons .btn {
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.cta-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 194, 14, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .etransma-profile-image-wrapper {
        margin-bottom: 2rem;
        border-radius: 15px !important;
    }

    .etransma-profile-content {
        padding: 1.5rem;
        min-height: auto;
    }

    .etransma-profile-item .col-lg-6.order-lg-1 .etransma-profile-content {
        padding-left: 1.5rem;
    }

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

    .etransma-download-title {
        font-size: 2rem;
    }

    .etransma-pricing-price-amount {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .etransma-profile-item {
        margin-bottom: 2rem;
    }

    .etransma-profile-content {
        padding: 1rem;
        min-height: auto;
    }

    .etransma-profile-item .col-lg-6.order-lg-1 .etransma-profile-content {
        padding-left: 1rem;
    }

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

    .etransma-profile-item .col-lg-6.px-0 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .etransma-profile-item .col-lg-6.px-4 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .etransma-download-title {
        font-size: 1.75rem;
    }

    .etransma-pricing-card {
        padding: 1.5rem;
    }

    .etransma-pricing-card-header {
        margin-bottom: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .etransma-pricing-card-title {
        font-size: 1.4rem;
    }

    .etransma-pricing-card-body h6 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }

    .etransma-pricing-card-body ul li {
        padding: 0.3rem 0;
        font-size: 0.85rem;
    }

    .etransma-pricing-table {
        margin: 0.75rem 0;
    }

    .etransma-pricing-table th,
    .etransma-pricing-table td {
        padding: 0.4rem 0.5rem;
        font-size: 0.8rem;
    }

    .etransma-pricing-highlight {
        padding: 0.75rem;
        margin: 0.75rem 0;
    }

    .etransma-pricing-cta {
        margin-top: 1rem;
    }

    .etransma-pricing-price-amount {
        font-size: 2.25rem;
    }

    .cta-header-etransma .section-title {
        font-size: 1.75rem;
    }
}

/* ========================================
   STYLES SPÉCIFIQUES E-PUBMA (Rouge, Noir, Blanc, Gris)
   ======================================== */

/* Prix en rouge pour E-Pubma */
.epubma-price {
    color: #dc3545 !important;
}

/* Icône rouge pour E-Pubma */
.epubma-icon-red {
    color: #dc3545 !important;
}

/* Bouton rouge pour E-Pubma */
.epubma-btn-red {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: var(--color-white) !important;
    transition: all 0.3s ease;
}

.epubma-btn-red:hover {
    background-color: #c82333 !important;
    border-color: #bd2130 !important;
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

/* Bouton outline rouge pour E-Pubma */
.epubma-btn-outline {
    background-color: transparent !important;
    border-color: #dc3545 !important;
    color: #dc3545 !important;
    transition: all 0.3s ease;
}

.epubma-btn-outline:hover {
    background-color: #dc3545 !important;
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

/* Bouton noir pour E-Pubma */
.epubma-btn-dark {
    background-color: var(--color-black) !important;
    border-color: var(--color-black) !important;
    color: var(--color-white) !important;
    transition: all 0.3s ease;
}

.epubma-btn-dark:hover {
    background-color: var(--color-gray-dark) !important;
    border-color: var(--color-gray-dark) !important;
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Badge featured rouge pour E-Pubma */
.pricing-card-modern.featured.epubma-popular::before {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
}

/* Bordure featured rouge pour E-Pubma */
.epubma-section .pricing-card-modern.featured {
    border-image: linear-gradient(135deg, #dc3545 0%, #c82333 100%) 1 !important;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.2) !important;
}

/* Prix dans les cartes pricing pour E-Pubma */
.epubma-section .pricing-card-price-amount {
    color: #dc3545 !important;
}

/* Style spécifique pour la section création de sites web - "À partir de" petit */
.epubma-section .pricing-card-price .pricing-card-price-amount:not(.epubma-price) {
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    color: var(--color-gray) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

/* Style pour le prix dans la section création de sites web - prix en bold et grand */
.epubma-section .pricing-card-price .pricing-card-price-period.epubma-price {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #dc3545 !important;
    line-height: 1.2;
    margin-top: 0;
}

/* Icônes de check dans les features pour E-Pubma */
.epubma-section .pricing-card-features li i.bi-check-circle-fill {
    color: #dc3545 !important;
}

/* Surcharge des boutons généraux dans les sections E-Pubma */
.epubma-section .pricing-card-cta .btn-outline {
    background: transparent !important;
    border-color: #dc3545 !important;
    color: #dc3545 !important;
}

.epubma-section .pricing-card-cta .btn-outline:hover {
    background: #dc3545 !important;
    color: var(--color-white) !important;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3) !important;
}

.epubma-section .pricing-card-cta .btn-gradient {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
    border-color: transparent !important;
    color: var(--color-white) !important;
}

.epubma-section .pricing-card-cta .btn-gradient:hover {
    box-shadow: 0 5px 20px rgba(220, 53, 69, 0.4) !important;
}

/* ========================================
   FIN DU FICHIER CSS
   ======================================== */


