* {
    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;
    }
}





/* =========================================================
   ANNONCES
   À COLLER À LA FIN DE index.css
   (ou à lier avec <link rel="stylesheet" href="annonces.css">
    APRÈS index.css)
========================================================= */


/* ---------- la page : le hero grandit avec le contenu ---------- */

.hero.hero-page {
    height: auto;
    min-height: 100vh;
    overflow: visible;

    /* le fond reste en place pendant le défilement */
    background-attachment: fixed;
}


/* ---------- conteneur ---------- */

.annonces {
    position: relative;
    z-index: 5;          /* au-dessus de la lumière bleue (.hero::after) */

    width: 90%;
    max-width: 1200px;

    margin: 40px auto 120px;
}


/* ---------- en-tête de la page ---------- */

.annonces-head {
    text-align: center;

    margin-bottom: 50px;
}

.annonces-head h1 {
    font-size: clamp(38px, 5vw, 60px);

    letter-spacing: -3px;
    line-height: 1;

    margin-bottom: 15px;
}

.annonces-head h1 span {
    color: #42baff;
}

.annonces-head h1 strong {
    color: #7956ff;
}

.annonces-head p {
    max-width: 500px;

    margin: auto;

    color: #aebdd9;

    font-size: 14px;
    line-height: 1.8;
}


/* ---------- liste ---------- */

.annonces-list {
    display: flex;
    flex-direction: column;

    gap: 22px;
}


/* =========================================================
   UNE ANNONCE
========================================================= */

.annonce {
    display: grid;
    grid-template-columns: 1fr 280px;

    background: rgba(3,18,43,.9);

    border: 1px solid rgba(75,150,230,.3);

    border-radius: 18px;

    backdrop-filter: blur(15px);

    overflow: hidden;

    transition: .3s;
}

.annonce:hover {
    border-color: rgba(66,186,255,.7);

    box-shadow: 0 0 30px rgba(30,150,255,.18);
}


/* ---------- partie texte (gauche) ---------- */

.annonce-main {
    padding: 28px 30px;
}

.annonce-type {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 5px 14px;

    border-radius: 30px;

    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    color: white;

    background: linear-gradient(90deg, #32b8ff, #8050ff);

    box-shadow: 0 0 20px rgba(81,108,255,.35);

    margin-bottom: 16px;
}

.annonce-type::before {
    content: "";

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: white;

    animation: annoncePulse 1.4s infinite;
}

@keyframes annoncePulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: .25; }
}

.annonce-title {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 26px;
    line-height: 1.25;

    color: white;

    margin-bottom: 14px;
}

.annonce-title a {
    color: inherit;
    text-decoration: none;

    transition: .3s;
}

.annonce-title a:hover {
    color: #42baff;
}

.annonce-text {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 16px;
    line-height: 1.7;

    color: #c2cee8;

    margin-bottom: 22px;

    /* coupe le texte après 3 lignes */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.annonce-more {
    font-size: 13px;

    color: #42baff;
    text-decoration: none;

    transition: .3s;
}

.annonce-more:hover {
    color: #7956ff;
}


/* ---------- partie infos (droite) ---------- */

.annonce-info {
    padding: 28px 26px;

    border-left: 1px solid rgba(80,150,220,.15);

    background: rgba(4,20,45,.55);

    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 16px;
}

.annonce-info div {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.annonce-info span {
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;

    color: #899bc0;
}

.annonce-info strong {
    font-size: 14px;

    color: white;
}

/* la date de début en rouge, comme les heures d'un direct */
.annonce-info .date-debut strong {
    color: #ff4d52;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .annonce {
        grid-template-columns: 1fr;
    }

    .annonce-info {
        flex-direction: row;
        flex-wrap: wrap;

        border-left: none;
        border-top: 1px solid rgba(80,150,220,.15);

        gap: 20px 35px;
    }
}

@media (max-width: 600px) {

    .annonce-main {
        padding: 22px 20px;
    }

    .annonce-title {
        font-size: 22px;
    }

    .annonce-info {
        padding: 20px;
    }
}