/*
 * ============================================================
 * CSS — Page d'accueil (Home)
 * Version restaurée à l'identique (Design Original)
 * ============================================================
 */

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

.page-home {
    font-family: 'Outfit', 'Inter', sans-serif;
    overflow-x: hidden;
    background: #F5F0E8;
    color: #2C2C34;
}

/* ====================================================
   HERO SECTION UNIQUE (FALC - Accessible & Lumineux)
==================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem 3rem;
    /* padding-top pour compenser le faux header */
    background: #F5F0E8;
    /* Fond uni, clair et apaisant */
    overflow: hidden;
}

/* Vue présentation - Carte Blanche Classique */
.hero-card {
    position: relative;
    z-index: 2;
    background: #FFFFFF;
    border-radius: 28px;
    padding: 4rem 3rem;
    max-width: 800px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    /* Ombre douce et diffuse */
    animation: cardIn 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #F5F0E8;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.8rem;
    animation: photoIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

@keyframes photoIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-name {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2C2C34;
    /* Ardoise foncé pour un contraste maximum */
    margin-bottom: 0.5rem;
    animation: textIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-title {
    font-size: 1.35rem;
    font-weight: 500;
    color: #4A4A5A;
    /* Gris foncé lisible */
    margin-bottom: 2rem;
    letter-spacing: 0.03em;
    animation: textIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.hero-divider {
    width: 80px;
    height: 4px;
    background: #2C2C34;
    /* Séparateur ardoise uni */
    border-radius: 2px;
    margin: 0 auto 2rem;
    animation: textIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.hero-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #2C2C34;
    /* Texte contrasté */
    margin: 0 auto 2.5rem;
    animation: textIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
    text-align: justify;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: textIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.btn-psy,
.btn-form {
    padding: 1.1rem 2.2rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Bouton Psychologie : fond ardoise / texte blanc */
.btn-psy {
    background: #2C2C34;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(44, 44, 52, 0.15);
}

.btn-psy:hover {
    background: #1a1a22;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 44, 52, 0.25);
}

/* Bouton Formations : fond bleu marine doux / texte blanc */
.btn-form {
    background: #2C5282;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(44, 82, 130, 0.15);
}

.btn-form:hover {
    background: #1A365D;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 82, 130, 0.25);
}

/* ========== SOCIAL BUTTONS ========== */
.btn-doctolib,
.btn-linkedin {
    padding: 0.9rem 1.8rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    color: #FFFFFF;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-doctolib {
    background: #0596DE;
}

.btn-doctolib:hover {
    background: #0482C2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 222, 0.3);
}

.btn-linkedin {
    background: #0A66C2;
}

.btn-linkedin:hover {
    background: #0855A3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 102, 194, 0.3);
}

@keyframes textIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== FOOTER ========== */
.home-footer {
    background: #111;
    text-align: center;
    padding: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.home-footer a {
    color: inherit;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.home-footer a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero-section {
        padding: 7rem 1.5rem 4rem;
        height: auto;
    }

    .hero-card {
        padding: 3rem 2rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-psy,
    .btn-form {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-card {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
    }

    .hero-photo {
        width: 130px;
        height: 130px;
    }

    .hero-name {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 1.1rem;
    }

    .hero-text {
        font-size: 1rem;
    }
}
