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

body {
    font-family: Arial, sans-serif;
    background: #020817;
    color: white;
}

/* =========================
   HERO
========================= */

.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(2,8,23,.92) 0%,
            rgba(2,8,23,.55) 35%,
            rgba(2,8,23,.15) 70%,
            rgba(2,8,23,.5) 100%
        ),
        url("/assets/villenova.png") center / cover no-repeat;
}


/* lumière bleue */

.hero::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 75% 60%,
            rgba(82,91,255,.35),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            rgba(2,8,23,.3),
            rgba(2,8,23,.65)
        );

    pointer-events: none;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    position: relative;
    z-index: 10;

    width: 90%;
    max-width: 1200px;
    height: 80px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 5px;

    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-circle {
    width: 30px;
    height: 30px;

    border: 2px solid #36b5ff;
    border-radius: 50%;

    box-shadow:
        0 0 10px #168cff,
        inset 0 0 10px #168cff;
}

.menu {
    display: flex;
    gap: 40px;
}

.menu a {
    color: #c2cee8;
    text-decoration: none;
    font-size: 13px;

    transition: .3s;
}

.menu a:hover {
    color: #42baff;
}

.buttons {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 12px 22px;

    border-radius: 30px;

    color: white;
    text-decoration: none;

    font-size: 12px;

    border: 1px solid rgba(80,180,255,.6);

    background: rgba(4,20,45,.55);

    backdrop-filter: blur(10px);
}

.btn.primary {
    border: none;

    background:
        linear-gradient(
            90deg,
            #32b8ff,
            #8050ff
        );

    box-shadow:
        0 0 25px rgba(81,108,255,.4);
}


/* =========================
   CONTENU
========================= */

.content {
    position: relative;
    z-index: 5;

    width: 90%;
    max-width: 1200px;

    height: calc(100vh - 80px);

    margin: auto;

    display: flex;
    align-items: center;
}

.text {
    width: 100%;          /* était 55% */

    margin-top: -40px;
}

.text h1 {
    font-size: clamp(50px, 7vw, 85px);

    line-height: .95;

    letter-spacing: -5px;

    margin-bottom: 25px;

    text-align: center;   /* ajouté */
}

.text h1 span {
    display: block;

    color: #42baff;
}

.text h1 strong {
    color: #7956ff;
}

.text p {
    max-width: 500px;

    color: #aebdd9;

    line-height: 1.8;

    font-size: 14px;

    margin-bottom: 30px;

    text-align: center;   /* ajouté */
    margin-left: auto;    /* ajouté */
    margin-right: auto;   /* ajouté */
}

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


/* =========================
   PERSONNE — GAUCHE
========================= */

.person {
    position: absolute;

    z-index: 7;

    /* On la place à gauche */
    left: -35px;
    right: auto;

    /* On la remonte et on l'agrandit */
    bottom: -25px;

    width: 470px;
    height: 720px;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    pointer-events: none;
}



/*
   Image de la personne.
   Utilise une photo PNG avec fond transparent.
*/

.person img {
    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: bottom center;

    filter:
        drop-shadow(0 0 30px rgba(40,160,255,.25))
        drop-shadow(0 20px 30px rgba(0,0,0,.6));
}


/* =========================
  BULLE AU-DESSUS DU POIGNET
========================= */

.message {
    position: absolute;

    z-index: 15;

    /* gauche */
    left: 125px;
    right: auto;

    /* hauteur */
    top: 115px;

    width: 230px;

    padding: 18px;

    border-radius: 18px;

    background: rgba(5,20,50,.82);

    border: 1px solid rgba(50,170,255,.85);

    backdrop-filter: blur(12px);

    box-shadow:
        0 0 25px rgba(20,140,255,.18),
        inset 0 0 20px rgba(30,120,255,.05);
}



.message::after {
    content: "";

    position: absolute;

    bottom: -13px;
    left: 42px;

    width: 0;
    height: 0;

    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 13px solid #168cff;
}

.message h3 {
    font-size: 13px;
    margin-bottom: 8px;
    color: #ffffff;
}

.message p {
    color: #aebdde;

    font-size: 10px;

    line-height: 1.6;
}


/* =========================
   SOL
========================= */

.ground {
    position: absolute;

    z-index: 3;

    bottom: 0;
    left: 0;

    width: 100%;
    height: 180px;

    background:
        linear-gradient(
            transparent,
            rgba(2,8,23,.9)
        );

    pointer-events: none;
}


/* =========================
   FEATURES
========================= */

.features {
    position: absolute;

    z-index: 20;

    bottom: 20px;
    left: 50%;

    transform: translateX(-50%);

    width: 90%;
    max-width: 1000px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    background: rgba(3,18,43,.9);

    border: 1px solid rgba(75,150,230,.3);

    border-radius: 18px;

    backdrop-filter: blur(15px);

    overflow: hidden;
}

.feature {
    padding: 22px;

    display: flex;
    align-items: center;

    gap: 15px;

    border-right: 1px solid rgba(80,150,220,.15);
}

.feature:last-child {
    border: none;
}

.icon {
    width: 45px;
    height: 45px;

    border: 1px solid #229cff;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #42baff;

    font-size: 20px;

    box-shadow:
        0 0 15px rgba(30,150,255,.15);
}

.feature h3 {
    font-size: 12px;

    margin-bottom: 5px;
}

.feature p {
    font-size: 9px;

    color: #899bc0;

    line-height: 1.5;
}


/* =========================
   RESPONSIVE
========================= */

@media(max-width: 900px) {

    .menu {
        display: none;
    }

    .text {
        width: 100%;
        text-align: center;
    }

    .text p {
        margin-left: auto;
        margin-right: auto;
    }

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

    .person {
        opacity: .35;
        right: -100px;
    }

    .message {
        display: none;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .feature {
        border-right: none;
        border-bottom: 1px solid rgba(80,150,220,.15);
    }

    .feature:last-child {
        border-bottom: none;
    }
}

@media(max-width: 600px) {

    .text h1 {
        font-size: 48px;
    }

    .text p {
        font-size: 12px;
    }

    .person {
        width: 350px;
        right: -130px;
    }

    .buttons .btn:first-child {
        display: none;
    }

    .features {
        bottom: 10px;
    }
}
