/* ========================================
   PAGE D'ACCUEIL - HERO SECTION
   ======================================== */

/* Section hero principale */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 70vh;
    padding: 60px 30px;
    background: linear-gradient(135deg, rgba(187, 241, 196, 0.3) 0%, rgba(244, 208, 213, 0.3) 100%);
    border-radius: 30px;
    margin: 20px auto;
    max-width: 1000px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
	z-index: 0;
}

/* Effet de brillance subtil en arrière-plan */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: 0;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Photo de profil */
.hero img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 35px rgba(119, 221, 118, 0.3);
    margin-bottom: 30px;
    transition: all 0.4s ease;
    z-index: 1;
    position: relative;
    background: white;
}

.hero img:hover {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 15px 50px rgba(244, 154, 194, 0.5);
    border-color: rgba(244, 181, 199, 0.9);
}

/* Titre principal H2 */
.hero h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #77DD76 0%, #F49AC2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    z-index: 1;
    position: relative;
    text-transform: uppercase;
}

/* Sous-titre H3 */
.hero h3 {
    font-size: 24px;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 15px;
    z-index: 1;
    position: relative;
    line-height: 1.5;
}

/* Paragraphe descriptif */
.hero p {
    font-size: 18px;
    color: #718096;
    margin-bottom: 35px;
    max-width: 600px;
    line-height: 1.8;
    z-index: 1;
    position: relative;
}

/* Bouton CTA */
.hero .btn {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #77DD76 0%, #F49AC2 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(119, 221, 118, 0.4);
    z-index: 100;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero .btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(244, 154, 194, 0.5);
    background: linear-gradient(135deg, #F49AC2 0%, #77DD76 100%);
}

.hero .btn:active {
    transform: translateY(-2px);
}

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

/* Tablettes */
@media screen and (max-width: 768px) {
    .hero {
        min-height: 60vh;
        padding: 50px 25px;
        margin: 15px;
        border-radius: 20px;
    }

    .hero img {
        width: 160px;
        height: 160px;
        border-width: 5px;
        margin-bottom: 25px;
    }

    .hero h2 {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .hero h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .hero .btn {
        padding: 14px 35px;
        font-size: 16px;
    }
}

/* Mobile */
@media screen and (max-width: 500px) {
    .hero {
        min-height: 55vh;
        padding: 40px 20px;
        margin: 10px;
        border-radius: 15px;
    }

    .hero img {
        width: 140px;
        height: 140px;
        border-width: 4px;
        margin-bottom: 20px;
    }

    .hero h2 {
        font-size: 28px;
        margin-bottom: 10px;
        letter-spacing: 0.5px;
    }

    .hero h3 {
        font-size: 18px;
        margin-bottom: 10px;
        padding: 0 10px;
    }

    .hero p {
        font-size: 15px;
        margin-bottom: 25px;
        padding: 0 10px;
    }

    .hero .btn {
        padding: 12px 30px;
        font-size: 15px;
        width: 90%;
        max-width: 300px;
    }
}

/* Très petits écrans */
@media screen and (max-width: 375px) {
    .hero {
        padding: 35px 15px;
    }

    .hero img {
        width: 120px;
        height: 120px;
    }

    .hero h2 {
        font-size: 24px;
    }

    .hero h3 {
        font-size: 16px;
    }

    .hero p {
        font-size: 14px;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

/* Animation d'apparition progressive */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    animation: fadeInUp 0.8s ease-out;
}

/* Animation décalée pour les éléments */
.hero img {
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.hero h2 {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero h3 {
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.hero p {
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero .btn {
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

/* Effet de pulsation subtil pour le bouton */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

.hero .btn {
    animation: fadeInUp 0.8s ease-out 0.5s backwards, pulse 3s ease-in-out 2s infinite;
}
