/* =============================================
   Coodonateur PDDRCS — Styles personnalisés
   Page : cv
   ============================================= */

/* --------------------------------------------------
   Section headers (barre tricolor + titre)
   -------------------------------------------------- */
.cv-section-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0;
}

/* --------------------------------------------------
   Experience cards — layout 2 colonnes
   -------------------------------------------------- */
.cv-exp-card {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 20px rgba(10, 28, 58, 0.04);
    border-radius: 1.25rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cv-exp-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(10, 28, 58, 0.08);
}

.cv-exp-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px 20px;
    background: rgba(248, 250, 252, 0.6);
    border-right: 1px solid rgba(226, 232, 240, 0.8);
    min-width: 200px;
    max-width: 220px;
    flex-shrink: 0;
}

.cv-exp-right {
    padding: 24px 28px;
    flex: 1;
}

/* --------------------------------------------------
   Organization badge
   -------------------------------------------------- */
.cv-org-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 9999px;
    border-width: 1px;
    border-style: solid;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    width: fit-content;
}

/* --------------------------------------------------
   Metadata — date & location
   -------------------------------------------------- */
.cv-exp-date {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.cv-exp-location {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

/* --------------------------------------------------
   Role title
   -------------------------------------------------- */
.cv-exp-title {
    font-size: 15px;
    font-weight: 700;
    color: #0A1C3A;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* --------------------------------------------------
   Bullet lists
   -------------------------------------------------- */
.cv-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cv-bullets li {
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
    padding-left: 16px;
    position: relative;
}

.cv-bullets li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: #5B9BD5;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.35;
}

/* White variant (on dark background) */
.cv-bullet-white {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

/* --------------------------------------------------
   Contact items (sidebar)
   -------------------------------------------------- */
.cv-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12.5px;
    color: #475569;
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1.5;
}

.cv-contact-item:hover {
    color: #5B9BD5;
}

.cv-contact-item i {
    margin-top: 2px;
    flex-shrink: 0;
    width: 14px;
    text-align: center;
}

/* --------------------------------------------------
   Training section
   -------------------------------------------------- */
.cv-training-group {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 1rem;
    padding: 20px 24px;
    box-shadow: 0 4px 20px rgba(10, 28, 58, 0.04);
}

.cv-training-cat {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #5B9BD5;
    margin-bottom: 10px;
}

.cv-training-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cv-training-list li {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    padding-left: 14px;
    position: relative;
}

.cv-training-list li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: #5B9BD5;
    font-weight: 900;
    font-size: 18px;
    line-height: 1.1;
}

/* --------------------------------------------------
   Responsive — mobile stack exp cards
   -------------------------------------------------- */
@media (max-width: 640px) {
    .cv-exp-card {
        flex-direction: column;
    }

    .cv-exp-left {
        max-width: 100%;
        min-width: 0;
        border-right: none;
        border-bottom: 1px solid rgba(226, 232, 240, 0.8);
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px 16px;
    }

    .cv-exp-right {
        padding: 16px 20px;
    }
}
