/**
 * ==============================================================================
 * DEV AFRIK INVESTMENT HOLDING (D.A.I.H) - stylecustom.css
 * Intégration stricte dans le template Colorlib d'origine
 * Couleurs : #cb1515 (rouge corporate), #333333, #fafafa, police Quicksand
 * ==============================================================================
 */

/* ------------------------------------------------------------------------------
   1. MENU LATÉRAL (#colorlib-aside) - RESPONSIVE & ACTIF
   ------------------------------------------------------------------------------ */
#colorlib-aside {
    overflow-y: auto;
}

#colorlib-aside #colorlib-main-menu ul li a {
    line-height: 1.4;
    word-break: normal;
    overflow-wrap: break-word;
    display: block;
}

#colorlib-aside #colorlib-main-menu ul li a.active,
#colorlib-aside #colorlib-main-menu ul li.active a {
    color: #cb1515 !important;
}

#colorlib-aside #colorlib-main-menu ul li a.active:after,
#colorlib-aside #colorlib-main-menu ul li.active a:after {
    visibility: visible !important;
    -webkit-transform: scaleX(1) !important;
    -moz-transform: scaleX(1) !important;
    -ms-transform: scaleX(1) !important;
    -o-transform: scaleX(1) !important;
    transform: scaleX(1) !important;
}

@media screen and (max-height: 850px) and (min-width: 769px) {
    #colorlib-aside {
        padding-top: 1.8em;
        padding-bottom: 20px;
    }
    #colorlib-aside #colorlib-logo {
        margin-bottom: 1.5em;
    }
    #colorlib-aside #colorlib-main-menu ul li {
        margin-bottom: 5px;
    }
    #colorlib-aside #colorlib-main-menu ul li a {
        padding: 5px 0;
    }
    #colorlib-aside .colorlib-footer {
        position: relative;
        bottom: auto;
        margin-top: 25px;
        padding-bottom: 15px;
    }
}

/* ------------------------------------------------------------------------------
   2. REPLI ANIMATIONS & ACCESSIBILITÉ (animate-box & prefers-reduced-motion)
   ------------------------------------------------------------------------------ */
.no-js .animate-box {
    opacity: 1 !important;
}

@keyframes daFadeInFallback {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.js .animate-box:not(.animated) {
    animation: daFadeInFallback 0.5s ease 1.2s forwards;
}

@media (prefers-reduced-motion: reduce) {
    .animate-box,
    .js .animate-box,
    .da-img-zoom,
    .services-wrap,
    .services-wrap .services-img {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
}

/* ------------------------------------------------------------------------------
   3. VISUELS & EFFET DE ZOOM (TEMPLATING COLORLIB)
   ------------------------------------------------------------------------------ */
.da-img-container {
    overflow: hidden;
    position: relative;
    border-radius: 2px;
    margin-bottom: 25px;
    background: #e9e9e9;
}

.da-img-zoom {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.da-img-container:hover .da-img-zoom {
    transform: scale(1.05);
}

.about-img {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    height: 440px;
    transition: transform 0.45s ease;
}

@media screen and (max-width: 768px) {
    .about-img {
        height: 280px;
    }
}

/* ------------------------------------------------------------------------------
   4. STATUTS DANS LE LANGAGE VISUEL DU TEMPLATE (Façon heading-meta)
   ------------------------------------------------------------------------------ */
.da-status {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: #cb1515;
    margin-bottom: 12px;
    position: relative;
    padding-left: 14px;
}

.da-status::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cb1515;
}

/* ------------------------------------------------------------------------------
   5. FICHES PROJETS (ALIGNÉES SUR .colorlib-feature & QUICKSAND)
   ------------------------------------------------------------------------------ */
.da-project-item {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.da-project-item:last-child {
    border-bottom: none;
}

.da-project-lead {
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 18px;
    font-weight: 500;
}

.da-spec-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.da-spec-list li {
    font-size: 14px;
    line-height: 2;
    color: #555555;
}

.da-spec-list li strong {
    color: #222222;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    display: inline-block;
    min-width: 110px;
}

/* Pastilles sobres des pays (Mines) */
.da-countries-wrap {
    margin-top: 10px;
    margin-bottom: 15px;
}

.da-country-tag {
    display: inline-block;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    color: #333333;
    padding: 4px 12px;
    margin: 3px 6px 3px 0;
    font-size: 13px;
    font-weight: 600;
    border-radius: 2px;
}

.da-country-tag i {
    color: #cb1515;
    margin-right: 4px;
    font-size: 11px;
}

/* ------------------------------------------------------------------------------
   6. SECTION REPÈRES TECHNIQUES (SOBRE ET IDENTIQUE AU TEMPLATE)
   ------------------------------------------------------------------------------ */
.da-reperes-section {
    background: #ffffff;
    border-left: 3px solid #cb1515;
    padding: 20px 25px;
    margin: 35px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.da-reperes-section h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #cb1515;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 10px;
}

.da-reperes-section p {
    font-size: 14px;
    color: #555555;
    line-height: 1.7;
    margin: 0;
}

/* ------------------------------------------------------------------------------
   7. PHRASE DE SYNTHÈSE (SOBRE ET INTÉGRÉE AU TEMPLATE)
   ------------------------------------------------------------------------------ */
.da-synthesis-block {
    background: #fafafa;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    padding: 25px 0;
    margin: 35px 0 15px 0;
    text-align: center;
}

.da-synthesis-block p {
    font-size: 15px;
    font-style: italic;
    color: #444444;
    max-width: 820px;
    margin: 0 auto;
    line-height: 1.8;
}
