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

body {
    font-family: 'Poppins', sans-serif;
    color: white;
    padding-top: 4%;
    background: rgb(18,30,50);
}

h1{
    margin-top: 2%;
    margin-bottom: 2%;
}

h2{
    text-align: center;
}

html{
    scroll-behavior: smooth;
}
/* ================= HERO ================= */

#hero {
    position: relative;
    overflow: hidden;
}

#bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1) blur(0.1px);
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(10,20,40,0.55);
}

/* ================= NAV ================= */

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 20, 40, 0.8);
    backdrop-filter: blur(10px);
}

section {
    scroll-margin-top: 80px;
}

.logo {
    font-weight: 700;
    font-size: 20px;
}

.logo span {
    color: #4fc3f7;
}

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

.burger {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    color: white;
    font-size: 14px;
    letter-spacing: 1px;
    opacity: 0.8;
    transition: 0.3s;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-links a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: #4fc3f7;
    border-radius: 20px;
    transition: width 0.3s ease;
}

.nav-links a:hover::after{
    width: 100%;
}
/* ================= HERO CONTENT ================= */

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: auto;
    padding: 2%;
  
}

.effilee {
    display: block;
    width: 150px;
    height: 1px;
    background: linear-gradient(to right, transparent, #4fc3f7, transparent);
}

.logoHero{
    font-size:5rem;
    font-weight:700;
    margin-top:15px;
    margin-bottom:15px;
}

.blue {
    color: #4fc3f7;
}

.code {
    margin: 10px 0 20px;
    color: #4fc3f7;
    font-size: 20px;
}

.desc {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 10px 0;
}

.small {
    font-size: 0.95rem;
    opacity: 0.85;
}

.dot {
    width: 6px;
    height: 6px;
    background: #4fc3f7;
    border-radius: 50%;
    margin: 20px 0;
}
/* ================= PROJETS PRO ================= */
#projetsPro{
    background: rgb(15,25,40);
    padding: 2%;
}

.proCard{
    width:80%;
    margin-bottom: 50px;
    margin-left: 10%;
    display:flex;
    align-items:center;
    gap:40px;
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:15px;
    overflow:hidden;
    cursor:pointer;
    transition:.3s;
}

.proCard:hover{
    transform:translateY(-6px);
    border:1px solid rgba(79,195,247,.4);
}

.proImage{
    width:50%;
}

.proImage img{
    width:100%;
    display:block;
    height:100%;
    object-fit:cover;
}

.proInfos{
    width:50%;
    padding: 1%;
}

.badges{
    display:flex;
    gap:10px;
    margin-top:20px;
    flex-wrap:wrap;
}

.badges span{
    padding: 1.5%;
    border-radius:30px;
    background:rgba(79,195,247,.15);
    color:#4fc3f7;
}
/* ================= PROJETS ================= */

.projetHint{
    margin-top: 12px;
    margin-bottom: 35px;
    text-align: center;
    font-size: .95rem;
    color: rgba(255,255,255,.7);
    font-style: italic;
}

#projets {
    background-color: rgb(18, 30, 50);
    padding-bottom: 2%;
}

.titreSection {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2%;
}

/* ================= BLOCS PROJETS ================= */

.blocProjet {
    margin-top: 1%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

/* ================= CARTE PROJET (AMÉLIORÉE) ================= */

.caseProjet {
    width: 30%;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 1.5%;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.caseProjet:hover {
    transform: translateY(-6px);
    border: 1px solid rgba(79, 195, 247, 0.4);
    box-shadow: 0 12px 40px rgba(79, 195, 247, 0.15);
}

.caseProjet i {
    font-size: 28px;
    color: #4fc3f7;
    margin-bottom: 10px;
}

.caseProjet h3{
    font-size: 150%;
    margin-top: 1%;
    margin-bottom: 1%;
}

.caseProjet p {
    margin-top: 1%;
    line-height: 1.5;
    opacity: 0.9;
}

#services {
    background-color: rgb(15, 25, 40);
    text-align: center;
    padding-bottom: 2%;
}

#about{
    background: #eef5fc;
    color: black;
    text-align:center;
    display:flex;
    flex-direction:column;
    align-items:center;
    padding: 1%;
    position: relative;
    margin-top: -2px;
}

#hero{
    position:relative;
    overflow:hidden;
}

.wave{
    position:absolute;
    left:0;
    bottom:-80px;
    width:100%;
    line-height:0;
}

.wave svg,
.wave img{
    display:block;
    width:100%;
}

/* ================= BOUTON ABOUT ================= */
.btnAbout{
    display:inline-flex;
    align-items:center;
    gap:12px;
    margin:40px auto 0;
    padding: 1%;
    background:linear-gradient(
        135deg,
        #4fc3f7,
        #2b73d2
    );
    color:#fff;
    text-decoration:none;
    font-weight:600;
    border-radius:999px;
    box-shadow: 0 10px 30px rgba(79,195,247,.30);
    margin-bottom: 2%;
}

.btnAbout:hover{
    transform:translateY(-3px);
    filter:brightness(1.08);
    box-shadow: 0 16px 40px rgba(79,195,247,.45);
}

#txtAbout, #txtService {
    width: 80%;
    margin: 0 auto;
    text-align: center;
    padding: 1.5%;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    
}

#txtAbout i{
    background:linear-gradient(
        135deg,
        #4fc3f7,
        #2b73d2
    );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    font-size:1.25rem;
    width:28px;
    margin-right:12px;
}
/* ================= CONTACT ================= */

#contact {
    background-color: rgb(18, 30, 50);
    padding: 2%;
    text-align: center;
}

/* Conteneur form */
#blocForm {
    width: 80%;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Zone message */
#boxMessage {
    position: relative;
}

/* Label icône */
#label_contact {
    position: absolute;
    top: 12px;
    left: 12px;
    color: #4fc3f7;
    font-size: 14px;
    opacity: 0.8;
}

/* Textarea */
#message {
    width: 100%;
    min-height: 140px;
    resize: none;
    padding: 12px;
    border-radius: 12px;
    color: white;
    font-family: 'Poppins', sans-serif;
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    outline: none;
    transition: all 0.3s ease;
}
/* Placeholder */
#message::placeholder {
    color: rgba(255,255,255,0.5);
}

/* Focus (très important pour le ressenti) */
#message:focus {
    border: 1px solid rgba(79, 195, 247, 0.4);
    box-shadow: 0 0 10px rgba(79, 195, 247, 0.2);
}

/* Bouton */
#boutonVerif {
    padding: 1%;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    color: white;
    /* même style glass */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

/* Hover bouton */
#boutonVerif:hover {
    transform: translateY(-3px);
    border: 1px solid rgba(79, 195, 247, 0.4);
    color: #4fc3f7;
    box-shadow: 0 10px 25px rgba(79, 195, 247, 0.2);
}

#message:focus::placeholder {
    opacity: 0.3;
}
/***************************************/

#footer{
    background-color: rgb(15, 25, 40);
    padding: 1%;
    text-align: center;
}
/* ================= RESPONSIVE ================= */

@media (max-width: 768px){
    .nav-links {
        position: absolute;
        top: 80px;
        right: 20px;
        flex-direction: column;
        background: rgba(0,0,0,0.9);
        display: none;
        gap: 15px;
    }

    .effilee{
        width:70px;
    }

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

    .burger {
        display: block;
    }

    h1 {
        font-size: 1.6rem;
    }

    .logoHero{
        font-size:3rem;
    }

    .caseProjet {
        width: 90%;
    }

    .proCard{
        width:90%;
        flex-direction:column;
        gap:0;
        margin-left: 5%;
    }

    .proImage{
        width:100%;
    }

    .proInfos{
        width:100%;
    }

    .proInfos h3{
        text-align:center;
    }

    .badges{
        justify-content:center;
    }
/*}768*/

@media (max-width: 480px){
/*    .desc {
        font-size:0;
        line-height:0;
    }*/

}/*480*/