/* ============================================================================
   MODULE HERO [ft-hero] - CSS PURE ET SCOPÉ
   ============================================================================ */

#ft-hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 80px; /* Ajuster selon le header */
    background: #f7f4ef;
    position: relative;
    overflow: hidden;
    color: #0f0f0e;
    font-family: 'DM Sans', system-ui, sans-serif;
    z-index: 5;
}

#ft-hero .hero-bg-text {
    position: absolute;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(120px, 18vw, 240px);
    font-weight: 900;
    color: rgba(15,15,14,0.04);
    white-space: nowrap;
    top: 50%;
    left: -2%;
    transform: translateY(-50%);
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.04em;
    z-index: 1;
}

#ft-hero .hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 3rem 6rem 4rem;
    position: relative;
    z-index: 10;
}

#ft-hero .hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #b85c38;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#ft-hero .hero-eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: #b85c38;
}

#ft-hero h1.hero-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #0f0f0e;
    margin-bottom: 1.5rem;
    max-width: 520px;
}

#ft-hero h1.hero-headline em {
    font-style: italic;
    color: #b85c38;
}

#ft-hero .hero-sub {
    font-size: 1.05rem;
    font-weight: 300;
    color: #3a3734;
    max-width: 460px;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

#ft-hero .hero-credline {
    font-size: 0.82rem;
    color: #7a7672;
    letter-spacing: 0.04em;
    margin-bottom: 2.5rem;
    font-style: italic;
}

#ft-hero .hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

#ft-hero .btn-primary {
    background: #0f0f0e;
    color: #f7f4ef;
    padding: 0.9rem 2rem;
    font-size: 0.85rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s, transform 0.2s;
}

#ft-hero .btn-primary:hover { background: #b85c38; transform: translateY(-2px); }

#ft-hero .btn-ghost {
    color: #0f0f0e;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-bottom: 1px solid #0f0f0e;
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

#ft-hero .btn-ghost:hover { color: #b85c38; border-color: #b85c38; }

#ft-hero .hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 4rem 4rem 2rem;
    z-index: 10;
}

/* --- MODIFICATIONS POUR L'IMAGE RÉELLE --- */

#ft-hero .hero-portrait-frame {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 3/4;
    background: #2b4a3f;
    position: relative;
    overflow: hidden;
}

/* 1. On cache le dégradé vert qui cachait l'image */
#ft-hero .hero-portrait-frame::before {
    display: none; 
}

/* 2. On dimensionne la vraie image pour qu'elle remplisse parfaitement le cadre */
#ft-hero .hero-wp-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Empêche l'image de se déformer */
    z-index: 1; /* Place l'image en arrière-plan par rapport au texte */
}

/* 3. On gère le dégradé noir en bas pour que le texte reste lisible par-dessus l'image */
#ft-hero .hero-portrait-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end; /* Pousse le texte vers le bas */
    padding: 2rem;
    background: linear-gradient(0deg, rgba(15,15,14,0.8) 0%, transparent 60%);
    z-index: 2; /* S'assure que le texte et le dégradé sont au-dessus de l'image */
}

#ft-hero .portrait-label {
    color: rgba(247,244,239,0.9);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
}

#ft-hero .portrait-sub {
    color: rgba(247,244,239,0.6);
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    margin-top: 0.4rem;
}

#ft-hero .hero-accent-card {
    position: absolute;
    bottom: 3rem;
    left: -1.5rem;
    background: #fdfcfa;
    border: 1px solid #e4e0d8;
    padding: 1.2rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    max-width: 220px;
    z-index: 20;
}

#ft-hero .accent-card-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: #b85c38;
    line-height: 1;
}

#ft-hero .accent-card-label {
    font-size: 0.78rem;
    color: #7a7672;
    letter-spacing: 0.04em;
    margin-top: 0.3rem;
    line-height: 1.4;
}

/* --- ANIMATIONS FT PURE CSS --- */
@keyframes ft_fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

#ft-hero .hero-left > * {
    animation: ft_fadeInUp 0.7s ease both;
}
#ft-hero .hero-left > *:nth-child(1) { animation-delay: 0.1s; }
#ft-hero .hero-left > *:nth-child(2) { animation-delay: 0.2s; }
#ft-hero .hero-left > *:nth-child(3) { animation-delay: 0.32s; }
#ft-hero .hero-left > *:nth-child(4) { animation-delay: 0.42s; }
#ft-hero .hero-left > *:nth-child(5) { animation-delay: 0.52s; }

#ft-hero .hero-right { animation: ft_fadeInUp 0.9s 0.3s ease both; }

/* --- RESPONSIVE BASIQUE --- */
@media (max-width: 900px) {
    #ft-hero { grid-template-columns: 1fr; min-height: auto; padding: 100px 1.5rem 3rem; }
    #ft-hero .hero-right { display: none; }
    #ft-hero .hero-left { padding: 0; }
}

/* --- OPTIMISATION MOBILE DES BOUTONS (Téléphones) --- */
@media (max-width: 600px) {
    #ft-hero .hero-actions {
        flex-direction: column; /* Empile les boutons verticalement */
        align-items: stretch;   /* Étire les boutons sur toute la largeur */
        gap: 1.2rem;            /* Ajoute un bel espace entre les boutons */
        width: 100%;
    }

    #ft-hero .btn-primary {
        width: 100%;            /* Le bouton noir prend toute la largeur */
        text-align: center;     /* Centre le texte à l'intérieur */
        box-sizing: border-box; /* Empêche le bouton de dépasser de l'écran */
    }

    #ft-hero .btn-ghost {
        width: 100%;            /* Le bouton transparent prend toute la largeur */
        text-align: center;     /* Centre le texte */
        padding-bottom: 0.8rem; /* Donne un peu d'air en bas pour le clic */
        border-bottom: 1px solid #0f0f0e; /* Garde la ligne stylisée */
    }
}