/* =========================================================
   HERO
========================================================= */
.ach-hero{
    position: relative;
    height: 380px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ach-hero-bg{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ach-hero-overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
}

.ach-hero .container{
    position: relative;
    z-index: 2;
    width: 100%;
}

.ach-hero-content{
    max-width: 700px;
}

.ach-hero-title{
    margin: 0;
    color: #fff;
    text-align: left;
    font-size: clamp(2rem,3vw,3rem);
    font-weight: 300;
    line-height: 1.2;
}

/* =========================================================
   LISTE DES ACCOMPLISSEMENTS
========================================================= */

.ach-list-section {
    background: #ffffff;
}

/* --- Barre de filtres --- */

.ach-filter-bar {
    background: #f7f7f7;
    border: 1px solid #ececec;
    padding: 22px 24px;
}

.ach-filter-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 10px;
}

.ach-filter-search-wrapper {
    position: relative;
}

.ach-filter-search {
    width: 100%;
    border: 1px solid #dcdcdc;
    background: #ffffff;
    padding: 11px 42px 11px 14px;
    font-size: 0.9rem;
    color: #374151;
}

.ach-filter-search-wrapper i {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9c9c9c;
}

.ach-filter-select {
    width: 100%;
    border: 1px solid #dcdcdc;
    background: #ffffff;
    padding: 10px 12px;
    font-size: 0.85rem;
    color: #374151;
}

.btn-ach-search {
    background: #005FAC;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    /* transition: background .25s ease; */
}

.btn-ach-search:hover {
    background: #ED6A18;
    color: #ffffff;
}

/* --- Cartes de projets --- */

.ach-item-card {
    background: #f7f7f7;
    border: 1px solid #ececec;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}

.ach-item-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
}

.ach-item-image {
    background: #6D28D9; /* violet, remplacé en prod par la photo du projet */
    aspect-ratio: 16 / 6.2;
    display: flex;
    align-items: flex-start;
    padding: 14px;
}

.ach-item-flag {
    width: 34px;
    height: 24px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}

.ach-item-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ach-item-desc {
    color: #4A4A4A;
    font-size: 0.9rem;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 18px;
}

.ach-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ach-item-link {
    display: inline-flex;
    align-items: center;
    border: 1px solid #005FAC;
    color: #005FAC;
    background: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 7px 16px;
    text-decoration: none;
    transition: .25s ease;
}

.ach-item-link:hover {
    background: #005FAC;
    color: #ffffff;
}

.ach-item-badge {
    width: 60px;
    height: 30px;
    object-fit: contain;
}

/* =========================================================
   TÉMOIGNAGES
========================================================= */

.ach-testimonials-section {
    background: #E9F3FC;
}

.ach-testimonial-card {
    background: #ffffff;
    /* border: 1px solid #005FAC; */
    border: 1px solid rgba(0, 95, 172, 0.35);
    padding: 22px 22px 18px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ach-testimonial-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.ach-testimonial-logo {
    max-height: 30px;
    max-width: 120px;
    object-fit: contain;
}

.ach-testimonial-stars {
    color: #F5A623;
    font-size: 0.75rem;
    display: flex;
    gap: 2px;
}

.ach-testimonial-org {
    font-size: 0.82rem;
    color: #4A4A4A;
    line-height: 1.5;
    margin-bottom: 14px;
}

.ach-testimonial-org strong {
    color: #1f2937;
}

.ach-testimonial-content{
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
}

.ach-testimonial-avatar{
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #939393;
    flex-shrink: 0;
}

.ach-testimonial-quote{
    display: flex;
    gap: 10px;
    flex: 1;
}

.ach-testimonial-quote i{
    color: #005FAC;
    font-size: 1.3rem;
    margin-top: 2px;
}

.ach-testimonial-desc{
    margin-bottom: 18px;
}

.ach-testimonial-author{
    display: block;
    text-align: right;
    margin: 0;
}

.ach-testimonial-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f2937;
}

.ach-testimonial-role {
    font-size: 0.72rem;
    color: #9c9c9c;
}

.ach-testimonial-footer {
    border-top: 1px solid rgba(0, 95, 172, 0.35);
    margin-left: -22px;
    margin-right: -22px;
    padding: 12px 22px 0;
    text-align: left;
}

.ach-testimonial-link {
    color: #005FAC;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .25s ease;
}

.ach-testimonial-link:hover {
    color: #ED6A18;
}

.btn-ach-loadmore {
    background: #005FAC;
    color: #ffffff;
    border: none;
    padding: 12px 34px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: background .25s ease;
}

.btn-ach-loadmore:hover {
    background: #ED6A18;
}

.btn-ach-loadmore:disabled {
    opacity: 0.7;
    cursor: default;
}

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

@media (max-width: 767px) {
    .ach-hero {
        height: 260px;
    }

    .ach-testimonial-author {
        justify-content: flex-start;
        text-align: left;
    }
}


/* =========================================================
   ACHIEVEMENT DETAILS
   (Page détail d'une réalisation)
========================================================= */

/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal-fade{
    opacity:0;
    transform:translateY(28px);
    transition:opacity .6s ease, transform .6s ease;
}

.reveal-fade.revealed{
    opacity:1;
    transform:translateY(0);
}

/* =========================================================
   HERO - ICÔNES FLOTTANTES
========================================================= */

.ach-hero-icons{
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
    overflow:hidden;
}

.ach-icon-bubble{
    position:absolute;
    width:100px;
    height:100px;
    border-radius:50%;
    background:rgba(255,255,255,.10);
    backdrop-filter:blur(4px);
    display:flex;
    align-items:center;
    justify-content:center;
    color:rgba(255,255,255,.55);
    font-size:2.2rem;
    animation:achFloat 6s ease-in-out infinite;
}

.ach-icon-bubble:nth-child(1){
    top:18%;
    left:14%;
    animation-delay:0s;
}

.ach-icon-bubble:nth-child(2){
    top:22%;
    left:34%;
    animation-delay:1.2s;
}

.ach-icon-bubble:nth-child(3){
    top:16%;
    left:56%;
    animation-delay:.6s;
}

.ach-icon-bubble:nth-child(4){
    top:20%;
    left:76%;
    animation-delay:1.8s;
}

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

/* =========================================================
   LEAFLET MAP
========================================================= */
#ach-map{
    width:100%;
    height:400px;
    border-radius:16px;
    overflow:hidden;
    border:1px solid #e5e7eb;
    box-shadow:0 6px 28px rgba(0,0,0,.08);
}

.ach-map-marker{
    width:18px;
    height:18px;
    border-radius:50%;
    background:var(--secondary);
    border:3px solid #fff;
    box-shadow:0 2px 8px rgba(237,106,24,.45);
}

/* =========================================================
   BADGE PAYS
========================================================= */
.ach-badge-country{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:3px 10px;
    border-radius:20px;
    background:#f3f4f6;
    color:var(--muted);
    font-size:.72rem;
    font-weight:600;
    line-height:1;
}

/* =========================================================
   AMÉLIORATION DES FOCUS
========================================================= */
.ach-filter-search:focus,
.ach-filter-select:focus{
    outline:none;
    border-color:var(--primary);
    box-shadow:0 0 0 3px rgba(0,95,172,.10);
}

/* =========================================================
   AMÉLIORATION DES BOUTONS
========================================================= */
.btn-ach-search,
.btn-ach-loadmore,
.achd-download-btn{
    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        transform .2s ease,
        box-shadow .25s ease;
}

.btn-ach-search:hover,
.btn-ach-loadmore:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(0,95,172,.25);
}

.achd-download-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(255,255,255,.15);
}

/* =========================================================
   PARTENAIRES - HOVER
========================================================= */
.ach-partner{
    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        transform .25s ease;
}

.ach-partner:hover{
    border-color:var(--primary);
    box-shadow:0 4px 12px rgba(0,95,172,.12);
    transform:translateY(-2px);
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media(max-width:767px){
    .ach-icon-bubble{
        width:72px;
        height:72px;
        font-size:1.6rem;
    }

    .ach-icon-bubble:nth-child(1){
        left:4%;
    }

    .ach-icon-bubble:nth-child(2){
        left:28%;
    }

    .ach-icon-bubble:nth-child(3){
        left:54%;
    }

    .ach-icon-bubble:nth-child(4){
        left:76%;
    }
}


/* =========================================================
   ACHIEVEMENT DETAILS
   (Styles manquants)
========================================================= */
/* =========================================================
   HERO DÉTAIL
========================================================= */

.achd-hero{
    background:#005FAC;
    padding:52px 0 44px;
}

.achd-hero-title{
    color:#fff;
    font-size:clamp(1.4rem,3vw,2rem);
    font-weight:500;
    line-height:1.35;
    margin-bottom:28px;
}

.achd-hero-meta{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-bottom:24px;
}

.achd-meta-item{
    display:flex;
    align-items:center;
    gap:6px;
}

.achd-meta-label{
    font-size:.82rem;
    color:rgba(255,255,255,.65);
    font-weight:600;
    margin-right:6px;
}

.achd-meta-value{
    font-size:.82rem;
    color:#fff;
}

.achd-download-btn{
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:6px 11px;
    border:0px solid rgba(255,255,255,.45);
    color:#fff;
    text-decoration:none;
}

.achd-download-btn i{
    width:42px;
    height:42px;
    border:1px solid rgba(255,255,255,.45);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.achd-download-text{
    display:flex;
    flex-direction:column;
    line-height:1.3;
}

.achd-download-size{
    margin-top:3px;
    font-size:.72rem;
    color:rgba(255,255,255,.65);
}

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

.achd-body{
    background:#fff;
}

.achd-social-intro{
    display:flex;
    gap:28px;
    align-items:flex-start;
    padding-bottom:5px;
    border-bottom:0px solid #f0f0f0;
    margin-bottom:5px;
}

.achd-social-links{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.achd-social-btn{
    width:38px;
    height:38px;
    border-radius:50%;
    background:#f3f4f6;
    color:#111827;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    transition:.25s ease;
}

.achd-social-btn:hover{
    background:#005FAC;
    color:#fff;
}

.achd-intro-text{
    color:#555;
    line-height:1.9;
}

.achd-content{
    color:#555;
    line-height:1.9;
}

.achd-content p{
    margin-bottom:1.2rem;
}

.achd-subtitle{
    font-size:1.35rem;
    font-weight:700;
    color:#111827;
}

.achd-subtitle-accent{
    color:#ED6A18;
}

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

.achd-bullet-list{
    list-style:none;
    padding:0;
    margin:0;
}

.achd-bullet-list li{
    position:relative;
    padding-left:20px;
    margin-bottom:12px;
    color:#555;
    line-height:1.8;
}

.achd-bullet-list li::before{
    content:"";
    position:absolute;
    left:0;
    top:.72em;
    width:8px;
    height:8px;
    /* border-radius:50%; */
    background:var(--primary);
}

/* =========================================================
   IMAGES
========================================================= */

.achd-full-img-wrapper{
    overflow:hidden;
}

.achd-full-img{
    width:100%;
    display:block;
}

.achd-side-img{
    width:100%;
    display:block;
}

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

@media(max-width:767px){
    .achd-hero{
        padding:36px 0;
    }

    .achd-hero-title{
        font-size:1.3rem;
    }

    .achd-social-intro{
        flex-direction:column;
        gap:20px;
    }

    .achd-social-links{
        flex-direction:row;
    }

    .achd-hero-meta{
        flex-direction:column;
        gap:10px;
    }
}

/* =========================================================
   PARTENAIRES
========================================================= */

.ach-details-partners{
    background:#fff;
}

.ach-partners-slider{
    position:relative;
    overflow:hidden;
    padding:0 50px;
}

.ach-partners-wrapper{
    overflow:hidden;
}

.ach-partners-track{
    display:flex;
    gap:40px;
    transition:transform .5s ease;
    will-change:transform;
}

.ach-partner{
    flex:0 0 auto;
    width:180px;
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration:none;
}

.ach-partner img{
    max-width:100%;
    height:80px;
    object-fit:contain;
}

/* --------------------------
   Boutons
--------------------------- */

.ach-partners-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:34px;
    height:34px;
    border-radius:50%;
    border:1px solid #d8d8d8;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    z-index:20;
    transition:.25s;
}

#partnerPrev{
    left:10px;
}

#partnerNext{
    right:10px;
}

.ach-partners-arrow:hover{
    background:var(--blue-mkba);
    color:#fff;
    border-color:var(--blue-mkba);
}

@media(max-width:768px){
    .ach-partners-slider{
        padding:0 40px;
    }
    .ach-partners-arrow{
        width:30px;
        height:30px;
    }
    #partnerPrev{
        left:5px;
    }
    #partnerNext{
        right:5px;
    }
}







