/* ========================================
   SECTION HERO (Bannière d'accueil)
   ========================================
   Grande zone visuelle avec image de fond,
   texte centré et effet Glassmorphism.
   ======================================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 0;
    padding-top: 120px; /* Compense la hauteur de la navbar fixe (desktop) */
    overflow: hidden;
}

/* Arrière-plan */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Voile sombre pour lisibilité du texte */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(20,20,20,0.6) 0%, rgba(20,20,20,0.8) 100%);
    z-index: 2;
}

/* Le contenu écrit sur l'image */
.hero-contenu {
    position: relative; /* Par rapport au conteneur `.hero` parent */
    z-index: 2;         /* Doit être au-dessus du Glassmorphism */
    color: #FFFFFF;     /* Forcé en blanc peu importe le mode clair/sombre */
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8); /* Ombre forte pour toujours ressortir */
    
    /* Nouveau Design Premium - Gradient et bordure dorée */
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.7) 0%, rgba(30, 30, 30, 0.4) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.25); /* Bordure très délicate en or */
    border-radius: 28px;
    padding: 25px 35px;  
    max-width: 780px;
    width: calc(100% - 40px); /* Sécurise la largeur sur mobile */
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    
    /* Animation d'entrée */
    animation: apparitionHaut 1s ease-out forwards;
}

/* Le Grand Titre H1 */
.hero-contenu h1 {
    font-size: 4.2rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 5px;
    
    color: #F6ECCC; /* Une couleur crème/or très douce, moins agressive que le blanc pur */
    
    letter-spacing: 0.5px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7), 0 0 30px rgba(212, 175, 55, 0.2);
}

/* Ligne dorée décorative centrée sous le titre hero */
.hero-contenu h1::after {
    content: '';
    display: block;
    width: 160px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--c-or-vif, #D4AF37), transparent);
    margin: 15px auto 10px;
    border-radius: 50%;
    opacity: 0.9;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.hero-contenu p {
    color: #EAEAEA;
    font-size: 1.25rem;
    line-height: 1.6;
    margin: 0 auto 10px auto;
    font-weight: 300;
    max-width: 700px;
    /* Justifié (comme dans Word), sans coupure de mots ; la dernière
       ligne reste centrée pour garder l'équilibre du bandeau */
    text-align: justify;
    text-align-last: center;
}

.hero-boutons {
    display: flex;
    flex-wrap: wrap;       /* Empêche les boutons de s'écraser si l'écran est petit */
    justify-content: center;
    gap: 25px;
    margin-top: 25px;
}

/* Boutons principaux */
.btn-primaire, .btn-secondaire {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;               /* Les deux boutons prennent une taille égale */
    min-width: 240px;      /* Sécurise une belle largeur */
    max-width: 280px;
    gap: 10px;
    padding: 16px 20px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    border-radius: 40px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primaire {
    background-color: var(--c-or-vif);
    color: var(--c-noir-profond);
    border: 2px solid var(--c-or-vif);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-primaire:hover {
    background-color: transparent;
    color: var(--c-or-vif);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.6);
}

.btn-primaire:hover svg {
    transform: translateX(6px);
}

.btn-secondaire {
    background-color: transparent;
    color: var(--c-blanc);
    border: 2px solid var(--c-blanc);
}

.btn-secondaire:hover {
    background-color: var(--c-blanc);
    color: var(--c-noir-profond);
    transform: translateY(-3px);
}
