:root {
    --Neutral-Black: #000;
    --Gray-100: #F0F0F0;
    --Gray-200: #E3E3E3;
    --Gray-300: #D1D1D1;
    --Gray-500: #ABABAB;
    --Gray-600: #A3A3A3;
    --Purple-500: #8F6EE7;

    --Neutral-500: #666;
    --Neutral-900: #000;

    --bg-color: #212121;

    --windows-stroke-glass-specular: rgba(255, 255, 255, 0.40);
    --windows-glass: rgba(128, 128, 128, 0.30);
}

body {
    font-family: 'Lato', sans-serif;
    background-color: #f8f8f8;
    margin: 0;
    background: var(--Neutral-Black, #000);

    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
    width: 0;
}

html {
    overflow: scroll;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 0;
    /* Remove scrollbar space */
    background: transparent;
    /* Optional: just make scrollbar invisible */
}

/* Optional: show position indicator in red */
::-webkit-scrollbar-thumb {
    background: #FF0000;
}

header {
    width: 100%;
    display: flex;
    justify-content: center;
    animation: slideDown 1s ease forwards;
    opacity: 0;
    transform: translateY(-50px);
}

@keyframes slideDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar {
    height: 5rem;
    width: 70%;
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menus {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;

    color: var(--Gray-100, #F0F0F0);
    font-family: Inter, sans-serif;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5rem;
    letter-spacing: -0.01563rem;
    text-decoration: none;
}

/* Wrapper du dropdown */
.dropdown {
    position: relative;
}

.dropdown::after {
    content: "";
    position: absolute;
    top: 0;
    right: -20px;
    width: 100px;
    height: 100%;
}

/* Conteneur du dropdown */
.menu-dropdown {
    position: absolute;
    top: 150%;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Chaque lien du dropdown démarre invisible */
.menu-dropdown a {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;

    color: var(--Gray-100, #F0F0F0);
    font-family: Inter, sans-serif;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5rem;
    letter-spacing: -0.01563rem;
    text-decoration: none;
}

/* Sur hover, on anime les liens */
.dropdown:hover .menu-dropdown a {
    opacity: 1;
    transform: translateY(0);
}

/* Délai progressif */
.menu-dropdown a:nth-child(1) {
    transition-delay: 0.05s;
}

.menu-dropdown a:nth-child(2) {
    transition-delay: 0.1s;
}

.menu-dropdown a:nth-child(3) {
    transition-delay: 0.15s;
}

.buttons {
    flex: 0 0 auto;
    display: flex;
}

.buttons .btn {
    padding: 0.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;

    border-radius: 3rem;
    border: none;
    background: radial-gradient(70.71% 70.71% at 50% 50%, rgba(255, 255, 255, 0.12) 0%, rgba(0, 0, 0, 0.00) 100%), #FFF;
    box-shadow: 1px 1px 2px 0px rgba(255, 255, 255, 0.24) inset, 0px 1px 3px 0px rgba(255, 255, 255, 0.24), 0px 2px 6px 0px rgba(255, 255, 255, 0.24), 0px 4px 8px 0px rgba(255, 255, 255, 0.12), 0px 16px 32px -8px rgba(255, 255, 255, 0.48);
    color: var(--Neutral-Black, #F0F0F0);
    font-family: Inter, sans-serif;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5rem;
    letter-spacing: -0.01563rem;
}

.logo {
    width: 3.25rem;
    height: 3.25rem;
    flex: 0 0 auto;
}

.arrow-down {
    width: 1.5rem;
    height: 1.5rem;
}

.buttons {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}


.title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 80vh;
}

.title h1,
.title h2,
.button-title {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease forwards;
}

.title h1 {
    width: 100%;
    margin-top: 15vh;
    text-align: center;
    font-feature-settings: 'ss01' on;
    font-family: Inter, sans-serif;
    font-size: 7rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 0;
    background: linear-gradient(273deg, #FFF 17.45%, #383838 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation-delay: 0.5s;
}

.title h2 {
    color: var(--Gray-500, #ABABAB);
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: 2rem;
    letter-spacing: -0.0125rem;
    animation-delay: 1s;
}

.button-title {
    margin-top: 2rem;
    display: flex;
    max-width: 21.6525rem;
    padding: 0rem 1.75rem 0rem 1.5rem;
    justify-content: center;
    align-items: center;
    gap: 0.6875rem;
    cursor: pointer;
    border-radius: 3rem;
    border: none;
    background: radial-gradient(70.71% 70.71% at 50% 50%, rgba(255, 255, 255, 0.12) 0%, rgba(0, 0, 0, 0.00) 100%), #FFF;
    box-shadow: 1px 1px 2px 0px rgba(255, 255, 255, 0.24) inset, 0px 1px 3px 0px rgba(255, 255, 255, 0.24), 0px 2px 6px 0px rgba(255, 255, 255, 0.24), 0px 4px 8px 0px rgba(255, 255, 255, 0.12), 0px 16px 32px -8px rgba(255, 255, 255, 0.48);
    transition: transform 0.5s ease;
    animation-delay: 1s;
}

.button-title:hover {
    transform: scale(1.2);
}

.button-title img {
    width: 1.5rem;
    height: 1.5rem;
    aspect-ratio: 1/1;
}

.button-title p {
    color: #101010;
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5rem;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.projects {
    width: 100%;
    margin-top: 6.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 6.5rem;
}

.projects h1,
.school h1 {
    align-self: stretch;

    text-align: center;

    /* Header/H3/Semibold */
    font-family: "Inter Tight", sans-serif;
    font-size: 4rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin: 0;

    background: linear-gradient(294deg, #868686 0%, #FFF 50.4%, #868686 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glow-white {
    position: absolute;
    top: 100vh;
    width: 65.25rem;
    height: 51rem;
    flex-shrink: 0;

    border-radius: 65.25rem;
    background: linear-gradient(180deg, #FFF 0%, rgba(165, 165, 165, 0.00) 86.35%);
    filter: blur(200px);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    padding: 1rem;
}


.project {
    display: flex;
    flex-direction: column;
    width: 34.5625rem;
    height: 30rem;
    flex-shrink: 0;
    z-index: 50;
}

.project-title {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    width: 100%;
}

.project-title img {
    width: 1.5rem;
    height: 1.5rem;

}

.project-img {
    width: 100%;
    display: flex;
    justify-content: center;
}

.project-image {
    position: relative;
    /* Assure que le texte est positionné par rapport à ce conteneur */
    display: inline-block;
}

.project-image img {
    width: 37rem;
    height: 27.75rem;
    flex-shrink: 0;
    aspect-ratio: 4/3;
    border-radius: 1.875rem;
    background: lightgray 50% / cover no-repeat;
    transition: filter 0.5s ease;
    cursor: pointer;
}

.project-image img:hover {
    filter: brightness(0.2);
}

.image-text {
    position: absolute;
    bottom: 1.5rem;
    /* Ajustez selon vos besoins */
    left: 1rem;
    color: rgba(255, 255, 255, 0.90);
    font-family: "Inter Tight";
    font-size: 1.375rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.75rem;
    /* 127.273% */
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 100;
    pointer-events: none;
}

.project-image:hover .image-text {
    opacity: 1;
}


.project-title h3 {
    color: #FFF;
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "SF Pro Display", sans-serif;
    font-size: 1.5625rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.375rem;
    /* 88% */
}

.project-footer {
    display: flex;
    height: 3.5rem;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    margin-left: 1rem;
}

.project-footer p {
    display: flex;
    height: 1.625rem;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;

    color: rgba(255, 255, 255, 0.90);
    font-family: "Inter Tight";
    font-size: 1.375rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.75rem;
    /* 127.273% */
}

.project-footer span {
    display: flex;
    width: 1.375rem;
    height: 0.625rem;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;

    color: #FFF;
    font-family: "Inter Tight";
    font-size: 0.65625rem;
    font-style: normal;
    font-weight: 300;
    line-height: 0.65625rem;
    /* 100% */
}

.project-tech {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;

    width: 4.08063rem;
    height: 1.625rem;
    flex-shrink: 0;

    color: #FFF;
    font-family: "Inter Tight";
    font-size: 1.375rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.375rem;
    /* 100% */
}

.project-tech img {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;

    /*border-radius: 1rem;*/
}

.footer {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.footer p {
    color: var(--Gray-500, #ABABAB);
    margin: 0;

    /* Body/Small/Regular */
    font-family: Inter, sans-serif;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5rem;
    /* 171.429% */
    letter-spacing: -0.01563rem;
    margin-bottom: 1rem;
}

footer {
    height: 17rem;
    width: 100%;
    /*border-top: 0.5px solid var(--Neutral-500, #E3E3E3);*/
    display: flex;
    justify-content: center;
    gap: 12rem;
    align-items: flex-start;
}

.footer-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-column img {
    width: 8rem;
}

.footer-column h1 {
    color: var(--Gray-200, #000);

    /* Label/Medium */
    font-family: Inter, sans-serif;
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5rem;
    /* 171.429% */

}

.footer-column h2 {
    color: var(--Neutral-500, #666);

    /* Body/Medium */
    font-family: Inter, sans-serif;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5rem;
    /* 171.429% */
}

.footer-column h2 a {
    text-decoration: none;
    color: var(--Neutral-500, #666);

    /* Body/Medium */
    font-family: Inter, sans-serif;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5rem;
    /* 171.429% */
}

#popup {
    width: 280px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: fixed;
    font-family: Inter, sans-serif;
    font-size: 17px;
    bottom: -50px;
    /* Hors de l'écran initialement */
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(101.08% 100% at 50% 100%, rgba(94, 94, 94, 0.14) 0%, rgba(94, 94, 94, 0.00) 73.85%), radial-gradient(100.02% 100% at 50% 100%, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.00) 55.59%), linear-gradient(0deg, rgba(94, 94, 94, 0.18) 0%, rgba(94, 94, 94, 0.18) 100%), rgba(255, 255, 255, 0.06);
    background-blend-mode: color-dodge, normal, color-dodge, lighten;
    color: #FF453A;
    padding-right: 25px;
    padding-left: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: bottom 0.5s ease;
    z-index: 1000;
    opacity: 0;
    /* Initialement invisible */
    pointer-events: none;
    /* Ne pas interagir avec les événements de la souris */
}

#popup.show {
    bottom: 20px;
    /* Position visible */
    opacity: 1;
    /* Visible */
    pointer-events: auto;
    /* Interagir avec les événements de la souris */
}


.legals.title {
    margin-top: 15vh;
    display: flex;
    margin-bottom: 35vh;
}

.legals.title h1 {
    font-size: 3rem;
}

.legals.title p {
    color: white;
    width: 45%;
    text-align: justify;
}

.legals.title a {
    text-decoration: none;
    color: white;
}

.terms.title {
    display: flex;
    margin-top: 30vh;
    height: 180vh;
    margin-bottom: 40vh;
}

.terms.title h1 {
    font-size: 3rem;
}

.terms.title p {
    color: white;
    width: 45%;
    text-align: justify;
}