
/* =========================================================
   DETAIL PROJET — ARIDEL
========================================================= */

.projet-detail-page {
    padding-bottom: 90px;
}

a {
    text-decoration: none;
}


/* =========================================================
   HERO
========================================================= */

.projet-detail-hero {
    position: relative;
    min-height: 330px;

    display: flex;
    align-items: center;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}

.projet-detail-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(4,28,50,.94),
            rgba(8,127,73,.78)
        );
}

.projet-detail-hero::after {
    content: "";

    position: absolute;

    height: 420px;

    right: -120px;
    top: 50%;

    transform: translateY(-50%);

    border: 1px solid rgba(255,255,255,.14);

    border-radius: 50%;

    box-shadow:
        0 0 0 50px rgba(255,255,255,.025),
        0 0 0 100px rgba(255,255,255,.018);
}


/* =========================================================
   HERO CONTENT
========================================================= */

.projet-detail-hero-content {
    position: relative;
    z-index: 2;

    

    padding: 80px 0 100px;
}

.projet-detail-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: #f77f00;

    font-size: 13px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .13em;

    margin-bottom: 18px;
}

.projet-detail-eyebrow i {
    font-size: 15px;
}

.projet-detail-hero h1 {
    color: #fff;

    font-size: clamp(36px, 5vw, 60px);

    line-height: 1.08;

    font-weight: 850;

    margin: 0;
}


/* =========================================================
   BREADCRUMB
========================================================= */


/* Breadcrumb */

.projet-detail-breadcrumb {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    font-size: 14px;

}


.projet-detail-breadcrumb a {

    color: #fff;

    text-decoration: none;

    transition: .2s ease;

}


.projet-detail-breadcrumb a:hover {

    color: #f77f00;

}


.projet-detail-breadcrumb span {

    color: rgba(255,255,255,.45);

}


.projet-detail-breadcrumb strong {

    color: #f77f00;

    font-weight: 600;

}

/* =========================================================
   LAYOUT PRINCIPAL
========================================================= */

.projet-detail-layout {
    position: relative;
    z-index: 5;


}


/* =========================================================
   COLONNE PRINCIPALE
========================================================= */

.projet-detail-card {
    background: #fff;

    border-radius: 20px;

    overflow: hidden;

    border: 1px solid #edf1ee;

    box-shadow:
        0 20px 60px rgba(0,0,0,.08);
}


/* =========================================================
   IMAGE
========================================================= */

.projet-detail-image-wrapper {
    width: 100%;

    max-height: 500px;

    overflow: hidden;

    background: #f1f5f9;
}

.projet-detail-image {
    width: 100%;

    height: 100%;
    max-height: 500px;

    object-fit: cover;

    display: block;

    transition: transform .7s ease;
}

.projet-detail-image-wrapper:hover .projet-detail-image {
    transform: scale(1.035);
}


/* =========================================================
   BODY
========================================================= */

.projet-detail-body {
    padding: 42px;
}


/* =========================================================
   LABEL
========================================================= */

.projet-detail-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #087f49;

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .09em;

    margin-bottom: 13px;
}




/* =========================================================
   TITRE
========================================================= */

.projet-detail-title {
    color: #172b4d;

    font-size: clamp(28px, 3vw, 42px);

    line-height: 1.22;

    font-weight: 850;

    margin-bottom: 25px;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.projet-detail-description {
    background: #f0f8f4;

    border-left: 4px solid #087f49;

    padding: 20px 24px;

    margin-bottom: 32px;

    color: #334155;

    font-size: 17px;

    line-height: 1.75;

    text-align: justify;

    font-weight: 500;

    border-radius: 0 12px 12px 0;
}


/* =========================================================
   CONTENU
========================================================= */

.projet-detail-content {
    color: #475569;

    font-size: 16px;

    line-height: 1.9;

    text-align: justify;
}

.projet-detail-content p {
    margin-bottom: 20px;
}

.projet-detail-content h2 {
    color: #172b4d;

    font-size: 28px;

    margin-top: 35px;
    margin-bottom: 18px;
}

.projet-detail-content h3 {
    color: #087f49;

    font-size: 22px;

    margin-top: 30px;
    margin-bottom: 15px;
}

.projet-detail-content ul,
.projet-detail-content ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.projet-detail-content li {
    margin-bottom: 8px;
}


/* =========================================================
   PARTAGE
========================================================= */

.projet-share {
    margin-top: 40px;

    padding-top: 25px;

    border-top: 1px solid #e8edf2;
}

.projet-share-title {
    color: #172b4d;

    font-weight: 800;

    margin-bottom: 14px;
}

.projet-share-buttons {
    display: flex;

    gap: 9px;

    flex-wrap: wrap;
}

.projet-share-btn {
    width: 42px;
    height: 42px;

    border: 0;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    color: #fff;

    border-radius: 11px;

    transition:
        transform .2s ease,
        opacity .2s ease;
}

.projet-share-btn:hover {
    transform: translateY(-3px);
    opacity: .9;
    color: #fff;
}

.projet-share-facebook {
    background: #1877f2;
}

.projet-share-whatsapp {
    background: #25d366;
}

.projet-share-copy {
    background: #087f49;
}


/* =========================================================
   COMMENTAIRES
========================================================= */

.projet-comments {
    margin-top: 42px;

    padding-top: 35px;

    border-top: 1px solid #e8edf2;
}

.projet-comments-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 25px;
}

.projet-comments-title {
    margin: 0;

    color: #172b4d;

    font-size: 24px;

    font-weight: 800;
}

.projet-comments-title i {
    color: #087f49;

    margin-right: 7px;
}


/* =========================================================
   FORMULAIRE COMMENTAIRE
========================================================= */

.comment-form {
    padding: 25px;

    background: #f8faf9;

    border: 1px solid #e7eee9;

    border-radius: 16px;
}

.comment-form label {
    color: #172b4d;

    font-size: 13px;

    font-weight: 700;

    margin-bottom: 7px;
}

.comment-form .form-control {
    border: 1px solid #dfe7e2;

    border-radius: 10px;

    padding: 12px 14px;

    font-size: 14px;

    background: #fff;

    transition: .25s ease;
}

.comment-form .form-control:focus {
    border-color: #087f49;

    box-shadow:
        0 0 0 3px rgba(8,127,73,.10);
}

.comment-form textarea {
    min-height: 130px;

    resize: vertical;
}

.comment-submit {
    border: 0;

    background: #087f49;

    color: #fff;

    padding: 12px 22px;

    border-radius: 10px;

    font-weight: 700;

    transition: .25s ease;
}

.comment-submit:hover {
    background: #056b3d;

    transform: translateY(-2px);
}


/* =========================================================
   SIDEBAR
========================================================= */

.projets-sidebar {
    position: sticky;

    top: 25px;
}


/* =========================================================
   SIDEBAR CARD
========================================================= */

.projets-sidebar-card {
    background: #fff;

    border-radius: 18px;

    border: 1px solid #edf1ee;

    box-shadow:
        0 12px 35px rgba(4,28,50,.07);

    overflow: hidden;
}


/* =========================================================
   SIDEBAR HEADER
========================================================= */

.projets-sidebar-header {
    padding: 22px 23px;

    background:
        linear-gradient(
            135deg,
            #056b3d,
            #087f49
        );

    color: #fff;
}

.projets-sidebar-header small {
    display: block;

    color: #f77f00;

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .12em;

    margin-bottom: 5px;
}

.projets-sidebar-header h3 {
    margin: 0;

    font-size: 22px;

    font-weight: 800;
}


/* =========================================================
   LISTE PROJETS
========================================================= */

.projets-recent-list {
    padding: 8px;
}


/* =========================================================
   PROJET RECENT
========================================================= */

.projet-recent-item {
    position: relative;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px;

    border-radius: 12px;

    transition:
        background .25s ease,
        transform .25s ease;
}

.projet-recent-item:hover {
    background: #f0f8f4;

    transform: translateX(4px);
}


/* =========================================================
   MINI IMAGE
========================================================= */

.projet-recent-image {
    width: 65px;
    height: 65px;

    flex: 0 0 65px;

    border-radius: 11px;

    overflow: hidden;

    background: #eaf8f0;
}

.projet-recent-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .4s ease;
}

.projet-recent-item:hover .projet-recent-image img {
    transform: scale(1.08);
}


/* =========================================================
   CONTENU MINI PROJET
========================================================= */

.projet-recent-content {
    min-width: 0;

    flex: 1;
}

.projet-recent-number {
    color: #f77f00;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .08em;
}

.projet-recent-content h4 {
    margin: 3px 0 4px;

    color: #172b4d;

    font-size: 14px;

    line-height: 1.35;

    font-weight: 750;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;
}

.projet-recent-content span {
    color: #84908a;

    font-size: 11px;
}


/* =========================================================
   FLECHE
========================================================= */

.projet-recent-arrow {
    color: #a7b2ac;

    font-size: 11px;

    transition: .25s ease;
}

.projet-recent-item:hover .projet-recent-arrow {
    color: #087f49;

    transform: translateX(3px);
}


/* =========================================================
   FOOTER ARTICLE
========================================================= */

.projet-detail-footer {
    margin-top: 35px;

    padding-top: 25px;

    border-top: 1px solid #e8edf2;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    flex-wrap: wrap;
}

.projet-back {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: #087f49;

    font-weight: 700;

    transition: gap .2s ease;
}

.projet-back:hover {
    color: #056b3d;

    gap: 13px;
}


/* =========================================================
   EMPTY
========================================================= */

.projet-not-found {
    text-align: center;

    padding: 100px 20px;
}

.projet-not-found i {
    font-size: 65px;

    color: #cbd5e1;

    margin-bottom: 25px;
}

.projet-not-found h2 {
    color: #172b4d;

    margin-bottom: 12px;
}

.projet-not-found p {
    color: #64748b;
}


/* =========================================================
   TOP BUTTON
========================================================= */

#projetDetailTop {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 45px;
    height: 45px;

    border: 0;

    border-radius: 50%;

    background: #087f49;

    color: #fff;

    display: none;

    align-items: center;
    justify-content: center;

    cursor: pointer;

    z-index: 999;

    box-shadow:
        0 8px 20px rgba(0,0,0,.2);

    transition: .2s ease;
}

#projetDetailTop:hover {
    background: #056b3d;

    transform: translateY(-3px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .projets-sidebar {
        position: static;

        margin-top: 25px;
    }

}

@media (max-width: 767px) {

    .projet-detail-hero {
        min-height: 250px;
    }

    .projet-detail-hero-content {
        padding: 65px 20px 85px;
    }

    .projet-detail-hero h1 {
        font-size: 18px;
    }

   

    .projet-detail-body {
        padding: 25px 20px;
    }

    .projet-detail-title {
        font-size: 18px;
    }

    .projet-detail-description {
        font-size: 15px;

        padding: 17px;
    }

    .projet-detail-content {
        font-size: 15px;

        line-height: 1.8;
    }

    .comment-form {
        padding: 18px;
    }

}

