

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0f172a;
    color: #f1f5f9;
    font-size: 15px;
    line-height: 1.6;
}



#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: #1e293b;
    border-bottom: 1px solid #334155;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 22px;
    font-weight: 700;
    color: #60a5fa;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 8px;
}

.nav-links a {
    text-decoration: none;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
    color: #60a5fa;
    background-color: rgba(96, 165, 250, 0.15);
}

.nav-links a.active {
    color: #60a5fa;
}

.burger {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #f1f5f9;
}



.section-hero {
    padding-top: 100px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #0f172a 60%, #1e293b 100%);
}

.hero-contenu {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-texte {
    flex: 1;
}

.hero-bonjour {
    font-size: 14px;
    color: #60a5fa;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-nom {
    font-size: 48px;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.1;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.hero-titre {
    font-size: 20px;
    font-weight: 400;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 15px;
    color: #cbd5e1;
    max-width: 700px;
    line-height: 1.75;
    margin-bottom: 28px;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-principal {
    display: inline-block;
    padding: 11px 24px;
    background-color: #60a5fa;
    color: #0f172a;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}

.btn-principal:hover {
    background-color: #93c5fd;
}

.btn-secondaire {
    display: inline-block;
    padding: 11px 24px;
    background-color: transparent;
    color: #60a5fa;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid #60a5fa;
    transition: all 0.2s;
}

.btn-secondaire:hover {
    background-color: rgba(96, 165, 250, 0.15);
}

.hero-image {
    flex-shrink: 0;
    filter: brightness(85%)
    
}





.hero-image img {
    width: 260px;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}



.titre-section {
    font-size: 32px;
    font-weight: 700;
    color: #f1f5f9;
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.sous-titre-section {
    font-size: 15px;
    color: #94a3b8;
    text-align: center;
    margin-bottom: 48px;
    font-weight: 300;
}



.section-competences {
    padding: 80px 24px;
    background-color: #1e293b;
}

.competences-grille {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.competence-card {
    background-color: #0f172a;
    border: 1px solid #334155;
    border-radius: 10px;
    padding: 16px 20px;
}

.competence-haut {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.competence-nom {
    font-size: 14px;
    font-weight: 600;
    color: #f1f5f9;
}

.competence-pct {
    font-size: 13px;
    color: #60a5fa;
    font-weight: 600;
}

.barre-fond {
    height: 8px;
    background-color: #334155;
    border-radius: 4px;
    overflow: hidden;
}

.barre-remplie {
    height: 100%;
    background-color: #60a5fa;
    border-radius: 4px;
}



.section-projets {
    padding: 80px 24px;
    background-color: #0f172a;
}

.projet-bloc {
    max-width: 1000px;
    margin: 0 auto 60px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background-color: #1e293b;
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    border: 1px solid #334155;
}

.projet-haut {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.projet-bloc:last-child {
    margin-bottom: 0;
}

.projet-image {
    flex-shrink: 0;
    width: 320px;
}


.projet-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.projet-texte {
    flex: 1;
}

.projet-numero {
    font-size: 12px;
    font-weight: 700;
    color: #60a5fa;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.projet-titre {
    font-size: 22px;
    font-weight: 700;
    color: #f1f5f9;
    margin: 6px 0 10px;
}

.projet-desc {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 14px;
    font-weight: 300;
}

.projet-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.tag {
    background-color: rgba(96, 165, 250, 0.15);
    color: #60a5fa;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid #334155;
}

.projet-video {
    width: 100%;
}

.video-label {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 8px;
    text-align: left;
}

.video-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 8px;
    overflow: hidden;
    background-color: #0f172a;
}

.video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.btn-demo {
    display: inline-block;
    padding: 9px 20px;
    background-color: #60a5fa;
    color: #0f172a;
    text-decoration: none;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-demo:hover {
    background-color: #93c5fd;
}


.section-autres {
    padding: 80px 24px;
    background-color: #1e293b;
}

.autres-grille {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.autre-card {
    background-color: #0f172a;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 20px;
    transition: box-shadow 0.2s;
}

.autre-card:hover {
    box-shadow: 0 4px 16px rgba(96, 165, 250, 0.15);
}

.mini-img-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #334155;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 12px;
    object-fit: cover;
}

.autre-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 6px;
}

.autre-card p {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.55;
    font-weight: 300;
}



.section-contact {
    padding: 80px 24px;
    background-color: #0f172a;
}

.contact-contenu {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-info p {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 24px;
    font-weight: 300;
}

.contact-liens {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-lien {
    display: block;
    color: #60a5fa;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 14px;
    background-color: rgba(96, 165, 250, 0.15);
    border-radius: 8px;
    border: 1px solid #334155;
    transition: background 0.15s;
}

.contact-lien:hover {
    background-color: rgba(96, 165, 250, 0.25);
}

.contact-tel {
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    width: 100%;
    text-align: left;
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-champ {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-champ label {
    font-size: 13px;
    color: #cbd5e1;
    font-weight: 500;
}

.form-champ input,
.form-champ textarea {
    padding: 9px 12px;
    border: 1px solid #334155;
    border-radius: 7px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #f1f5f9;
    background-color: #1e293b;
    resize: vertical;
}

.form-champ input:focus,
.form-champ textarea:focus {
    outline: none;
    border-color: #60a5fa;
}

.form-retour {
    font-size: 13px;
    color: #22c55e;
    min-height: 20px;
}



.footer {
    background-color: #0f172a;
    color: #cbd5e1;
    padding: 32px 24px;
    border-top: 1px solid #334155;
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
}

.ia-image {
    position: relative;
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ia-emoji {
    font-size: 100px;
}

.barre-rouge {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #ef4444;
    transform: translateY(-50%) rotate(-30deg);
    border-radius: 2px;
}

.footer-droite {
    flex: 1;
}

.footer-droite p {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 6px;
}

.footer-lien {
    color: #60a5fa;
    text-decoration: underline;
    font-weight: 500;
}

.footer-lien:hover {
    color: #93c5fd;
}

.footer-copy {
    font-size: 12px;
    color: #64748b;
}



@media (max-width: 850px) {
    .hero-contenu {
        flex-direction: column;
        text-align: center;
    }

    .hero-nom {
        font-size: 36px;
    }

    .hero-desc {
        max-width: 100%;
    }

    .hero-btns {
        justify-content: center;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #1e293b;
        padding: 16px 24px;
        border-bottom: 1px solid #334155;
        gap: 4px;
    }

    .nav-links.ouvert {
        display: flex;
    }

    .burger {
        display: block;
    }

    .projet-haut {
        flex-direction: column;
    }

    .projet-image {
        width: 100%;
    }

    .autres-grille {
        grid-template-columns: 1fr;
    }

    .contact-contenu {
        flex-direction: column;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 500px) {
    .autres-grille {
        grid-template-columns: 1fr;
    }

    .hero-nom {
        font-size: 30px;
    }

    .titre-section {
        font-size: 26px;
    }
}
