/* ===== CV Interactif ===== */

.cv-page-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

@media (max-width: 767px) {
    .cv-page-card {
        padding: 20px 15px;
    }
}

.cv-section {
    margin-bottom: 50px;
}

.cv-section-title {
    font-family: 'Cabin', sans-serif;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #2c2c2c;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 3px solid #9b6fd9;
    display: inline-block;
}

/* Profil header */
.cv-profil {
    text-align: center;
    margin-bottom: 40px;
}

.cv-profil h1 {
    font-family: 'Cabin', sans-serif;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #2c2c2c;
    margin-bottom: 5px;
}

.cv-profil .cv-subtitle {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 18px;
    color: #666;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.cv-profil .cv-contact-bar {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #555;
}

.cv-profil .cv-contact-bar a {
    color: #9b6fd9;
    text-decoration: none;
    transition: color .3s;
}

.cv-profil .cv-contact-bar a:hover {
    color: #7a4fbf;
}

/* Compétences — tags */
.competences-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.competences-tags li {
    background: #f3ecfc;
    color: #6b3fa0;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: background .3s, color .3s, transform .3s;
}

.competences-tags li:hover {
    background: #9b6fd9;
    color: #fff;
    transform: translateY(-2px);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: #d4c4e8;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #9b6fd9;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #d4c4e8;
}

.timeline-date {
    font-family: 'Cabin', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #9b6fd9;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.timeline-title {
    font-family: 'Cabin', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 3px;
}

.timeline-place {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    color: #888;
    margin-bottom: 6px;
    font-style: italic;
}

.timeline-desc {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Outils / Logiciels — icônes */
.tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.tool-card {
    text-align: center;
    width: 90px;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity .5s ease, transform .5s ease;
}

.tool-card.visible {
    opacity: 1;
    transform: scale(1);
}

.tool-card img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 6px;
    filter: grayscale(30%);
    transition: filter .3s, transform .3s;
}

.tool-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.15);
}

.tool-card span {
    display: block;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 12px;
    color: #555;
    font-weight: 700;
}

/* Centres d'intérêt */
.interests-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.interests-list li {
    background: #f3ecfc;
    color: #6b3fa0;
    padding: 8px 18px;
    border-radius: 20px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: background .3s, color .3s;
}

.interests-list li:hover {
    background: #9b6fd9;
    color: #fff;
}

/* Texte "Qui suis-je" */
.cv-text-section h3 {
    font-family: 'Cabin', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 10px;
}

.cv-text-section p {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 15px;
    color: #444;
    line-height: 1.7;
}

/* Bouton PDF secondaire */
.cv-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border: 2px solid #9b6fd9;
    color: #9b6fd9;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'Cabin', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: background .3s, color .3s;
}

.cv-download-btn:hover {
    background: #9b6fd9;
    color: #fff;
}

/* Responsive */
@media (max-width: 767px) {
    .cv-profil h1 {
        font-size: 26px;
    }

    .cv-profil .cv-contact-bar {
        flex-direction: column;
        gap: 8px;
    }

    .tools-grid {
        gap: 14px;
    }

    .tool-card {
        width: 70px;
    }
}
