* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bleu-primaire: #3b82f6;
    --noir-fond: #000000;
    --blanc-texte: #ffffff;
    --blanc-transparent: rgba(255, 255, 255, 0.7);
    --blanc-tres-transparent: rgba(255, 255, 255, 0.5);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--noir-fond);
    color: var(--blanc-texte);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

hr {
    width: 100%;
    border: none;
    border-top: 1px solid var(--blanc-tres-transparent);
    opacity: 0.3;
    margin: 2rem 0;
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* =========================================NAVIGATION========================================= */
.navigation {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    mix-blend-mode: difference;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    text-decoration: none;
    color: var(--blanc-texte);
}

.point-bleu {
    color: var(--bleu-primaire);
}

.menu {
    display: flex;
    gap: 2.5rem;
}

.lien-menu {
    color: var(--blanc-transparent);
    text-decoration: none;
    font-size: 0.875rem;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.3s ease;
}

.lien-menu:hover,
.lien-menu.actif {
    color: var(--blanc-texte);
}

/* =================================ACCUEIL========================================= */
.section-accueil {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5rem;
    position: relative;
    overflow: hidden;
}

.contenu-principal {
    z-index: 10;
    max-width: 72rem;
    text-align: center;
    margin: 0 auto;
}

.sous-titre {
    color: var(--bleu-primaire);
    font-family: monospace;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.grand-titre {
    font-size: 9rem;
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.05em;
    margin-bottom: 2rem;
}

.texte {
    display: block;
}

.texte-contour {
    font-style: italic;
    color: transparent;
    -webkit-text-stroke: 2px var(--blanc-texte);
}

.container {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.bouton-projets {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    background-color: var(--blanc-texte);
    color: var(--noir-fond);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.bouton-projets:hover {
    background-color: var(--bleu-primaire);
    color: var(--blanc-texte);
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.bouton-inverse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background-color: transparent;
    color: var(--blanc-texte);
    border-radius: 50px;
    border: 2px solid var(--blanc-texte);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}

.bouton-inverse:hover {
    background-color: var(--blanc-texte);
    color: var(--noir-fond);
    transform: translateY(-4px);
}

/* =========================================PROJETS ========================== */
.section-projet {
    height: max-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem;
    position: relative;
    overflow: hidden;
}

.section-projet .grand-titre {
    max-width: 25rem;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0em;
    margin: 0;
    padding: 0;
}

.titre-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 5rem;
}

.titre-container .voir-plus {
    color: var(--bleu-primaire);
    font-family: monospace;
    font-size: 1rem;
    letter-spacing: 2px;
    text-decoration: none;
    border-bottom: 2px solid var(--bleu-primaire);
    padding-bottom: 3px;
    transition: all 0.3s;
}

.titre-container .voir-plus:hover {
    color: white;
    border-bottom: 2px solid white;
}

.projet {
    display: flex;
    gap: 30px;
}

.projet-1 {
    width: 100%;
    height: 650px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 20px;
    display: flex;
    align-items: flex-end;
}

.projet-1 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100);
    object-position: center;
    z-index: -1;
    transition: transform 0.3s ease;
}

.projet-1:hover img {
    transform: scale(1.05);
    filter: grayscale(40%);
}

.projet-1 .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    padding: 2rem;
    gap: 0.3rem;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

.projet-1 span {
    color: var(--bleu-primaire);
    font-family: monospace;
}

.projet-1 h3 {
    margin: 0;
    font-size: 1.5rem;
}

.projet-1 p {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(15px);
    transition: all 0.3s;
    margin: 0;
    color: var(--blanc-transparent);
}

.projet-1:hover p {
    opacity: 1;
    max-height: 100px;
    transform: translateY(0);
    margin-top: 0.5rem;
}

/* =================EXPERTISE========================================= */
.expertise {
    height: max-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem;
    position: relative;
    overflow: hidden;
    text-align: left;
    width: 100%;
}

.expertise .titre-container p {
    color: var(--bleu-primaire);
    font-family: monospace;
    font-size: 17px;
}

.expertise .titre-container a {
    all: unset;
    cursor: pointer;
    color: var(--blanc-tres-transparent);
    font-family: monospace;
    font-size: 17px;
    transition: all 0.3s;
}

.expertise .titre-container a:hover {
    color: var(--blanc-texte);
}

.expertise .container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
}

.expertise .container .child {
    display: flex;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 20px;
    justify-content: space-between;
}

.expertise .container .child span {
    font-family: monospace;
    color: var(--blanc-tres-transparent);
    font-size: 20px;
    margin: auto 0;
    margin-right: 20px;
}

.expertise .container .child h3:hover {
    margin-left: 20px;
    color: var(--bleu-primaire);
}

.expertise .container .child h3 {
    color: var(--blanc-texte);
    font-size: 55px;
    transition: all 0.3s;
}

.expertise .container .child p {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateX(150px);
    transition: all 0.3s;
    margin: 0;
    color: var(--blanc-transparent);
    max-width: 400px;
    text-align: right;
}

.expertise .container .child:hover p {
    opacity: 1;
    max-height: 100px;
    transform: translateX(0);
}

/* =========================PAGE PROJETS========================================= */
.texte {
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
}

.titre-container {
    padding: 7rem 0 0 0;
}

.page-projet .projet {
    overflow: scroll;
}

.page-projet .projet .projet-1 {
    min-width: 600px;
    max-height: 500px;
}

/* ============================PARCOURS================================= */
.parcours-container {
    margin-top: 0;
    display: flex;
    padding: 0 5rem;
    gap: 50px;
}

.competences,
.time-line {
    width: 50%;
}

.competences hr,
.time-line hr {
    margin: 0;
    margin-bottom: 55px;
}

.competences h3,
.time-line h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.competences span,
.time-line span {
    font-size: 1rem;
    color: var(--bleu-primaire);
    display: block;
    margin-bottom: 10px;
    font-family: monospace;
}

.competences p,
.time-line p {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--blanc-texte);
    margin-bottom: 25px;
}

.time-line p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.time-line h6 {
    font-size: 1.7rem;
    color: var(--blanc-texte);
    margin-bottom: 5px;
}

.time-line-child {
    position: relative;
    padding-left: 25px;
    padding-bottom: 20px;
}

.time-line-child::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-left: 2px solid rgba(255, 255, 255, 0.16);
}

.time-line-child::after {
    content: '';
    position: absolute;
    left: -4px;
    top: 5px;
    width: 10px;
    height: 10px;
    background-color: var(--bleu-primaire);
    border-radius: 50%;
}

/* ============================CONTACT========================================= */
.section-contact {
    margin-top: 80px;
    display: flex;
    padding: 0 5rem;
}

.contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 5rem 5rem;
    padding: 5rem;
    background-color: rgba(255, 255, 255, 0.06);
    border-radius: 30px;
    border: 1px solid rgba(128, 128, 128, 0.488);
}

.contact .contact-left {
    display: flex;
    flex-direction: column;
}

.contact .contact-left p {
    opacity: 0.7;
    font-size: 1.2rem;
    line-height: 1.3;
    max-width: 400px;
}

.contact .contact-left a {
    all: unset;
    cursor: pointer;
    margin-top: 60px;
    font-size: 2rem;
    margin-bottom: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

.contact .contact-left span {
    font-family: monospace;
    font-size: 1.1rem;
    opacity: 0.6;
}

.contact .contact-left .button-contact {
    margin-top: 200px;
}

.contact .contact-left .button-contact a {
    all: unset;
    cursor: pointer;
    margin-right: 10px;
    margin-top: 100%;
    font-size: 1rem;
    border-bottom: 2px solid white;
    transition: all 0.3s;
}

.contact .contact-left a:hover {
    color: var(--bleu-primaire);
    border-color: var(--bleu-primaire);
}

.contact .contact-right {
    display: flex;
    flex-direction: column;
}

.contact .contact-right form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #000000;
    border: 1px solid rgba(128, 128, 128, 0.488);
    border-radius: 27px;
    padding: 30px;
    width: 580px;
    box-sizing: border-box;
}

.contact .contact-right .input-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid rgba(128, 128, 128, 0.488);
    border-bottom: 2px solid;
    border-image-source: linear-gradient(to right, var(--bleu-primaire), black);
    border-image-slice: 1;
}

.contact .contact-right form label {
    font-family: monospace;
    opacity: 0.7;
    margin-bottom: 5px;
    color: white;
}

.contact .contact-right form input,
.contact .contact-right form textarea {
    width: 100%;
    all: unset;
    margin-bottom: 10px;
    color: white;
    box-sizing: border-box;
}

.contact .contact-right form textarea {
    width: 100%;
    min-height: 100px;
    resize: vertical;
}

.contact .contact-right form button {
    all: unset;
    margin-top: 30px;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    color: #000000;
    background-color: #ffffff;
    padding: 18px;
    border-radius: 50px;
    transition: all 0.3s;
}

.contact .contact-right form button:hover {
    color: white;
    background-color: var(--bleu-primaire);
}

/* ==================FOOTER========================================= */
footer {
    height: max-content;
    align-items: flex-end;
}

footer .footer-container {
    margin-top: 100px;
    height: 90%;
    background-color: var(--blanc-texte);
    border-radius: 100px 100px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem;
    position: relative;
    overflow: hidden;
    text-align: center;
    width: 100%;
    color: #000000;
}

footer .footer-container h3 {
    font-size: 7rem;
    font-style: italic;
    font-weight: 900;
    margin-bottom: 40px;
}

footer .footer-container a {
    all: unset;
    cursor: pointer;
    font-size: 2.2rem;
    font-weight: 600;
    transition: all 0.3s;
    border-bottom: 2px solid black;
    width: max-content;
    margin: 0 auto;
}

footer .footer-container span {
    font-size: 1rem;
    opacity: 0.6;
    font-weight: 400;
    margin: 1.4rem 0;
}

footer .footer-container .bouton {
    all: unset;
    cursor: pointer;
    font-size: 1.1rem;
    width: max-content;
    margin: 0 auto;
    background-color: black;
    color: var(--blanc-texte);
    font-weight: 600;
    padding: 15px 35px;
    border-radius: 50px;
    transition: all 0.3s;
    margin-bottom: 100px;
}

footer .footer-container .bouton:hover {
    background-color: var(--bleu-primaire);
    color: var(--blanc-texte);
}

footer .footer-container hr {
    border-top: 1px solid black;
    opacity: 0.2;
}

footer .footer-container .lien {
    border: none;
    font-size: 1rem;
    font-weight: 700;
}

footer .footer-container .lien a {
    border: none;
    font-size: 1rem;
    margin-left: 20px;
    transition: all 0.3s;
}

footer .footer-container .lien a:hover {
    color: var(--bleu-primaire);
}

@media (max-width: 1024px) {
    .menu {
        gap: 1.5rem;
    }

    /* Hero */
    .section-accueil {
        padding: 0 3rem;
    }

    .grand-titre {
        font-size: 6.5rem;
    }

    /* Projets */
    .section-projet {
        padding: 4rem 3rem;
    }

    .section-projet .grand-titre {
        font-size: 3rem;
    }

    .projet-1 {
        height: 480px;
    }

    /* Expertise */
    .expertise {
        padding: 4rem 3rem;
    }

    .expertise .container .child h3 {
        font-size: 40px;
    }

    .expertise .container .child p {
        max-width: 260px;
        font-size: 0.85rem;
    }

    /* Parcours */
    .parcours-container {
        padding: 0 3rem;
        gap: 30px;
    }

    .competences p,
    .time-line p {
        font-size: 1.1rem;
    }

    /* Contact */
    .section-contact {
        padding: 0 2rem;
    }

    .contact {
        margin: 0 2rem 4rem;
        padding: 3rem;
        gap: 2rem;
    }

    .contact .contact-right form {
        width: 420px;
    }

    /* Footer */
    footer .footer-container h3 {
        font-size: 5rem;
    }

    footer .footer-container a {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .navigation {
        padding: 1.2rem 1.5rem;
    }

    .menu {
        gap: 1rem;
    }

    .lien-menu {
        font-size: 0.75rem;
    }

    /* Hero */
    .section-accueil {
        padding: 0 1.5rem;
        padding-top: 5rem;
    }

    .grand-titre {
        font-size: 4.2rem;
        line-height: 0.9;
    }

    .texte-contour {
        -webkit-text-stroke: 1.5px var(--blanc-texte);
    }

    .sous-titre {
        font-size: 0.75rem;
        letter-spacing: 0.2em;
    }

    .container {
        gap: 1rem;
    }

    .bouton-projets,
    .bouton-inverse {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }

    /*Section projet */
    .section-projet {
        padding: 3rem 1.5rem;
    }

    .section-projet .grand-titre {
        font-size: 2.5rem;
        max-width: 100%;
    }

    .titre-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 2.5rem;
        padding-top: 5rem;
    }

    .titre-container .voir-plus {
        font-size: 0.85rem;
    }

    .projet {
        flex-direction: row;
        overflow-x: auto;
        gap: 20px;
        padding-bottom: 1rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .projet-1 {
        min-width: 80vw;
        height: 400px;
        scroll-snap-align: start;
        flex-shrink: 0;
    }

    .projet-1 p {
        opacity: 1;
        max-height: 100px;
        transform: translateY(0);
        margin-top: 0.5rem;
    }

    /* Expertise */
    .expertise {
        padding: 3rem 1.5rem;
    }

    .expertise .titre-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .expertise .container .child {
        height: auto;
        flex-wrap: wrap;
        gap: 0.3rem;
        padding: 0.4rem 0;
    }

    .expertise .container .child h3 {
        font-size: 2rem;
    }

    .expertise .container .child span {
        font-size: 0.9rem;
        margin-right: 10px;
    }

    .expertise .container .child p {
        opacity: 1;
        max-height: none;
        transform: translateX(0);
        font-size: 0.8rem;
        max-width: 100%;
        text-align: left;
        flex-basis: 100%;
    }

    /*Page projets */
    .texte {
        font-size: 3.5rem;
    }

    .page-projet .projet .projet-1 {
        min-width: 85vw;
        max-height: 380px;
    }

    /*Parcours */
    .parcours-container {
        flex-direction: column;
        padding: 0 1.5rem;
        gap: 3rem;
    }

    .competences,
    .time-line {
        width: 100%;
    }

    .competences h3,
    .time-line h3 {
        font-size: 1.6rem;
    }

    .competences p {
        font-size: 1.1rem;
    }

    .time-line h6 {
        font-size: 1.3rem;
    }

    /*Contact */
    .section-contact {
        padding: 0 1rem;
        margin-top: 50px;
    }

    .contact {
        flex-direction: column;
        margin: 0 1rem 3rem;
        padding: 2rem 1.5rem;
        gap: 2.5rem;
        border-radius: 20px;
    }

    .contact .contact-left p {
        font-size: 1rem;
        max-width: 100%;
    }

    .contact .contact-left a {
        font-size: 1.5rem;
        margin-top: 30px;
    }

    .contact .contact-left .button-contact {
        margin-top: 2rem;
    }

    .contact .contact-right {
        width: 100%;
    }

    .contact .contact-right form {
        width: 100%;
        padding: 20px;
        border-radius: 18px;
    }

    /*Footer*/
    footer .footer-container {
        padding: 3rem 1.5rem;
        border-radius: 50px 50px 0 0;
    }

    footer .footer-container h3 {
        font-size: 3rem;
        margin-bottom: 25px;
    }

    footer .footer-container a {
        font-size: 1.4rem;
    }

    footer .footer-container span {
        font-size: 0.9rem;
        margin: 1rem 0;
    }

    footer .footer-container .bouton {
        font-size: 0.95rem;
        padding: 12px 28px;
        margin-bottom: 60px;
    }

    footer .footer-container .lien {
        flex-direction: column;
        gap: 0.5rem;
    }

    footer .footer-container .lien a {
        margin-left: 10px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .navigation {
        padding: 1rem;
    }

    .menu {
        gap: 0.7rem;
    }

    .lien-menu {
        font-size: 0.65rem;
        letter-spacing: 0;
    }

    /* Hero */
    .grand-titre {
        font-size: 3rem;
    }

    .section-accueil {
        padding: 0 1rem;
        padding-top: 5rem;
    }

    /* Projets */
    .projet-1 {
        min-width: 88vw;
        height: 320px;
    }

    .projet-1 h3 {
        font-size: 1.1rem;
    }

    /* Expertise */
    .expertise .container .child h3 {
        font-size: 1.6rem;
    }

    /* Parcours */
    .parcours-container {
        padding: 0 1rem;
    }

    .time-line h6 {
        font-size: 1.1rem;
    }

    /* Contact */
    .contact {
        margin: 0 0.5rem 2rem;
        padding: 1.5rem 1rem;
    }

    .contact .contact-right form {
        padding: 15px;
    }

    /* Footer */
    footer .footer-container h3 {
        font-size: 2.2rem;
    }

    footer .footer-container a {
        font-size: 1.1rem;
    }

    footer .footer-container {
        border-radius: 30px 30px 0 0;
        padding: 2.5rem 1rem;
    }
}

@media (min-width: 1440px) {
    .navigation {
        max-width: 1400px;
        left: 50%;
        transform: translateX(-50%);
    }

    .section-accueil,
    .section-projet,
    .page-projet,
    .expertise,
    .parcours-container,
    .section-contact,
    footer {
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
    }

    .section-contact {
        margin-top: 80px;
    }
}
