@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
  scroll-padding-top: 80px;
}

body {
    color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'JetBrains Mono', monospace;
  }

h1 {
    font-size: 38px;
    text-align: right;
    margin: 25% 0 40px 20px;
    z-index: 1;
}

li {
    list-style: none;
}

/* Header */
header {
    background: linear-gradient(135deg, #1a4d6d 0%, #0d2838 100%);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.nav-logo{
    width: 50%;
    position: relative;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: calc(0.5rem + 0.8vw);
}

nav ul {
    display: flex;
    justify-content: space-between;
}


nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    padding: 0 20px;
}

nav a:hover,
nav a.active {
    color: #6ec1e4;
}
nav.active ul{
    background: linear-gradient(135deg, #1a4d6d 0%, #0d2838 100%);
    }

.responsive-link {
    display: none;
}

.desktop-linkedin {
    display: list-item; 
}

.text-gradient-primary {
    background-image: linear-gradient(135deg, hsl(174 72% 52%), hsl(199 89% 48%));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.glow-text {
    text-shadow: 0 0 30px hsl(174 72% 52% / 0.5),
                 0 0 60px hsl(174 72% 52% / 0.2);
}

/*icons menu burger  */
#icons{
    cursor: pointer; 
    display: none;
    margin-right: 10px;
}
nav.active #icons span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}

nav.active #icons span:nth-child(2) {
    opacity: 0;
}

nav.active #icons span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 10px;
}



/* Hero Section */

.hero {
    background: linear-gradient(180deg, #0d1f2d 0%, #1a2f42 50%, #0d1f2d 100%);
    min-height: 90vh;
    display: flex;
    align-items: left;
    position: relative;
    overflow: hidden;
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #6ec1e4;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}


@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform:    scale(1.1); }
}
/* Animation Main logo */

.hero-logo-svg {
    width: 25%;
    height: auto;
    animation: pulse 6s infinite;
    max-width: 100%;
    margin-top: 7%;
    margin-left: 7%;
}

.text-hero{
    display: flex;
    flex-direction: column;
    margin: 3% 10% 0 5%;
}


.hero p{
    max-width: 100%;
    text-align: right;
}

.contact-button {
    padding: 20px 40px;
    border-radius: 30px;
    background: linear-gradient(135deg, hsl(174 72% 52%), hsl(199 89% 48%));
    color: white;
    font-size: large;
    text-decoration: none;
}

.contact-button-container {
    display: flex;
    justify-content: center;
    margin-top: 5%;
}

.btn {
    padding: 15px 35px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    margin: 10px 0;
}

#redirectBtn{
    padding: 10px 0;
    width: 25%;
    border-radius: 30px;
    margin: 1% 0 0 75%;
    background: linear-gradient(135deg, hsl(174 72% 52%), hsl(199 89% 48%));
    color: white;
    font-size: large;
    text-decoration: none;
    position: relative;
    z-index: 2;
}

#btnMessage {
    text-align: right;
    font-size: 20px;
    margin: 5% 1% 0 0;
}


/* Product Section */

.diagram {  /* a mettre en responsive */
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 400px;
}

.use-case {
    background: #0d1f2d;
    padding: 80px 50px;
    color: #333;
    height: auto;
    flex-direction: column;
    position: relative;
}

.use-case ul {
    list-style: none;
}

.use-case li {
    padding: 20px;
}

.use-case h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: #ffff;
}
/* Case info a changer de style */

.features {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 50px;
}

.feature {
    text-align: left;
}

.feature h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #0a2540;
}

.feature ul {
    list-style: none;
}

.feature li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.feature li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #4a90e2;
    font-weight: bold;
}

    /* Products specific styles */
    .product-card {
        background-color: #1a2f42;
        border: 3px solid #6ec1e4;
        border-radius: 30px;
        padding: 20px;
        text-align: center;
        transition: transform 0.3s;
    }

    .product-card h3 {
        font-size: 30px;
        color: white;
    }

    .product-card li {
        color: white;
    }

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(110, 193, 228, 0.3);
    }

/* Content Sections */
.content-section {
    padding: 40px 0px 40px 0px;
    text-align: center;
}

.white-bg {
    background: #fff;
    color: #0d1f2d;
}

.dark-bg {
    background: linear-gradient(180deg, #0d1f2d 0%, #1a2f42 100%);
    color: #fff;
}

.section-title {
    font-size: 48px;
    margin-bottom: 60px;
    font-weight: bold;
    color: black;
}

/* Achievemets */
#achievement{
    padding-top: 10px;
}

#achievement p{
    color: black;
    font-size: larger;
}

#achievement h3{
    color: black;
    width: 100%;
    font-size: 28px;
}

.container-ach{
    width: 50%;
}

.ach1{
    display: flex;
    margin: 0 5% 8% 13%;
    gap: 10%;
    text-align: justify;
    width: 80%;
}

.ach2{
    display: flex;
    margin: 8% 5% 8% 13%;
    gap: 10%;
    text-align: justify;
    width: 80%;
}

.ach3{
    display: flex;
    margin: 8% 5% 8% 13%;
    gap: 10%;
    text-align: justify;
    width: 80%;
}

    .ach2-responsive{
        display: none;
    }

.image-achievement {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 30%;
}

/* Team Cards */
#team{
    padding: 20px 0 50px 0;
    background-color: #0d1f2d;
}

.intro-team{
    width: 50%;
    align-items: center;
    margin: 0 auto 10px auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: #fff;
    border: 3px solid #6ec1e4;
    border-radius: 30px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s;
    margin: 0 10px;
    background-color: #1a2f42;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(110, 193, 228, 0.3);
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 auto 25px;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: 24px;
    color: white;
    margin-bottom: 15px;
    font-weight: bold;
}

.team-role {
    font-size: 15px;
    color: #fff;
    line-height: 1.6;
}

#team .section-title{
    color: white;
    margin: 20px 0;
}

#team h3{
    color: white;
    margin: 20px 0;
    font-size: 28px;
}  

.div-lien{
    text-decoration: none;
}

/* Partners Section */
.title-partner{
    text-align: left;
    padding: 10px;
}

.partners-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.partners-grid {
    display: flex;
    gap: 60px;
    align-items: center;
    animation: scroll-partners 30s linear infinite;
    width: fit-content;
}

@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-logo {
    width: 160px;        
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* empêche le rognage */
}


/* ===== Contact Section ===== */
#contact {
    background: linear-gradient(180deg, #0d1f2d 0%, #1a2f42 50%, #0d1f2d 100%);
    padding: 80px 20px;
    border-top: 1px solid #222;
    color: #fff;
}

#contact h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #f97316; /* accent color pour le titre */
}

.contact-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
    color: #9ca3af;
    font-size: 16px;
    line-height: 1.6;
}

.contact-container {
    max-width: 1000px;
    margin: auto;
    background: rgba(15, 30, 45, 0.85);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.field {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.field label {
    margin-bottom: 8px;
    font-size: 14px;
    color: #ccc;
    font-weight: 500;
}

input,
textarea,
select {
    padding: 12px 15px;
    background: #111827;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: hsl(199 89% 48%);
    box-shadow: 0 0 60px hsl(174 72% 52% / 0.2);
}

textarea {
    resize: vertical;
    grid-column: 1 / -1;
}

.bottom {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.privacy {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    font-size: 14px;
    color: #aaa;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    line-height: 1.5;
}

.privacy a {
    color: #6ec1e4;
    text-decoration: underline;
}

.submit-btn {
    padding: 15px 25px;
    font-weight: bold;
    background: linear-gradient(135deg, hsl(174 72% 52%), hsl(199 89% 48%));
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: #000;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.submit-btn:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 0 60px hsl(174 72% 52% / 0.2);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px 40px;
}



/* Footer */
footer {
    background: #0d1f2d;
    padding: 20px;
    text-align: center;
}


.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 17px;
}


.footer-links a {
    color: #6ec1e4;
    text-decoration: none;
}

/* Partie responsive */
@media (max-width: 768px) {

    .desktop-link {
        display: none;
    }
    .responsive-link {
        display: block;
    }

    .footer-links a {
        font-size: 14px;
    }
    .column{
        max-width: 90%;
    }

    .contact-button{
        margin-bottom: 10px;
    }

    .bottom {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .contact-container {
        padding: 30px 20px;

    }

    .hero-logo-svg {
        width: 50%;
        height: auto;
        animation: pulse 3s infinite;
        max-width: 100%;
        margin-top: 30%;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

     .section-title {
        font-size: 36px;
    }
    
    .product-card {
        grid-template-columns: 1fr;
        margin: 0;
    }

    #icons {
    display: block;
    width: 32px;
    height: 24px;
    position: relative;
    cursor: pointer;
    }

    #icons span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 3px;
        background: white;
        transition: 0.3s ease;
    }

    #icons span:nth-child(1) {
        top: 0;
    }

    #icons span:nth-child(2) {
        top: 10px;
    }

    #icons span:nth-child(3) {
        bottom: 0;
    }


    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: linear-gradient(135deg, #1a4d6d 0%, #0d2838 100%);
        
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        transition: max-height 0.4s ease, padding 0.3s ease;
        padding: 0;
    }


    nav li{
        padding: 15px 0;
        font-size: 24px;
        border-bottom: #333 solid 2px;

    }

    nav li:hover{
        background: linear-gradient(135deg, #3681af 0%, #0d2838 100%);
    }

    nav.active ul {
        max-height: 400px;
}   
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-logo-svg {
        max-width: 250px;
        margin: 25% auto 0 auto;
    }

    .text-hero h1{
         margin: 0 0 20px 0 ;
        text-align: center;
    }

    .text-hero p{
        text-align: center;
        margin: 0 auto 20px 10px;

    }

    #achievement h2{
        margin: 10px 0 30px 0;
    }   

    .ach1{
        flex-direction: column;
        margin: 0 auto;
        align-items: center;
        text-align: left;
    }

    .ach2{
        display: none;
    }
    .ach2-responsive{
        display: flex;
        flex-direction: column;
        margin: 0 auto;
        gap: 10%;
        text-align: justify;
        width: 80%;
        align-items: center;
    }

    .ach3{
        flex-direction: column;
        margin: 0 auto;
        align-items: center;
    }

    .image-achievement{
        max-width: 100%;
        margin: 0 auto 10px auto;
    }

    .container-ach{
        width: 100%;
        margin: 10% 0;
        font-size: 14px;
    }

    .use-case{
        padding: 0;
    }

    .product-card {
        grid-template-columns: 1fr;
        margin: 0 5%;
    }
    
}

@media (max-width: 375px) {
    /* .features{} */

    
    .footer-links {
    gap: 10px;
    }

    /* Respect des préférences utilisateur : réduire les animations */
    @media (prefers-reduced-motion: reduce) {
    .star,
        .hero-logo-svg {
            animation: none !important;
        }
    }   
}

@media (min-width: 2000px){
    .text-hero{
        padding-top: 10%;
    }

    .hero-logo-svg{
        margin-top: 0;
        width: 30%;
    }
}