.skill-detail-page {
    padding-top: 120px;
    padding-bottom: 5rem;
    min-height: 100vh;
    /* // background transparent pour laisser voir l'animation des blobs */
    background: transparent; 
}

/* =========================================
   // header et bouton retour
   ========================================= */

.header-wrapper {
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .header-wrapper {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }
}

/* // style du bouton retour */
.back-btn-block {
    justify-self: start;
    grid-column: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 2px solid var(--color-dark);
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    box-shadow: 4px 4px 0px var(--color-dark);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--color-dark);
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.back-btn-block:hover {
    transform: translate(-4px, -2px);
    box-shadow: 6px 6px 0px var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* // style encadré identique aux projets */
.title-block-centered {
    background: white;
    border: 2px solid var(--color-dark);
    border-top-width: 8px;
    border-radius: 16px;
    padding: 2rem 3rem;
    text-align: center;
    box-shadow: 10px 10px 0px var(--color-dark);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 1024px) {
    .title-block-centered {
        grid-column: 2;
        min-width: 500px;
        margin: 0;
    }
}

/* // icône animée */
.skill-icon-large {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    animation: bounceIcon 2s infinite ease-in-out;
}

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

.header-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-dark);
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.skill-subtitle-large {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 1rem;
}

/* =========================================
   // grille de contenu
   ========================================= */

.skill-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .skill-content-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.skill-main-column {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.skill-side-column {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* // utilitaires pour les bordures hautes des blocs (style projet) */
.border-top-primary {
    border-top-color: var(--color-primary) !important;
}

.border-top-secondary {
    border-top-color: var(--color-secondary) !important;
}

/* // blocs blancs génériques (style 3d hard shadow des projets) */
.white-block {
    background: white;
    border: 2px solid var(--color-dark);
    border-top-width: 6px; /* // bordure supérieure plus épaisse par défaut */
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 8px 8px 0px var(--color-dark);
}

/* // titres dans les blocs blancs */
.white-block h2 {
    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;
    padding-bottom: 0.25rem;
}

/* // trait jaune uniquement sur les blocs de la colonne de gauche */
.skill-main-column .white-block h2 {
    border-bottom: 4px solid var(--color-secondary);
}

.white-block h2 i {
    color: var(--color-primary);
}

.white-block h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-dark);
    text-transform: uppercase;
}

/* // textes enrichis (description) */
.rich-text p {
    margin-bottom: 1.2rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    font-weight: 500;
    font-size: 1.05rem;
}

.rich-text p:last-child {
    margin-bottom: 0;
}

.mb-3 { margin-bottom: 1rem; }
.text-muted { color: var(--color-text-muted); }

/* // liste des savoir-faire */
.acquired-skills-list {
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
}

.acquired-skills-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 2px solid #f5f5f4;
    font-weight: 700;
    color: var(--color-dark);
}

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

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

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

.skill-tag {
    background: #f5f5f4;
    border: 1px solid var(--color-dark);
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 800;
    box-shadow: 2px 2px 0px var(--color-dark);
    transition: all 0.2s ease;
}

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

/* // liste des projets liés */
.related-projects-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.related-project-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem;
    border: 2px solid var(--color-dark);
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 4px 4px 0px var(--color-dark);
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.related-project-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0px var(--color-dark);
}

/* // couleurs dynamiques style boutons page projet */
.card-style-primary {
    background-color: var(--color-primary);
    color: white;
}

.card-style-primary .rp-info h4 {
    color: white;
}

.card-style-primary .rp-info span {
    color: rgba(255, 255, 255, 0.85);
}

.card-style-secondary {
    background-color: var(--color-secondary);
    color: var(--color-dark);
}

.card-style-secondary .rp-info h4 {
    color: var(--color-dark);
}

.card-style-secondary .rp-info span {
    color: rgba(28, 25, 23, 0.75);
}

.rp-image {
    background: white; /* // fond blanc pour faire ressortir les logos */
    width: 85px; /* // images agrandies */
    height: 85px; /* // images agrandies */
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 2px solid var(--color-dark);
    overflow: hidden;
}

.rp-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rp-info h4 {
    font-size: 1.1rem;
    margin: 0 0 0.25rem 0;
    font-weight: 900;
    text-transform: uppercase;
}

.rp-info span {
    font-size: 0.8rem;
    font-weight: 700;
}