/* HERO */
.hero {
    position: relative;
    height: 43vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    text-align: center;
    background:
        linear-gradient(to bottom, rgba(33,37,41,1), rgba(33,37,41,0.2), rgba(33,37,41,1)),
        linear-gradient(to right, rgba(0,0,0,0.4), rgba(0,0,0,0), rgba(0,0,0,0.4)),
        url('../img/header2.jpg') center/cover no-repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
    backdrop-filter: none;
}

.medaillon {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%);
    z-index: 5;

    bottom: -43px; /* déborde légèrement */
    
    width: clamp(120px, 12vw, 160px);
    height: auto;

    display: flex;
    align-items: center;
    justify-content: center;

}




.icon-pf {
    width: 30px;
    height: auto;
    max-width: none;
    display: block;
    border-radius: 50%;
    filter: brightness(0.8) contrast(0.95);
}

.hero h1,
.hero p,
.hero .tagline {
    text-shadow: 0 3px 12px rgba(0,0,0,0.85);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.3;
    max-width: 900px;
    margin: auto;
    color: #f8f9fa;
    text-shadow: 0 3px 14px rgba(0,0,0,0.9);
}

.hero .gold {
    color: #d4af37;
    text-shadow: 0 2px 12px rgba(0,0,0,0.9);
}

.hero p.subtitle {
    margin-top: 22px;
    font-size: 1.1rem;
    color: #f1f1f1;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.85);
}

.hero .tagline {
    margin-top: 25px;
    font-size: 1.1rem;
    color: #e0e0e0;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.85);
}

.btn-gold {
    margin-top: 30px;
    padding: 10px 28px;
    background: linear-gradient(135deg, #d4af37, #b8962e);
    color: black;
    border: none;
    font-weight: 500;
    border-radius: 30px;
}

.btn-gold:hover {
    opacity: 0.9;
}

.tagline {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px; /* 🔥 espace uniforme */
}

.tag-item {
    display: flex;
    align-items: center;

    color: rgba(255,255,255,0.65);
    font-style: italic;
    font-size: 0.85rem;
    letter-spacing: 0.5px;

    white-space: nowrap;
}



.tag-item i {
    font-size: 1.3rem;

    background: linear-gradient(
        135deg,
        #fff4b0,  /* lumière */
        #f6d365,  /* gold clair */
        #d4af37,  /* gold principal */
        #b8962e   /* profondeur légère */
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.divider {
    width: 80px;
    height: 2px;
    margin: 30px auto;
    background: linear-gradient(
        to right,
        transparent,
        #f5d76e,
        #d4af37,
        #f5d76e,
        transparent
    );
}

.phileas-token {
    font-size: 0.55em;
    opacity: 0.75;
    font-style: italic;
}

@media (max-width: 768px) {

    .hero {
        height: auto;
        min-height: 42vh;
        padding: 28px 18px;

        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: center;

        background-size: cover;
        background-position: top center;
        background-repeat: no-repeat;
        background-color: #05080c;
    }

    .hero-content {
        width: 100%;
        margin-top: 5px;
    }

    /* TITRE PRINCIPAL */
    .hero h1 {
        font-size: 2.55rem;
        line-height: 1.15;
        letter-spacing: 0.5px;
        margin-bottom: 10px;
    }

    /* SOUS-TITRE */
    .hero p.subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-top: 14px;
        margin-bottom: 14px;
        color: #cfcfcf;
    }

    /* TAGLINE (UNE LIGNE PROPRE) */
    .hero .tagline {
        display: flex;
        justify-content: center;
        align-items: center;

        flex-wrap: nowrap;        /* 🔥 UNE SEULE LIGNE */
        gap: 6px;

        font-size: 0.75rem;
        color: #b5b5b5;

        overflow-x: auto;         /* scroll si besoin */
        scrollbar-width: none;
    }

    .hero .tagline::-webkit-scrollbar {
        display: none;
    }

    .hero .tag-item {
        display: flex;
        align-items: center;
        gap: 4px;
        white-space: nowrap;      /* évite coupure */
    }

    .hero .tag-item i {
        font-size: 0.95rem;
    }

    /* DIVIDER */
    .divider {
        width: 40px;
        height: 1px;
        margin: 18px auto;
        background: linear-gradient(90deg, #d4af37, #b8962e);
        opacity: 0.7;
    }

    .phileas-token {
        font-size: 0.4em;
    }

}



