/* ===== COMPETENCE BADGE COLORS ===== */
:root {
    --concevoir-bg: #FFD6BC;
    --concevoir-text: #A24100;
    --comprendre-bg: #FFD0D3;
    --comprendre-text: #C00000;
    --developper-bg: #CFF6D4;
    --developper-text: #336300;
    --entreprendre-bg: #BDD7EE;
    --entreprendre-text: #002060;
    --exprimer-bg: #FFE699;
    --exprimer-text: #7C5E00;
    --blue-dark: #203F94;
    --blue-light: #D5F1FF;
    --pink-dark: #DB3587;
    --pink-light: #FFDEF2;
    --green-dark: #448A60;
    --green-light: #D6F6DA;
    --white: #FBFDFF;
    --black: #010D2E;


}

/* ===== TEXT STYLES ===== */
.basic-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--black);
    margin-bottom: 1.5rem;
    letter-spacing: -0.32px;
}

.basic-text-reduit {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--black);
    margin-bottom: 1.5rem;
    letter-spacing: -0.32px;
    max-width: 600px;
    width: 100%;
}

.basic-text-encadre {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--black);
    letter-spacing: -0.32px;
}

.legend{
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.4;
    color: var(--black);
    margin-top: 0.5rem;
    letter-spacing: -0.28px;
    width: 100%;
    text-align: center;
}

.image-legend{
    width: 50%;
}


.subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--black);
    margin: 0 0 1rem 0;
    letter-spacing: -0.36px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subtitle-bleu {
    font-family: 'Antonio', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--blue-dark);
    margin: 0 0 1rem 0;
    letter-spacing: -0.36px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.difficulty{
    flex: auto;
    display: flex;
    gap: 0.5rem;
    margin-bottom: 24px;
}

.lightning {
    height: 25px;
}

/* ===== LANDING SECTION ===== */
.project-landing {
    margin-top: 60px;
    background: var(--white);
    display: flex;
    flex-direction: column;
    height: calc(100vh - 60px);
}

.landing-image {
    width: 100%;
    height: 50%;
    background: #d0d0d0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    flex-shrink: 0;
    overflow: hidden;
}

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

.landing-container {
    max-width: 1196px;
    margin: 0 auto;
    padding: 3rem 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 50%;
    flex-shrink: 0;
}

.landing-title-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.landing-title {
    font-family: 'Antonio', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--blue-dark);
    margin: 0;
    white-space: nowrap;
}

.landing-title-line {
    width: 100%;
    height: 4px;
    background: var(--pink-dark);
    border-radius: 2px;
    flex-grow: 1;
}

.landing-tags {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.landing-tags-left,
.landing-tags-right {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.landing-tag {
    background: var(--pink-light);
    color: var(--pink-dark);
    padding: 0.8rem 1.5rem;
    border-radius: 1000px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
}

.competence-badge {
    padding: 0.8rem 1.5rem;
    border-radius: 1000px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: -0.4px;
    display: inline-block;
}

.competence-badge.concevoir {
    background: var(--concevoir-bg);
    color: var(--concevoir-text);
}

.competence-badge.comprendre {
    background: var(--comprendre-bg);
    color: var(--comprendre-text);
}

.competence-badge.developper {
    background: var(--developper-bg);
    color: var(--developper-text);
}

.competence-badge.entreprendre {
    background: var(--entreprendre-bg);
    color: var(--entreprendre-text);
}

.competence-badge.exprimer {
    background: var(--exprimer-bg);
    color: var(--exprimer-text);
}

.logiciels {
    background: transparent;
    color: var(--green-dark);
    padding: 0.8rem 1.5rem;
    border-radius: 1000px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: -0.4px;
    display: inline-block;
    border: 2px solid var(--green-dark);
}

/* ===== CONTEXT SECTION ===== */

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
} 

.project-context {
    padding: 4rem 2rem;
    background: var(--white);
}

.project-context-container {
    max-width: 1090px;
    margin: 0 auto;
}

.context-intro {
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--black);
    margin-bottom: 3rem;
    letter-spacing: -0.36px;
}

.context-list {
    display: flex;
    flex-direction: column;
}

.context-item {
    display: flex;
    height: 90px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    border-bottom: 1px solid var(--black);
}

.context-label {
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.36px;
    color: var(--black);
}

.context-value {
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.36px;
    color: var(--black);
    text-align: right;
    flex: 1;
    margin-left: 2rem;
}

.context-link {
    color: var(--black);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.context-link:hover {
    color: var(--pink-dark);
}

/* ===== PRODUCTION SECTION ===== */
.project-production {
    padding: 4rem 2rem;
    background: var(--white);
}

.project-production-propos {
    padding-bottom: 4rem;
    padding-left: 2rem;
    padding-right: 2rem;
    background: var(--white);
}

.project-production-container {
    max-width: 1090px;
    margin: 0 auto;
}

.production-title-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.project-production h2 {
    font-family: 'Antonio', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--blue-dark);
    margin: 0;
    white-space: nowrap;
}

.production-title-line {
    width: 100%;
    height: 3px;
    background: var(--pink-dark);
    border-radius: 2px;
    flex-grow: 1;
}

.production-block {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e0e0e0;
}

.production-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
    gap: 1.5rem;
}

.production-block-gallery {
    display: flex;
    flex-direction: column;
}

.production-block-gallery .subtitle {
    margin-bottom: 1rem;
}

.production-block-gallery .basic-text {
    margin-bottom: 1.5rem;
}

.production-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
    justify-items: center;
    margin-top: 2rem;
}

.production-gallery-2col {
    grid-template-columns: repeat(2, 1fr);
}

.production-gallery-4col {
    grid-template-columns: repeat(4, 1fr);
}

.production-gallery .prod-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.production-gallery .prod-image:hover {
    transform: scale(1.05);
}

.production-gallery .prod-image a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 15px;
}

.prod-image {
    width: 50%;
    height: auto;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.prod-image-legend {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

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

.prod-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
}

.prod-image-legend img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
}

.img-contain {
    object-fit: contain !important;
}

.img-max-height {
    max-height: 400px !important;
    max-width: 300px !important;
    width: auto !important;
    height: auto !important;
}

.production-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 78px;
    align-self: stretch;
}

.improvements-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 1rem;
}

.button-next-project {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding-top: 1rem;
    padding: 0.8rem 1.5rem;
}

.improvements-btn {
    padding: 0.8rem 1.5rem;
    background-color: var(--blue-dark);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.next-btn {
    padding: 0.8rem 1.5rem;
    background-color: var(--pink-dark);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.improvements-btn:hover {
    background-color: var(--pink-dark);
    transform: scale(1.05);
}

.next-btn:hover {
    background-color: var(--blue-dark);
    transform: scale(1.05);
}

/* ===== LIGHTBOX MODAL ===== */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-container {
    position: relative;
    width: 90vw;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 28px;
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1001;
}

.lightbox-prev:hover:not(:disabled),
.lightbox-next:hover:not(:disabled) {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev:disabled,
.lightbox-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.lightbox-image-container {
    width: 100%;
    height: 100%;
    cursor: grab;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.lightbox-image-container:active {
    cursor: grabbing;
}

.lightbox-image-container.dragging {
    cursor: grabbing !important;
    scroll-behavior: auto;
}

.lightbox-image {
    width: 80vw;
    height: auto;
    border-radius: 10px;
    transition: transform 0.2s ease;
    user-select: none;
    display: block;
    flex-shrink: 0;
}

.lightbox-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1002;
}

.zoom-button {
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 50%;
    background: var(--blue-dark);
    color: white;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.zoom-button:hover {
    background: var(--pink-dark);
    transform: scale(1.1);
}

.zoom-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: scale(1);
}

.zoom-level {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--black);
    min-width: 60px;
    text-align: center;
}

/* ===== YOUTUBE THUMBNAIL ===== */
.youtube-thumbnail {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.youtube-thumbnail:hover {
    transform: scale(1.05);
}

.youtube-thumbnail:hover .youtube-play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: rgba(220, 20, 60, 0.9);
}

.youtube-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: rgba(220, 20, 60, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.youtube-play-button::after {
    content: '▶';
    color: white;
    font-size: 30px;
    margin-left: 4px;
}

.lightbox-video {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

/* ===== AC LINKS WITH TOOLTIPS ===== */
.ac-link {
    font-weight: 700;
    text-decoration: underline;
    color: var(--blue-dark);
    cursor: help;
    position: relative;
    transition: color 0.3s ease;
    display: inline-block;
}

.ac-link:hover {
    color: var(--pink-dark);
}

.ac-tooltip {
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue-light);
    color: var(--blue-dark);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 400;
    white-space: normal;
    max-width: 280px;
    width: max-content;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    line-height: 1.4;
    text-decoration: none;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ac-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--blue-light);
}

.ac-link:hover .ac-tooltip {
    opacity: 1;
}

@media (max-width: 768px) {
    .ac-tooltip {
        max-width: 200px;
        bottom: auto;
        top: 130%;
        left: 50%;
        transform: translateX(-50%);
    }

    .ac-tooltip::after {
        top: auto;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        border-top-color: transparent;
        border-bottom-color: var(--blue-light);
    }
}

@media (max-width: 480px) {
    .ac-tooltip {
        max-width: 140px;
        font-size: 0.75rem;
        padding: 8px 12px;
        bottom: auto;
        top: 120%;
        left: 50%;
        transform: translateX(-50%);
    }

    .ac-tooltip::after {
        top: auto;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        border-top-color: transparent;
        border-bottom-color: var(--blue-light);
    }
}

.production-text {
    flex: 1;
}

.encadre{
    background-color: var(--blue-light);
    padding: 1rem;
    border-radius: 15px;
}

.production-skills {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    align-items: center;
}

/* ===== LEARNINGS SECTION ===== */
.project-learnings {
    padding-top: 2rem;
    padding-left: 4rem;
    padding-bottom: 4rem;
    padding-right: 4rem;
    background: var(--white);
}

.project-learnings-container {
    max-width: 1090px;
    margin: 0 auto;
}

.project-learnings h2,
.project-analysis h2 {
    font-family: 'Antonio', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--blue-dark);
    margin: 0;
    white-space: nowrap;
}

.learnings-content,
.analysis-content {
    max-width: 900px;
}

.learnings-content p,
.analysis-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
    letter-spacing: -0.32px;
}

/* ===== ANALYSIS SECTION ===== */
.project-analysis {
    padding: 4rem 2rem;
    background: var(--blue-light);
}

.project-analysis-container {
    max-width: 1090px;
    margin: 0 auto;
}

/* ===== IMPROVEMENTS SECTION ===== */
.project-improvements {
    padding: 4rem 2rem;
    background: var(--white);
}

.project-improvements-container {
    max-width: 1200px;
    margin: 0 auto;
}

.improvements-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.improvement-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.improvement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.improvement-image {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--green-light), var(--blue-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.improvement-card h3 {
    font-family: 'Antonio', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1rem 1.5rem;
    color: var(--black);
}

.improvement-badge {
    background: var(--pink-dark);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    margin: 0 1.5rem 1.5rem;
    display: inline-block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .landing-title {
        font-size: 2.5rem;
    }

    .context-label,
    .context-value {
        font-size: 1rem;
    }

    .context-intro {
        font-size: 1rem;
    }

    .project-production h2 {
        font-size: 2.5rem;
    }

    .production-intro {
        font-size: 1rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .production-content {
        gap: 50px;
    }

    .production-gallery {
        width: 100%;
        max-width: 680px;
        margin: 0 auto;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        justify-items: center;
    }

    .production-gallery-2col {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }

    .production-gallery .prod-image {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .landing-image {
        height: 180px;
        width: 100%;
        margin-left: calc(-50vw + 50%);
    }

    .landing-container {
        padding: 1rem 1rem;
        width: 100%;
        margin: 0;
    }
    

    .landing-title {
        font-size: 2.5rem;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .landing-tags {
        gap: 1.5rem;
    }

    .context-item {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        gap: 0.5rem;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
        border-bottom: 1px solid var(--black);
    }

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

    .context-label,
    .context-value {
        font-size: 0.95rem;
    }

    .context-intro {
        font-size: 0.95rem;
    }

    .context-value {
        text-align: left;
        margin-left: 0;
    }

    .project-production h2 {
        font-size: 1.8rem;
    }

    .production-intro {
        font-size: 0.95rem;
    }

    .production-content {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }

    .prod-image {
        width: 100%;
        height: auto;
        aspect-ratio: 400 / 300;
    }

    .prod-image-legend {
        width: 100%;
        height: auto;
        aspect-ratio: 400 / 300;
    }

    .image-legend{
        width: 100%;
    }

    .production-gallery {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        justify-items: center;
        margin-top: 2rem;
    }

    .production-gallery-2col {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 2rem;
    }

    .production-gallery .prod-image {
        width: 100%;
    }

    .improvements-carousel {
        grid-template-columns: 1fr;
    }
    
    .encadre{
        margin-bottom: 3rem;
    }

    .button-next-project{
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .landing-image {
        height: 250px;
    }

    .landing-container {
        padding: 1.5rem 1rem;
    }

    .landing-title-wrapper {
        gap: 1rem;
        margin-bottom: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .landing-title {
        font-size: 2.5rem;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .landing-title-line {
        width: 40px;
        height: 3px;
    }

    .landing-tags {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .landing-tags-left,
    .landing-tags-right {
        gap: 0.5rem;
    }

    .landing-tag,
    .competence-badge,
    .logiciels,
    .software-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .competence-badge {
        font-size: 0.75rem;
    }

    .context-item {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        gap: 0.8rem;
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .context-item:last-child {
        margin-bottom: 0;
    }

    .production-skills{
        margin-bottom: 1.5rem;
    }

    .context-label,
    .context-value {
        font-size: 0.85rem;
    }

    .context-intro {
        font-size: 0.9rem;
    }

    .context-value {
        text-align: left;
        margin-left: 0;
    }

    .project-production h2 {
        font-size: 1.5rem;
    }

    .production-intro {
        font-size: 0.85rem;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .production-description {
        font-size: 0.9rem;
    }

    .production-content {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .prod-image {
        width: 100%;
        height: auto;
    }

    .prod-image-legend{
        width: 100%;
        height: auto;
    }

    .image-legend{
        width: 100%;
    }

    .production-gallery {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        justify-items: center;
    }

    .production-gallery-2col {
        grid-template-columns: 1fr;
        margin-top: 2rem;
    }

    .production-gallery .prod-image {
        width: 100%;
    }

    .production-block {
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }

    .project-learnings h2,
    .project-analysis h2,
    .project-improvements h2 {
        font-size: 1.5rem;
    }

    .project-learnings{
        padding: 4rem 2rem;
    }

    .encadre{
        margin-bottom: 3rem;
    }

    .button-next-project{
        justify-content: center;
    }
}

