:root {
    /* Palette de Couleurs */
    --color-primary: #2563eb;
    --color-primary-hover: #1d4ed8;
    --color-notif: #2564eb18;
    --color-text-heading: #0f172a;
    --color-text-body: #64748b;
    --color-border: #b2b2b2;
    --color-white: #ffffff;
    --color-background: #ffffff;
    --color-background-bleu: #f4f8ff;

    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --font-weight-medium: 500;
    --font-weight-bold: 700;

    --border-radius-button: 8px;
    --transition-default: color 0.3s ease;

    --padding-global: 150px;
}
@media (min-width: 1450px) {
    :root {
        --padding-global: 200px;
    }
}

@media (max-width: 1200px) {
    :root {
        --padding-global: 80px;
    }
}

@media (max-width: 768px) {
    :root {
        --padding-global: 40px;
    }
}

@media (max-width: 480px) {
    :root {
        --padding-global: 20px;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    background-color: var(--color-background);
    color: var(--color-text-body);
}

header {
    height: 80px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.721);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--padding-global);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav p {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-heading);
    margin: 0;
    cursor: pointer;
}

nav p span {
    color: var(--color-primary);
}

nav ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: var(--color-text-body);
    font-weight: var(--font-weight-medium);
    font-size: 1rem;
    transition: var(--transition-default);
}

nav ul li a:hover {
    color: var(--color-text-heading);
}

nav ul li:last-child a {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 10px 24px;
    border-radius: var(--border-radius-button);
    transition: background-color 0.3s ease;
}

nav ul li:last-child a:hover {
    background-color: var(--color-primary-hover);
    color: var(--color-white);
}

/* Burger -------------------------------------------------------------------------*/
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-text-heading);
    transition: all 0.3s ease;
}

@media (max-width: 630px) {
    .burger-menu {
        display: flex;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 80px;
        right: -100%; /* Caché */
        background-color: rgb(255, 255, 255);
        width: 100%;
        height: 100vh;
        text-align: center;
        padding-top: 50px;
        transition: 0.3s ease;
    }

    nav ul.active {
        display: flex;
        right: 0; /* affiché */
    }

    nav ul li {
        margin: 15px 0;
    }

    /* Animation du X */
    .burger-menu.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    .burger-menu.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}
/* fin-Burger -------------------------------------------------------------------------*/

span .html {
    background-color: #1d4ed8;
}

/* Footer */
footer {
    background: var(--color-text-heading);
    color: white;
    padding: 50px var(--padding-global) 20px;
}

.footer-content {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-section h4 span {
    color: var(--color-primary);
}

.footer-section p {
    color: #9ca3af;
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
    color: #9ca3af;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #374151;
    color: #9ca3af;
}
/*--------------------------------------------------------------------------------------------------------------------------------*/

/* Boutons */
.button-blue,
.button-white {
    display: inline-block;
    cursor: pointer;
    padding: 14px 23px;
    border-radius: var(--border-radius-button);
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: all 0.3s ease;
}

.button-blue {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 1px solid var(--color-primary);
}

.button-blue:hover {
    background-color: var(--color-primary-hover);
}

.button-white {
    background-color: var(--color-white);
    color: var(--color-text-heading);
    border: 1px solid var(--color-border);
}

.button-white:hover {
    background-color: #f8fafc;
    border-color: var(--color-text-heading);
}

/* Section Accueil ------------------------------------------------------------------------------------------------*/
.accueil {
    display: flex;
    background-color: var(--color-background);
    justify-content: center;
    align-items: center;
    padding: 93px var(--padding-global);
}

.accueil .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accueil .left {
    flex: 1;
    max-width: 660px;
}

.accueil .notif {
    margin-bottom: 24px;
}

.accueil .notif span {
    display: inline-block;
    background-color: var(--color-notif);
    color: var(--color-primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--color-text-heading);
    margin: 0 0 24px 0;
    font-weight: var(--font-weight-bold);
}

h1 span {
    color: var(--color-primary);
}

.accueil .left p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text-body);
    margin: 0 0 32px 0;
}

.buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.accueil .right {
    flex-shrink: 0;
}

.accueil .right img {
    width: 300px;
    max-width: 400px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Projet a la une */
.projet-une {
    background-color: var(--color-background-bleu);
    /* Utilisation de la variable */
    padding: 100px var(--padding-global);
}

.projet-une .title {
    text-align: left;
    margin: 0;
    padding: 0;
    margin-bottom: 50px;
}

.projet-une .title h2 {
    color: var(--color-text-heading);
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 4px;
    line-height: 1.2;
}

.projet-une .title p {
    color: var(--color-text-body);
    margin-top: 0;
    margin-bottom: 0;
}

.projet-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    gap: 20px;
    justify-content: space-between;
}

.projet-container .parent {
    width: calc((100% - 60px) / 3);
    height: 430px;
    border-radius: 27px;
    border: 1px solid var(--color-notif);
    background-color: var(--color-background);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.projet-container .parent:hover {
    box-shadow: 2px 4px 8px #0f172a18;
}

.projet-container .parent .child {
    padding: 10px 14px;
}

.projet-container .parent .img {
    width: 100%;
    height: 210px;
    overflow: hidden;
}

.projet-container .parent .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.projet-container .parent:hover .img img {
    transform: scale(1.05);
    opacity: 1;
}

.projet-container .parent h3 {
    color: var(--color-text-heading);
}

.projet-container .parent span {
    background-color: var(--color-background-bleu);
    font-size: 0.75rem;
    border-radius: 7px;
    border: 1px solid var(--color-notif);
    padding: 0.125rem 0.65rem;
}

@media (max-width: 1024px) {
    .projet-container .parent {
        width: calc((100% - 20px) / 2);
    }

    h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 868px) {
    .accueil {
        padding: 50px var(--padding-global);
    }
    .accueil .container {
        flex-direction: column-reverse;
        gap: 40px;
        text-align: center;
    }

    .accueil .left {
        width: 100%;
        max-width: 100%;
    }

    .accueil .right img {
        width: 280px;
        height: 280px;
        border-radius: 50%;
        object-fit: cover;
        object-position: top center;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

    .projet-container .parent {
        width: 100%;
        height: auto;
        min-height: 400px;
    }

    .accueil,
    .buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .accueil .left p {
        font-size: 1rem;
    }

    .buttons {
        flex-direction: column;
        width: 100%;
    }

    .button-blue,
    .button-white {
        width: 100%;
        text-align: center;
    }

    footer .container {
        flex-direction: column;
    }
}
/* A propos --------------------------------------------------------------------------------------------------------------------*/
.a-propos .description {
    padding: 130px var(--padding-global);
}

.a-propos h2 {
    font-size: 3.5rem;
    color: var(--color-text-heading);
}

.a-propos p {
    font-size: 1.5rem;
    color: var(--color-text-body);
    line-height: 1.6;
}

.a-propos .competence {
    background-color: var(--color-background-bleu);
    padding: 70px var(--padding-global);
}

.a-propos .competence h3 {
    font-size: 2rem;
    color: var(--color-text-heading);
    margin-bottom: 32px;
    margin-left: auto;
    margin-right: auto;
}

.a-propos .competence .bulle {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 auto;
}

.a-propos .competence span {
    font-size: 0.95rem;
    color: var(--color-text-body);
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    padding: 6px 16px;
    border-radius: 7px;
    transition: all 0.3s;
    cursor: default;
}

.a-propos .competence span:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.a-propos .parcours {
    padding: 70px var(--padding-global);
}

.a-propos .parcours h2 {
    font-size: 2rem;
}

.a-propos .parcours .timeline {
    border-left: 2px solid #0f172a;
    cursor: cell;
}

.a-propos .parcours .timeline .timeline-content {
    margin-left: -8px;
    margin-bottom: 20px;
    display: flex;
}

.a-propos .parcours .timeline .timeline-content h6 {
    font-size: 1.3rem;
    margin: 3px;
    padding: 0;
    color: var(--color-text-heading);
}

.a-propos .parcours .timeline .timeline-content p {
    font-size: 1rem;
    margin: 3px;
    padding: 0;
    color: var(--color-text-body);
}

.a-propos .parcours .timeline .timeline-content span {
    font-size: 1rem;
    margin: 3px;
    color: var(--color-primary);
    padding: 0;
}

.a-propos .parcours .timeline .timeline-content .rond {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #0f172a;
    margin-right: 40px;
}

.parcours-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    position: relative;
}

.visual-decoration {
    position: sticky;
    top: 190px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card {
    position: sticky;
    z-index: 1;
    padding: 30px;
    border-radius: 27px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
    max-width: 450px;
    text-align: center;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.icon-code {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 1rem;
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.card h4 {
    color: var(--color-text-heading);
    margin: 0 0 10px 0;
    font-size: 1.2rem;
}

.card p {
    font-size: 0.95rem;
    color: var(--color-text-body);
    line-height: 1.5;
    margin-bottom: 20px;
}

.loading-bar {
    width: 100%;
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.loading-bar .progress {
    width: 50%;
    height: 100%;
    background-color: var(--color-primary);
    border-radius: 10px;
    animation: loading 2s infinite;
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(150%);
    }
}

.certif {
    padding: 100px var(--padding-global);
    background-color: var(--color-notif);
}

.certif h2 {
    color: var(--color-text-heading);
    font-size: 2rem;
    margin-bottom: 20px;
}

.certif .container {
    width: 100%;
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 7px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.certif .container > img {
    width: 40px;
    height: auto;
    object-fit: contain;
}

.certif .container p {
    color: var(--color-text-body);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

.certif .container a {
    margin-left: auto;

    display: flex;
    align-items: center;
    text-decoration: none;
}

.certif .container a img {
    width: 24px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.certif .container a img:hover {
    opacity: 1;
}

@media (max-width: 1000px) {
    .a-propos .description {
        padding: 100px var(--padding-global);
    }
    .parcours-grid {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        gap: 6px;
        position: relative;
    }

    .visual-decoration {
        position: relative;
        top: 20px;
        height: 400px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .card {
        position: relative;
        z-index: 1;
        padding: 30px;
        border-radius: 27px;
        box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
        max-width: 450px;
        text-align: center;
        transform: translateY(0);
        transition: transform 0.3s ease;
    }
}

@media (max-width: 650px) {
    .a-propos .description {
        padding: 80px var(--padding-global);
    }
    .a-propos h2 {
        font-size: 3rem;
    }

    .a-propos p {
        font-size: 1.2rem;
    }
}
@media (max-width: 4300px) {
    .a-propos .description {
        padding: 50px var(--padding-global);
    }
    .a-propos h2 {
        font-size: 2rem;
    }

    .a-propos p {
        font-size: 1rem;
    }
}
/* --- Contact ----------------------------------------------------------------------------------------- */
.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 40px var(--padding-global);
    background-color: var(--color-notif);
}

.contact .title {
    max-width: 540px;
    text-align: center;
    margin-bottom: 40px;
}

.contact .title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    margin-top: 0;
    color: var(--color-text-heading);
}

.part-container {
    display: flex;
    padding: 0 var(--padding-global);
    gap: 30px;
    margin: 0;
    padding: 0;
}

.contact .part-1,
.contact .part-2,
.contact .part-3 {
    background-color: var(--color-background);
    border-radius: 27px;
}

.contact .part-1 h6 {
    margin-bottom: 25px;
}

.contact .part-1 {
    padding: 35px 30px;
}

.contact .part-2 {
    padding: 30px 25px;
    width: 400px;
    margin-bottom: 30px;
}

.contact .part-3 {
    padding: 30px 25px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 550px;
}

.form-container {
    display: flex;
    gap: 20px;
}

.form-child {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.form-child label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-heading);
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-white);
    font-family: var(--font-family);
    transition: all 0.3s ease;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.1);
}

.submit-btn {
    cursor: pointer;
    padding: 16px 30px;
    border: none;
    border-radius: 12px;
    background-color: var(--color-primary);
    color: white;
    font-weight: 600;
    transition: transform 0.3s;
}

.submit-btn:hover {
    background-color: var(--color-primary-hover);
}

.info-child {
    display: flex;
    align-items: center;
    line-height: 0.5;
}

.info-child a {
    all: unset;
    display: flex;
    align-items: center;
    width: 100%;
    cursor: pointer;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    margin: 2px 0;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.info-child a img {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    object-fit: contain;
}

.info-child a span {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text-body);
}

.info-child a:hover {
    border-color: var(--color-primary);
    background-color: var(--color-background-alt);
    transform: translateX(5px);
}

.contact h6 {
    color: var(--color-text-heading);
    margin: 0 0 15px 0;
    font-size: 1.2rem;
}

.info-child img {
    width: 20px;
    margin-right: 10px;
}

/* RESPONSIVE------------------------------------------------------  */

@media (max-width: 1200px) {
    .part-container {
        flex-direction: column;
        width: 100%;
        gap: 30px;
    }

    .contact .part-1,
    .contact .part-2,
    .contact .part-3,
    .contact-form {
        width: 100%;
        max-width: 100%;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .form-container {
        flex-direction: column;
        gap: 15px;
    }

    .submit-btn {
        width: 100%;
    }

    .contact .part-1,
    .contact .part-2,
    .contact .part-3 {
        padding: 25px 20px;
    }
}

/*projet------------------------------------------------------------------------------------------------------------------------*/

.full-projets {
    padding: 50px var(--padding-global);
}

.full-projets h2 {
    color: var(--color-text-heading);
    font-size: 2rem;
    margin-bottom: 0;
}

.full-projets p {
    margin-top: 5px;
}

.full-projets .button {
    display: flex;
    gap: 5px;
}

.full-projets .button a {
    all: unset;
    cursor: pointer;
    color: var(--color-text-heading);
    font-size: 0.9rem;
    padding: 14px 23px;
    background-color: var(--color-background);
    color: var(--color-text-heading);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-button);
    transition: all 0.3s;
}

.full-projets .button a:first-child {
    border: 1px solid var(--color-text-heading);
}

.full-projets .projet-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: flex-start;
    margin-top: 50px;
}

.full-projets .projet-container .parent {
    width: calc((100% - 60px) / 3);
    border: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-radius: 27px;
    overflow: hidden;
    height: auto;
    min-height: 480px;
    display: flex;
    flex-direction: column;

    transition: box-shadow 0.3s ease;
}
.full-projets .projet-container .parent .child {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.full-projets .projet-container .parent .child p {
    margin-bottom: auto;
    padding-bottom: 20px;
}

.full-projets .projet-container .parent .child a.voir-plus {
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 12px 0;
    background-color: transparent;
    color: var(--color-text-heading);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.full-projets .projet-container .parent .child a.voir-plus:hover {
    background-color: var(--color-text-heading);
    color: var(--color-white);
    border-color: var(--color-text-heading);
}
/*popup--------------------------------------------------------*/
.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6); /* Fond */
    backdrop-filter: blur(5px);
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.overlay:target {
    visibility: visible;
    opacity: 1;
}

.popup {
    background: #fff;
    border-radius: var(--border-radius-button);
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.popup img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.popup h2 {
    margin: 15px 0 10px 0;
    padding: 0;
    font-size: 1.8rem;
    color: var(--color-text-heading);
}

.popup p {
    color: var(--color-text-body);
    line-height: 1.6;
    font-size: 1rem;
}

.popup .techno {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.popup .techno span {
    background-color: var(--color-background-bleu);
    font-size: 0.75rem;
    border-radius: 7px;
    border: 1px solid var(--color-notif);
    padding: 0.125rem 0.65rem;
}

.popup hr {
    margin: 30px 0;
    border: 0;
    border-top: 1px solid #eee;
}

.popup div:last-of-type a {
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
}

.popup a:first-child {
    background-color: var(--color-background-bleu);
    color: var(--color-text-heading);
    margin-right: 5px;
}

.popup a:last-child {
    background-color: var(--color-text-heading);
    color: #fff;
}

.popup a:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-size: 20px;
    text-decoration: none;
    color: var(--color-text-heading);
    transition: all 0.3s;
}

.close:hover {
    background-color: var(--color-primary);
    color: #fff;
    transform: rotate(90deg);
}

@media (max-width: 1000px) {
    .full-projets .projet-container .parent {
        width: calc((100%));
        border: 1px solid rgba(0, 0, 0, 0.098);
    }
}

@media (max-width: 768px) {
    .full-projets .projet-container {
        overflow-x: hidden;
    }

    .full-projets .button {
        width: 100%;

        display: flex;

        flex-direction: column;

        margin: 0;

        padding: 0;
    }

    .popup {
        background: #fff;
        border-radius: var(--border-radius-button);
        width: 100%;
        max-width: 700px;
        max-height: 80vh;
        overflow-y: auto;
        padding: 40px;
        position: relative;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    }
}

@media (max-width: 430px) {
    .full-projets .projet-container {
        overflow-x: hidden;
    }

    .full-projets .button {
        width: 100%;

        display: flex;

        flex-direction: column;

        margin: 0;

        padding: 0;
    }

    .popup {
        padding: 25px 20px;
        width: 95%;
    }

    .popup img {
        height: 200px;
        margin-bottom: 15px;
    }

    .popup h2 {
        font-size: 1.5rem;
    }

    .popup div:last-of-type {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .popup a:first-child {
        margin-right: 0;
    }

    .close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .popup {
        padding: 20px 15px;
        max-height: 95vh;
    }

    .popup img {
        height: 180px;
    }

    .popup p {
        font-size: 0.9rem;
    }

    .popup .techno span {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
}
