@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* --- BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    font-size: 16px;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    background-color: #0b0b0b;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

html, body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar, 
body::-webkit-scrollbar {
    display: none;
    width: 0 !important;
    height: 0 !important;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

h1, h2, h3, h4, h5, h6, p, li, span, a {
    color: #fafafa;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Satoshi', sans-serif;
}

h1, h2, h3 {
    background: linear-gradient(
        -45deg, 
        #777777 0%, 
        #ffffff 25%, 
        #dddddd 50%, 
        #ffffff 75%, 
        #777777 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: silverShine 4s ease-in-out infinite;    
    filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.1));
}

@keyframes silverShine {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

#presentation h2 span {
    background: none;
    -webkit-text-fill-color: #fafafa5e;
}

.box {
    position: relative;
}

.box::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(255, 255, 255, 0.9) 0%,
        rgba(170, 175, 180, 0.3) 30%,
        transparent 50%
    );
    
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.box:hover::after {
    opacity: 1;
}

h5 {
    font-size: 1rem;
    text-align: center;
}

p { 
    line-height: 1.6; 
    font-size: clamp(1rem, 2vw, 1rem); 
}

a { cursor: pointer; }
a:hover { color: #fafafa7e; }

/* --- BUTTONS --- */
button {
    padding: 12px 23px;
    border-radius: 6px;
    border: none;
    background-color: #40ff23;
    cursor: pointer;
    transition: .2s ease-in-out;
    z-index: 1000;
    color: #0e100f;
    font-weight: 500;
    font-size: 1rem;
    font-weight: 600;
}

button a { color: #0e100f; }
button a:hover { color: #0e100f; }
button:hover { background-color: #40ff23c8; }

/* --- HOME --- */
#home {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin-bottom: clamp(2rem, 8vw, 72px);
    background-image: url('img/grid.svg');
    background-size: contain;
    background-repeat: repeat;
    position: relative;
    overflow: hidden;
}

#home .circle {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #40ff2320;
    width: clamp(300px, 50vw, 700px);
    aspect-ratio: 1; 
    border-radius: 50%;
    filter: blur(clamp(120px, 20vw, 300px));
    z-index: 0;
    pointer-events: none;
}

/* --- HERO & NAVBAR --- */
.hero {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    z-index: 1;
}

.hero .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px clamp(16px, 5vw, 62px);
    flex-wrap: wrap;
    gap: 16px;
}

.hero .navbar ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: clamp(12px, 2vw, 24px);
    flex-wrap: wrap;
    justify-content: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #fafafa;
    border-radius: 10px;
    transition: 0.3s;
}

/* --- BANNER --- */
.hero .banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    padding: 0 16px;
}

.hero .banner .badge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: clamp(32px, 6vw, 64px);
    border: solid 1px #7bf7d3;
    padding: 6px 16px;
    border-radius: 50px;
    background-color: #7bf7d40b;
    font-size: 12px;
}

.hero .banner .badge img {
    width: 18px;
    height: 18px;
}

.hero .banner .badge span {
    color: #7bf7d3;
}

.hero .banner p {
    width: 100%;
    max-width: 600px;
    text-align: center;
    color: #fafafa56;
    margin-bottom: 21px;
}

.hero .banner .line {
    background: linear-gradient(#fafafa0a, #fafafa75, #fafafa0a);
    width: 1px;
    height: clamp(80px, 15vw, 160px);
    margin-top: clamp(40px, 8vw, 86px);
}

/* --- PRESENTATION --- */
#presentation {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(36px, 8vw, 72px) clamp(16px, 5vw, 72px);
    min-height: 100vh;
}

#presentation .tag {
    position: relative;
    background: linear-gradient(145deg, #40ff235f, 15%, #40ff2300);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid transparent; 
}

#presentation .tag span {
    color: #40ff23;
}

#presentation h2 {
    text-align: center;
    line-height: 1.2;
    margin-top: 26px;
}

#presentation h2 span {
    color: #fafafa5e;
}

#presentation .presentation_content {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: clamp(16px, 4vw, 32px);
    margin-top: clamp(40px, 8vw, 76px);
    width: 100%;
    max-width: 1000px;
}

#presentation .presentation_content .box {
    flex: 1 1 300px; 
    min-width: 280px;
}

#presentation .presentation_content .box .titles {
    padding: 8px 12px;
    border-left: 4px solid #40ff23;
    margin-bottom: 12px;
    background: linear-gradient(to right, #40ff230f, #0e100f00);
}

#presentation .presentation_content .box .titles h4 {
    color: #fafafa74;
}

#presentation .presentation_content .box p {
    color: #fafafa74;
}

#presentation .presentation_content .box p span {
    color: #40ff23;
    font-weight: 500;
}

/* --- LEARN --- */
#learn {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: clamp(36px, 8vw, 72px) clamp(16px, 5vw, 72px);
}

#learn h5 {
    margin-top: 6px;
    color: #fafafa74;
}

#learn .learn_boxes {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    margin-top: clamp(24px, 5vw, 38px);
    gap: 24px;
    width: 100%;
    max-width: 1000px;
}

#learn .learn_boxes .box {
    padding: 16px 20px 26px;
    flex: 1 1 300px;
    max-width: 400px; 
    background-color: #15151515;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

#learn .learn_boxes .box .img {
    height: 200px;
    width: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 16px;
}

#learn .learn_boxes .box .img.one { background-image: url('img/Learn_image.svg'); }
#learn .learn_boxes .box .img.two { background-image: url('img/Video_image.png'); }

#learn .learn_boxes .box .tag { margin-bottom: 8px; }
#learn .learn_boxes .box .tag h4 { color: #40ff23; font-weight: 500; }
#learn .learn_boxes .box h3 { line-height: 1.4; margin-bottom: 12px; }
#learn .learn_boxes .box p { color: #fafafa74; flex-grow: 1; }

#learn .learn_boxes .box.large {
    flex: 1 1 100%;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(16px, 4vw, 32px);
    padding: 24px;
}

#learn .learn_boxes .box.large .img.three {
    flex: 1 1 300px;
    height: clamp(200px, 30vw, 300px);
    background-image: url('img/Group 2028.png');
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

#learn .learn_boxes .box.large .img.three .button {
    font-size: 12px;
    padding: 8px 16px;
    border-radius: 8px;
    background-color: rgba(11, 11, 11, 0.7);
    color: #fafafa;
    backdrop-filter: blur(5px);
    position: relative; 
    z-index: 2;
}

#learn .learn_boxes .box.large .content {
    flex: 1 1 300px;
}

#learn .learn_boxes .box.large .gradient {
    padding: 8px 16px;
    border-radius: 50px;
    background: linear-gradient(45deg, #202020, #0b0b0b);
    margin-top: clamp(16px, 4vw, 32px);
    display: inline-block;
}

/* --- SOLVES --- */
#solves {
    padding: clamp(36px, 8vw, 72px) clamp(16px, 5vw, 72px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

#solves h5 { margin-top: 6px; color: #fafafa74; text-align:center; }

#solves .services_boxes {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    margin-top: clamp(40px, 8vw, 67px);
    gap: clamp(16px, 3vw, 24px);
    width: 100%;
    max-width: 1100px;
}

#solves .services_boxes .box {
    flex: 1 1 300px;
    background: linear-gradient(120deg, #202020, #0b0b0b);
    border-radius: 12px;
    padding: 24px;
}

#solves .services_boxes .box img { height: 32px; width: 32px; margin-bottom: 16px; }
#solves .services_boxes .box h3 { line-height: 1.2; font-size: 24px; margin-bottom: 16px; }
#solves .services_boxes .box p { color: #fafafa56; }

/* --- MARKET --- */
#market {
    padding: clamp(36px, 8vw, 72px) clamp(16px, 5vw, 72px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

#market h5 { margin-top: 6px; color: #fafafa74; text-align: center; }

#market h2 {
    text-align: center;
}

#market .market_content {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    margin-top: clamp(40px, 8vw, 67px);
    width: 100%;
    max-width: 1000px;
    border-radius: 12px;
    overflow: hidden;
}

#market .market_content .left {
    flex: 1 1 300px;
    background-color: #15151515;
    padding: clamp(24px, 5vw, 48px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}


#market .market_content .left p {
   color: #fafafa80;
   margin-top: 12px;
}


#market .market_content .left .tag {
    display: inline-flex;
    background: linear-gradient(135deg, #40ff235f, 15%, #40ff2300);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
    width: max-content;
}

#market .market_content .left .tag span { color: #40ff23; }

#market .market_content .right {
    flex: 1 1 300px;
    min-height: 300px; 
    background-image: url('img/Rectangle.png');
    background-size: cover;
    background-position: center;
}

/* --- DREAM --- */
#dream {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(36px, 8vw, 72px) clamp(16px, 5vw, 72px);
    margin-bottom: clamp(80px, 15vw, 200px);
}

#dream .tag {
    display: inline-flex;
    background: linear-gradient(135deg, #40ff235f, 15%, #40ff2300);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

#dream .tag span { color: #40ff23; }

#dream h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    text-align: center;
    line-height: 1.2;
    margin-bottom: 21px;
}

#dream h5, #dream p { color: #fafafa74; text-align: center; }

#dream .dream_content {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    margin-top: clamp(40px, 8vw, 72px);
    gap: clamp(16px, 3vw, 24px);
    position: relative;
    width: 100%;
    max-width: 1000px;
}

#dream .dream_content .circle {
    position: absolute;
    background-color: #7DF7D440;
    width: clamp(300px, 60vw, 700px);
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(clamp(150px, 20vw, 300px));
    opacity: .2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

#dream .dream_content .box {
    flex: 1 1 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 12px;
    gap: 16px;
    padding: 24px 16px;
    background: linear-gradient(-320deg, #0b0b0b10, #0b0b0b);
    z-index: 1;
}

#dream .dream_content .box .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, #1a1a1a 0%, #050505 100%);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06);
}

/* --- FOOTER --- */
#footer {
    padding: clamp(36px, 8vw, 72px) clamp(16px, 5vw, 72px);
    display: flex; 
    flex-direction: column;
    position: relative;
    border-top: 1px solid #fafafa10;
}

#footer .first {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

#footer .info {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(32px, 8vw, 150px);
}

#footer .info .content ul { margin-top: 21px; }
#footer .info .middle h5 { margin-bottom: 21px; text-align: left; }
#footer .info .content ul li { list-style-type: none; margin-bottom: 12px; }

#footer .info .middle .tag {
    display: inline-flex;
    background: linear-gradient(135deg, #70707080, 12%, #0b0b0b);
    padding: 8px 16px;
    border-radius: 50px;
    margin-top: 16px;
}

#footer .info .middle p { margin-bottom: 8px; }

#footer .bottom {
    margin-top: clamp(40px, 8vw, 80px);
    border-top: 1px solid #fafafa10;
    width: 100%;
    text-align: center;
    padding-top: 16px;
}

/* --- BACK TO TOP --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(120deg, #202020, #0b0b0b);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    cursor: pointer;
    transition: all 0.4s ease;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 2px 50px rgba(255, 255, 255, 0.1);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:not(.active) {
    transform: translateY(20px);
}

.back-to-top svg {
    display: block;
    width: 32px;
    height: 32px;
    stroke: #fafafa;
}

.back-to-top:hover svg {
    stroke: rgb(64, 255, 35);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #40ff235f, 15%, #40ff2300);
    transform: scale(1.1);
    box-shadow: 0 4px 50px rgba(64, 255, 35, 0.1);
}

#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: #40ff23; /* Le vert Aorte */
    width: 0%;
    z-index: 9999;
}

/* --- RESPONSIVES --- */

@media (max-width: 768px) {
    .hero .banner h1 { text-align: center; position:relative; z-index:1 }
    
    .hero .navbar {
        position: relative;
        flex-direction: row;
        justify-content: space-between;
        z-index: 2000;
    }

    #learn .learn_boxes .box.large {
        flex-direction: column;
        text-align: center;
    }

    #learn .learn_boxes .box.large .gradient {
        margin: 16px auto 0;
    }

    #market .market_content {
        flex-direction: column;
    }

    #market .market_content .left,
    #market .market_content .right {
        border-radius: 12px;
    }
    
    #market .market_content .left {
        align-items: center;
        text-align: center;
    }
    
    #footer .first {
        flex-direction: column;
    }

    .hamburger {
        display: flex;
        padding: 8px;
        border: 1px solid rgba(255, 255, 255, 0.5);
        border-radius: 8px;
        z-index: 3100;
    }

    .hamburger span {
        width: 24px;
    }

    .hero .navbar ul {
        position: fixed;
        left: 50%;
        transform: translate(-50%, -20px);
        width: 90%;
        top: -100%;
        justify-content: center;
        max-width: 380px;
        border-radius: 8px;
        padding: 40px 20px 21px;
        display: flex;
        flex-direction: column;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 3000;
        background-color: rgba(11, 11, 11, 0.5); /* 0.5 au lieu de 0.85 */
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(12px);
        height: max-content;
        gap: 40px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero .navbar ul.active {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }

    .hero .navbar ul li a {
        font-size: 1rem;
        font-weight: 500;
        color: #fafafa;
    }

    .hero .navbar ul button {
        width: 100%;
        background-color: #40ff23;
        color: #0b0b0b;
        font-weight: 600;
        padding: 16px;
        border-radius: 6px;
        font-size: 1rem;
    }

    .hero .navbar ul.active {
        top: 82px;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    #discoverBtn {
    position: relative;
    z-index: 1;
}
}


.badge, 
.tag, 
#learn .learn_boxes .box.large .gradient {
    position: relative;
    overflow: hidden;
}

.badge::before, 
.tag::before, 
.gradient::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%
    );
    transform: skewX(-25deg);
    animation: badgeShine 6s infinite;
    pointer-events: none;
}

#learn .learn_boxes .box .tag::before {
    display: none; 
}

.tag::before, 
.market_content .left .tag::before,
#footer .info .middle .tag::before {
    background: linear-gradient(
        to right, 
        transparent 0%, 
        rgba(64, 255, 35, 0.4) 50%, 
        transparent 100%
    );
}

.hero .banner .badge::before {
    background: linear-gradient(
        to right, 
        transparent 0%, 
        rgba(123, 247, 211, 0.4) 50%, 
        transparent 100%
    );
}

@keyframes badgeShine {
    0% { left: -150%; }
    30% { left: 150%; }
    100% { left: 150%; }
}

#presentation .tag::before, 
#market .market_content .left .tag::before,
#dream .tag::before {
    background: linear-gradient(
        to right, 
        transparent 0%, 
        rgba(64, 255, 35, 0.4) 50%, 
        transparent 100%
    );
}

.hero .banner .badge::before,
#footer .info .middle .tag::before {
    background: linear-gradient(
        to right, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%
    );
}

/* --- MODAL BASE --- */
.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.4s ease;
}

.contact-modal.active {
    visibility: visible;
    opacity: 1;
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(12px);
}

/* --- CONTAINER --- */
.contact-container {
    position: relative;
    width: 90%;
    max-width: 900px;
    border-radius: 12px;
    padding: 40px;

    background: 
        radial-gradient(circle at top right, rgba(64, 255, 35, 0.15) 0%, transparent 40%),
        radial-gradient(circle at bottom left, rgba(123, 247, 212, 0.05) 0%, transparent 40%),
        #0b0b0b;

    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 20px 80px rgba(0, 0, 0, 0.8),
        0 0 60px rgba(64, 255, 35, 0.08);

    transform: scale(0.9);
    transition: 0.3s ease;
}

.contact-modal.active .contact-container {
    transform: scale(1);
}

/* --- GRID --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

/* --- LEFT --- */
.contact-left h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.contact-left p {
    color: #fafafa70;
    line-height: 1.6;
}

/* --- FORM --- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.input-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}

.input-group.full {
    width: 100%;
}

.input-group label {
    font-size: 1rem;
    color: #fafafa60;
}

.contact-form input,
.contact-form textarea {
    padding: 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    background: #0e0e0e;
    color: #fafafa;
    outline: none;
    transition: 0.3s;
    resize: none;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #40ff23;
    box-shadow:
        0 0 0 1px #40ff23,
        0 0 15px rgba(64,255,35,0.15);
}

.contact-form button {
    margin-top: 10px;
    width: fit-content;
    align-self: center;
}

#closeModal {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 1.8rem;
    cursor: pointer;
    transition: 0.3s;
}

#closeModal:hover {
    color: #40ff23;
}

#closeModal svg {
    width: 32px;
    height: 32px;

}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
    }

    .contact-container {
        position: relative;
        width: 100%;
        max-width: 1200px;
    }
}
