/* =========================================
   PAGE A PROPOS (STRUCTURE CV 3D)
   ========================================= */

.about-section {
    padding-top: 120px;
    padding-bottom: 6rem;
    min-height: 100vh;
}

/* en-tête style carte de visite cv */
.cv-header {
    background: white;
    border: 2px solid var(--color-dark);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 8px 8px 0px var(--color-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.cv-title-block {
    flex: 1;
    min-width: 300px;
}

.cv-subtitle {
    font-size: 1.2rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-top: 0.5rem;
}

/* gestion des liens de contact */
.cv-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cv-link, .cv-location-text {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-dark);
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cv-link i, .cv-location-text i {
    width: 20px;
    color: var(--color-primary);
    transition: color 0.2s ease;
}

/* effet au survol des liens (couleur orange) */
.cv-link:hover {
    color: var(--color-primary);
}

.cv-link:hover i {
    color: var(--color-secondary);
}

/* grille cv */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1.8fr 1fr;
        align-items: start;
    }
}

.about-col-left,
.about-col-right {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* // cartes génériques */
.about-card {
    background: white;
    border: 2px solid var(--color-dark);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 8px 8px 0px var(--color-dark);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.about-card-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.about-card-title i {
    color: var(--color-secondary);
}

/* // styles des éléments internes au cv */
.cv-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px dashed #f0f0f0;
}

.cv-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.cv-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.cv-item h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-dark);
}

.cv-date {
    font-size: 0.8rem;
    background: var(--color-secondary);
    color: var(--color-dark);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 800;
    border: 1px solid var(--color-dark);
    white-space: nowrap;
}

.cv-date:hover {
    transform: rotate(-2deg);
}

.cv-location {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 0.2rem;
}

.cv-details {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
    line-height: 1.5;
}

.cv-list {
    margin-top: 0.75rem;
    padding-left: 1.2rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.cv-list li {
    margin-bottom: 0.4rem;
}

/* // objectifs et compétences */
.objective-box {
    background-color: #fff7ed;
    border: 2px solid var(--color-primary);
    padding: 1.2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.skill-category {
    margin-bottom: 1.5rem;
}

.skill-category h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
    font-weight: 800;
}

.tags-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.skill-tag {
    background: #f5f5f4;
    border: 1px solid var(--color-dark);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 2px 2px 0px var(--color-border);
}

.skill-tag:hover {
    background: var(--color-secondary);
    box-shadow: 2px 2px 0px var(--color-dark);
}

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    color: var(--color-dark);
    font-size: 0.95rem;
}

.check-list li i {
    color: var(--color-secondary);
}

/* =========================================
   STYLE PHOTO DE PROFIL
   ========================================= */

.profile-card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.profile-img-wrapper {
    width: 300px;
    height: 400px;
    border: 3px solid var(--color-dark);
    overflow: hidden;
    box-shadow: 8px 8px 0px var(--color-primary);
    position: relative;
    background: white;
    transition: transform 0.3s ease;
}

.profile-card-container:hover .profile-img-wrapper {
    transform: scale(1.05);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}