/* ===================== ACCUEIL ===================== */
.accueil {
    height: 100%;
    justify-content: center;
    align-items: center;

    text-align: center;
    position: relative;
    overflow: hidden;

    color: var(--text-soft);
}

/* ===================== WRAPPER ===================== */
.accueil-wrapper {
    position: relative;
    z-index: 2;

    max-width: 900px;
    padding: 20px;
}

/* ===================== TITRES ===================== */
.accueil-title {
    font-size: clamp(3rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: 0.08em;

    color: var(--text-main);

    margin-bottom: 12px;
    animation: fadeSlide 1s ease forwards;
}

.accueil-subtitle {
    font-size: clamp(1.6rem, 4vw, 2rem);
    font-weight: 500;
    opacity: 0.85;

    margin-bottom: 22px;
    animation: fadeSlide 1s ease 0.2s forwards;
}

/* ===================== DESCRIPTION ===================== */
.accueil-description {
    font-size: 1.2rem;
    line-height: 1.6;

    max-width: 620px;
    margin: 0 auto 32px auto;

    animation: fadeSlide 1s ease 0.4s forwards;
}

/* ===================== BOUTONS ===================== */
.accueil-buttons a.btn {
    display: inline-block;
    padding: 14px 38px;
    margin: 8px;

    background: linear-gradient(
        135deg,
        #2563eb,
        #1e40af
    );

    color: #ffffff;
    border-radius: 999px;

    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;

    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.accueil-buttons a.btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.5);
}

/* ===================== STATS ===================== */
.accueil-stats {
    display: flex;
    justify-content: center;
    gap: 30px;

    margin-top: 26px;

    font-weight: 600;
    font-size: 0.95rem;
    color: #374151;

    opacity: 0.85;
}

/* ===================== DÉCORATION (RONDS BLEUS SOFT) ===================== */
.accueil-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.accueil-deco .circle {
    position: absolute;
    border-radius: 50%;

    background: radial-gradient(
        circle at top,
        rgba(37, 99, 235, 0.18),
        rgba(37, 99, 235, 0.04)
    );

    filter: blur(2px);
    animation: floatCircle 18s linear infinite;
}

.circle-1 {
    width: 260px;
    height: 260px;
    top: 12%;
    left: 12%;
}

.circle-2 {
    width: 420px;
    height: 420px;
    bottom: 6%;
    right: 8%;
    animation-duration: 26s;
}

.circle-3 {
    width: 160px;
    height: 160px;
    top: 58%;
    left: 72%;
    animation-duration: 22s;
}

/* ===================== ANIMATIONS ===================== */
@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatCircle {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}



/* =========================================================
   RESPONSIVE – ACCUEIL
========================================================= */
@media (max-width: 900px) {

    .accueil {
        padding: 40px 10px;
    }

    .accueil-wrapper {
        padding: 10px;
    }

    .accueil-title {
        font-size: 2.6rem;
        letter-spacing: 0.05em;
    }

    .accueil-subtitle {
        font-size: 1.4rem;
    }

    .accueil-description {
        font-size: 1.05rem;
        max-width: 100%;
    }

    /* ================= BOUTONS ================= */
    .accueil-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .accueil-buttons a.btn {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    /* ================= STATS ================= */
    .accueil-stats {
        flex-direction: column;
        gap: 10px;
        margin-top: 22px;
    }

    /* ================= DÉCORATION ================= */
    .circle-1,
    .circle-2,
    .circle-3 {
        opacity: 0.5;
        filter: blur(6px);
    }
}

/* =========================================================
   RESPONSIVE – PETITS TÉLÉPHONES
========================================================= */
@media (max-width: 480px) {

    .accueil-title {
        font-size: 2.2rem;
    }

    .accueil-subtitle {
        font-size: 1.2rem;
    }

    .accueil-description {
        font-size: 1rem;
    }

    .accueil-stats span {
        font-size: 0.9rem;
    }
}
