/* Section À propos */
.about {
    width: 90%;
    max-width: 800px;
    margin: 100px auto;
    text-align: center;
}

.about-header {
    margin-bottom: 40px;
}

.profile-image {
    margin: 0 auto 30px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
}

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

.about h2 {
    font-size: 36px;
    color: var(--accent-color); /* Utilisation de la variable pour la couleur d'accentuation */
    margin-bottom: 20px;
}

.about p {
    font-size: 18px;
    margin-top: 10px;
    color: #e0e0e0;
    line-height: 1.6;
}

.about-details {
    margin-top: 30px;
    text-align: left;
}

.about-details h3 {
    font-size: 24px;
    color: var(--accent-color); /* Utilisation de la variable pour la couleur d'accentuation */
    margin-top: 20px;
    text-align: center;
}

.about-details p {
    font-size: 16px;
    color: #cccccc;
    margin-top: 5px;
}

/* Bouton pour contacter */
.about .btn {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 20px;
    background-color: var(--accent-color); /* Utilisation de la variable pour la couleur d'accentuation */
    color: #121212;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.5s ease;
}

.about .btn:hover {
    background-color: var(--accent-color);
}

.info-block {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 60px;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.info-item.reverse {
    flex-direction: row-reverse;
}

.info-text, .info-image {
    flex: 1 1 300px;
}

.info-text {
    text-align: left;
}

.info-text h3 {
    color: var(--accent-color);
    font-size: 24px;
    margin-bottom: 10px;
    text-align: center;
}

.info-text p {
    color: #e0e0e0;
    font-size: 20px;
    line-height: 1.5;
}

.info-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.about-quinconce-text {
    flex: 1 1 0;
    text-align: center;
    padding: 0 0.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.about-quinconce-text h2 {
    color: var(--accent-color);
    margin-bottom: 1.2rem;
    font-size: 2.2rem;
    text-align: center;
    letter-spacing: 1px;
    font-weight: 400;
}

.about-quinconce-text p {
    font-size: 1.25rem;
    line-height: 2;
    max-width: 100%;
    margin: 0 auto 1.5rem auto;
    letter-spacing: 0.01em;
}

.about-quinconce-img img {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    width: 350px;
    max-width: 100%;
    height: auto;
    background: #222;
}

.about-quinconce-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Responsive pour les tablettes */
@media (max-width: 768px) {
    .about {
        margin: 80px auto;
    }

    .about h2 {
        font-size: 30px;
    }

    .about p {
        font-size: 16px;
    }

    .about-details h3 {
        font-size: 20px;
    }

    .about-details p {
        font-size: 14px;
    }

    .about .btn {
        padding: 8px 16px;
        font-size: 14px;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }
}

/* Responsive pour les smartphones */
@media (max-width: 480px) {
    .about {
        margin: 60px auto;
    }

    .about h2 {
        font-size: 24px;
    }

    .about p {
        font-size: 14px;
    }

    .about-details h3 {
        font-size: 18px;
    }

    .about-details p {
        font-size: 12px;
    }

    .about .btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 900px) {
    .about-quinconce-row,
    .about-quinconce-row.reverse {
        flex-direction: column !important;
        gap: 2rem;
        text-align: center;
    }
    .about-quinconce-img img {
        width: 220px;
    }
    .about-quinconce-text {
        padding: 0;
    }
}

/* Nouvelles sections - Valeurs, Objectifs, Soft Skills */
.values-list,
.alternance-reasons,
.soft-skills-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 20px;
}

.value-item,
.reason-item,
.skill-example {
    padding: 20px;
    background: rgba(26, 188, 156, 0.05);
    border-left: 3px solid var(--accent-color);
    border-radius: 8px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.value-item:hover,
.reason-item:hover,
.skill-example:hover {
    transform: translateX(5px);
    background: rgba(26, 188, 156, 0.1);
}

.value-item strong,
.reason-item strong,
.skill-example strong {
    display: block;
    color: var(--accent-color);
    font-size: 18px;
    margin-bottom: 10px;
}

.value-item p,
.reason-item p,
.skill-example p {
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.goals-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.goals-list li {
    padding: 15px 0;
    padding-left: 25px;
    position: relative;
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.goals-list li:last-child {
    border-bottom: none;
}

.goals-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 18px;
}

.goals-list li strong {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .value-item,
    .reason-item,
    .skill-example {
        padding: 15px;
    }
    
    .value-item strong,
    .reason-item strong,
    .skill-example strong {
        font-size: 16px;
    }
    
    .value-item p,
    .reason-item p,
    .skill-example p {
        font-size: 14px;
    }
    
    .goals-list li {
        font-size: 14px;
    }
}