/* ==========================================================================
   CHARTE GRAPHIQUE COMPLÈTE - ONG HLEMI (Luxury Desert Dunes & Gold Theme)
   ========================================================================== */
:root {
    --hlemi-bg-sombre: #071017;          /* Base nuit du désert */
    --hlemi-bg-carte: rgba(14, 27, 38, 0.75); /* Verre dépoli infusé d'or */
    --hlemi-jaune: #f1b319;              /* Jaune d'or d'accentuation */
    --hlemi-jaune-hover: #d99f12;        /* Jaune survolé */
    --hlemi-blanc: #ffffff;
    --hlemi-gris-clair: rgba(12, 26, 36, 0.3); /* Sections alternées sombres */
    --hlemi-texte-clair: #f3f4f6;        /* Texte principal ivoire */
    --hlemi-texte-muet: #94a3b8;         /* Texte secondaire gris-bleu */
    --border-soft: rgba(241, 179, 25, 0.07); /* Bordure or translucide très fine */
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.4);
    --transition-standard: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    /* Évite la dérive de couleur des anciens styles inline */
    --hlemi-bleu-sombre: #ffffff;        
}

/* Reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--hlemi-texte-clair) !important;
    /* Dégradé vertical : Ciel ardoise en haut, transition neutre au milieu, dunes de sable chaud dorées tout en bas */
    background: linear-gradient(to bottom, #04080d 0%, #091119 50%, #1e150a 100%) no-repeat fixed;
    line-height: 1.65;
    overflow-x: hidden;
}

/* Texture de fond artisanale (Filigrane logo ultra-discret, comme du vent sur le sable) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/logo_hlemiong.png');
    background-repeat: repeat;
    background-size: 150px;
    opacity: 0.007; /* Réduit à 0.7% pour une intégration et une fusion invisible et magique */
    filter: sepia(100%) saturate(180%) brightness(0.85) contrast(1);
    pointer-events: none;
    z-index: -1;
}

.hlemi-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Forçage de la couleur de tous les titres et textes du site pour éliminer le noir */
h1, h2, h3, h4, h5, h6 {
    color: var(--hlemi-blanc) !important;
}

p, li, label, span {
    color: rgba(243, 244, 246, 0.9) !important;
}

/* Sections globales */
.hlemi-section {
    padding: 65px 0;
}

.hlemi-section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 850;
    letter-spacing: -0.5px;
    color: var(--hlemi-blanc) !important;
    margin-bottom: 12px;
}

.hlemi-section-title::after {
    content: '';
    display: block;
    width: 45px;
    height: 3px;
    background-color: var(--hlemi-jaune);
    margin: 12px auto 0;
    border-radius: 10px;
}

.hlemi-subtitle {
    text-align: center;
    color: var(--hlemi-texte-muet) !important;
    font-size: 1.05rem;
    margin-bottom: 35px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Boutons globaux */
.hlemi-btn {
    display: inline-block;
    padding: 11px 26px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: var(--transition-standard);
    text-align: center;
    border: none;
    cursor: pointer;
}

.hlemi-btn-primary, .hlemi-btn-primary * {
    background-color: var(--hlemi-jaune) !important;
    color: #071017 !important; /* Texte sombre pour un contraste optimal */
    animation: hlemiPulseDiscreet 4s infinite;
}

.hlemi-btn-primary:hover {
    background-color: var(--hlemi-jaune-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(241, 179, 25, 0.3);
}

.hlemi-btn-secondary {
    background-color: transparent !important;
    color: var(--hlemi-blanc) !important;
    border: 2px solid var(--hlemi-blanc) !important;
}

.hlemi-btn-secondary:hover {
    background-color: var(--hlemi-blanc) !important;
    color: #071017 !important;
    transform: translateY(-2px);
}

@keyframes hlemiPulseDiscreet {
    0% { box-shadow: 0 4px 10px rgba(241, 179, 25, 0.1), 0 0 0 0 rgba(241, 179, 25, 0.15); }
    50% { box-shadow: 0 4px 15px rgba(241, 179, 25, 0.2), 0 0 0 6px rgba(241, 179, 25, 0); }
    100% { box-shadow: 0 4px 10px rgba(241, 179, 25, 0.1), 0 0 0 0 rgba(241, 179, 25, 0); }
}

/* ==========================================================================
   HEADER & NAVIGATION (Menu transparent fixe au départ, solide au scroll)
   ========================================================================== */
.hlemi-main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    z-index: 1000;
    transition: background-color 0.4s ease, border-bottom 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease !important;
    padding: 15px 0;
}

.hlemi-main-header.scrolled {
    background-color: rgba(7, 16, 23, 0.96) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    padding: 8px 0;
}

.hlemi-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hlemi-logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.hlemi-logo-img {
    height: 55px !important;
    width: auto;
    object-fit: contain;
    display: block;
}

.hlemi-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.hlemi-nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: 4px;
    transition: var(--transition-standard);
}

.hlemi-nav-link:hover, 
.hlemi-nav-link.active {
    color: var(--hlemi-jaune) !important;
}

/* Menu Hamburger Premium */
.hlemi-menu-toggle {
    display: none;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    cursor: pointer;
    width: 44px;
    height: 44px;
    z-index: 1100;
    outline: none;
    transition: var(--transition-standard);
}

.hlemi-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--hlemi-jaune);
}

.hlemi-menu-toggle span {
    position: absolute;
    left: 12px;
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--hlemi-blanc);
    border-radius: 2px;
    transition: var(--transition-standard);
}

.hlemi-menu-toggle span:nth-child(1) { top: 15px; }
.hlemi-menu-toggle span:nth-child(2) { top: 21px; }
.hlemi-menu-toggle span:nth-child(3) { top: 27px; }

.hlemi-menu-toggle.active span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
    background-color: var(--hlemi-jaune);
}

.hlemi-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

.hlemi-menu-toggle.active span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
    background-color: var(--hlemi-jaune);
}

/* ==========================================================================
   CARROUSEL GÉANT D'ACCUEIL (Hero Slider - Format Compact)
   ========================================================================== */
.hlemi-hero {
    position: relative;
    height: 55vh;
    min-height: 400px;
    overflow: hidden;
    background-color: var(--hlemi-bg-sombre);
    padding: 0 !important;
}

.hlemi-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 1.2s ease-in-out;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    box-sizing: border-box;
}

.hlemi-hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hlemi-hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(7, 16, 23, 0.50) 0%, rgba(12, 26, 36, 0.70) 100%);
    z-index: 1;
}

.hlemi-tagline {
    color: var(--hlemi-jaune) !important;
    font-size: 0.90rem !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 22px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hlemi-hero-slide-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
    padding: 40px 20px 20px !important;
    text-align: center;
    color: var(--hlemi-blanc) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hlemi-hero-slide-content h1,
.hlemi-hero-content h1 {
    font-size: 2.2rem !important;
    font-weight: 850;
    line-height: 1.35 !important;
    margin-bottom: 24px;
    color: var(--hlemi-blanc) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hlemi-hero-slide-content p,
.hlemi-hero-content p {
    font-size: 1.02rem !important;
    opacity: 0.95;
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.65 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.hlemi-hero .hlemi-btn {
    padding: 10px 22px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-radius: 50px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: var(--transition-standard);
}

.hlemi-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 5px;
}

.hlemi-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--hlemi-blanc);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition-standard);
}

.hlemi-hero-nav:hover {
    background-color: var(--hlemi-jaune);
    color: #071017;
}

.hlemi-hero-prev { left: 30px; }
.hlemi-hero-next { right: 30px; }

/* ==========================================================================
   HARMONISATION VARIABLE DES CARTES SOMBRES (Effet Verre Dépoli / Sand Glow)
   ========================================================================== */

/* 1. Carte Standard (Secteurs d'Intervention - index.php) */
.hlemi-sector-card {
    background-color: var(--hlemi-bg-carte) !important;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
    backdrop-filter: blur(12px); /* Effet verre dépoli pour flouter le sable derrière */
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-standard);
}

.hlemi-sector-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(241, 179, 25, 0.2); /* Lueur de sable doré au survol */
}

.hlemi-sector-card h3 {
    color: var(--hlemi-blanc) !important;
}

.hlemi-sector-card p, .hlemi-sector-card li {
    color: var(--hlemi-texte-muet) !important;
}

.hlemi-sector-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.hlemi-check-badge {
    background-color: rgba(241, 179, 25, 0.12);
    color: var(--hlemi-jaune);
    font-weight: bold;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease, color 0.3s ease;
}

.hlemi-sector-card:hover .hlemi-check-badge {
    transform: scale(1.15) rotate(8deg);
    background-color: var(--hlemi-jaune);
    color: var(--hlemi-bleu-sombre);
}

/* 2. Variante A : Fiches de Programmes (projets.php) */
.hlemi-card-program {
    background-color: var(--hlemi-bg-carte) !important;
    border: 1px solid var(--border-soft) !important;
    box-shadow: var(--shadow-soft) !important;
    border-radius: 14px !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hlemi-card-program:hover {
    box-shadow: var(--shadow-hover) !important;
    border-color: rgba(241, 179, 25, 0.2) !important;
}

/* 3. Variante B : Fiches d'Articles de Tribunes (index.php) */
.hlemi-card-article {
    background-color: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid var(--border-soft) !important;
    border-left: 4px solid var(--hlemi-jaune) !important; /* Liseré or */
    box-shadow: none !important;
    border-radius: 0 12px 12px 0 !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-standard) !important;
}

.hlemi-card-article:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
    box-shadow: var(--shadow-hover) !important;
    border-left-color: var(--hlemi-blanc) !important;
}

/* 4. Variante C : Fiches de Profils (ascension.php) */
.hlemi-card-profile {
    background-color: var(--hlemi-bg-carte) !important;
    border: 1px solid var(--border-soft) !important;
    box-shadow: var(--shadow-soft) !important;
    border-radius: 16px !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hlemi-card-profile:hover {
    border-color: rgba(241, 179, 25, 0.3) !important;
    box-shadow: var(--shadow-hover) !important;
}

.hlemi-card-profile .hlemi-sector-img-wrapper {
    border-radius: 10px !important;
}

/* ==========================================================================
   PAGE : À PROPOS (Fiches Vision & Mission)
   ========================================================================== */
.hlemi-about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.hlemi-about-card {
    background: var(--hlemi-bg-carte) !important;
    border: 1px solid var(--border-soft) !important;
    padding: 40px;
    border-radius: 16px;
    border-top: 5px solid var(--hlemi-jaune) !important;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                border-top-color 0.4s ease;
}

.hlemi-about-card h3 {
    color: var(--hlemi-blanc) !important;
}

.hlemi-about-card p {
    color: var(--hlemi-texte-muet) !important;
}

.hlemi-about-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--hlemi-blanc) !important;
}

.hlemi-card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* ==========================================================================
   PAGE / BLOC : CLUB ASCENSION
   ========================================================================== */
.hlemi-ascention-box {
    background: linear-gradient(135deg, rgba(12, 26, 36, 0.8) 30%, rgba(21, 45, 62, 0.8) 100%) !important;
    border: 1px solid var(--border-soft) !important;
    color: var(--hlemi-blanc) !important;
    border-radius: 24px;
    padding: 50px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hlemi-ascention-intro {
    text-align: center;
    margin-bottom: 45px;
}

.hlemi-ascention-badge {
    background-color: var(--hlemi-jaune);
    color: #071017;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.hlemi-ascention-slogan {
    color: var(--hlemi-jaune) !important;
    font-weight: 700;
    font-style: italic;
    margin-top: 10px;
}

.hlemi-ascention-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.hlemi-ascention-col {
    background-color: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px;
    padding: 30px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                background-color 0.4s ease, 
                border-color 0.4s ease;
}

.hlemi-ascention-col:hover {
    transform: translateY(-6px);
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--hlemi-jaune) !important;
}

.hlemi-ascention-col h3 {
    color: var(--hlemi-jaune) !important;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.hlemi-ascention-list {
    list-style: none;
    padding: 0;
}

.hlemi-ascention-list li {
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
}

/* ==========================================================================
   CARROUSEL DES ACTIVITÉS (Effet Fondue/Fade)
   ========================================================================== */
.hlemi-fade-carousel {
    position: relative;
    width: 100%;
    min-height: 450px;
    overflow: hidden;
    border-radius: 16px;
    background: var(--hlemi-bg-carte);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hlemi-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    z-index: 1;
}

.hlemi-carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    position: relative;
}

.hlemi-slide-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    min-height: 450px;
}

.hlemi-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hlemi-slide-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--hlemi-bg-carte) !important;
}

.hlemi-slide-content h3 {
    color: var(--hlemi-blanc) !important;
}

.hlemi-slide-content p {
    color: var(--hlemi-texte-muet) !important;
}

.hlemi-slide-tag {
    background-color: rgba(241, 179, 25, 0.15);
    color: var(--hlemi-jaune-hover) !important;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    align-self: flex-start;
    margin-bottom: 15px;
}

/* Boutons Prev/Next */
.hlemi-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(12, 26, 36, 0.8);
    color: var(--hlemi-blanc);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-standard);
}

.hlemi-carousel-nav:hover {
    background: var(--hlemi-jaune);
    color: #071017;
}

.hlemi-prev { left: 20px; }
.hlemi-next { right: 20px; }

/* ==========================================================================
   SCROLLER DEFILANT DES PARTENAIRES
   ========================================================================== */
.hlemi-partners-section {
    padding: 25px 0;
    background-color: var(--hlemi-bg-carte) !important;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

.hlemi-partners-scroller {
    overflow: hidden;
    width: 100%;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.hlemi-partners-track {
    display: inline-flex;
    gap: 60px;
    width: max-content;
    animation: scrollInfinite 25s linear infinite;
}

.hlemi-partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 60px;
}

.hlemi-partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1) !important; /* Force l'affichage en blanc brillant */
    opacity: 0.35 !important;
    transition: var(--transition-standard);
}

.hlemi-partner-logo img:hover {
    opacity: 0.9 !important;
}

@keyframes scrollInfinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   PAGE : CONTACT & FORMULAIRES
   ========================================================================== */
.hlemi-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
}

.hlemi-info-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.hlemi-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
}

.hlemi-contact-form-box {
    background: var(--hlemi-bg-carte) !important;
    border: 1px solid var(--border-soft) !important;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    border-top: 5px solid var(--hlemi-jaune) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hlemi-contact-form-box label {
    color: var(--hlemi-blanc) !important;
}

.hlemi-form-field {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hlemi-form-field label {
    font-weight: 700;
    font-size: 0.85rem;
}

.hlemi-form-field input, 
.hlemi-form-field textarea {
    background-color: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid var(--border-soft) !important;
    color: var(--hlemi-blanc) !important;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-standard);
}

.hlemi-form-field input:focus, 
.hlemi-form-field textarea:focus {
    border-color: var(--hlemi-jaune) !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* ==========================================================================
   FOOTER RICHE EMBELLI HAUT DE GAMME (Vague SVG & Effets)
   ========================================================================== */
.hlemi-footer-wave {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    background-color: transparent;
}

.hlemi-footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.hlemi-footer-wave .shape-fill {
    fill: #050b11;
}

.hlemi-footer {
    background-color: #050b11 !important;
    color: rgba(255, 255, 255, 0.5) !important;
    padding: 60px 0 30px;
    border-top: 3px solid var(--hlemi-jaune) !important;
}

.hlemi-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 45px;
    margin-bottom: 50px;
}

.hlemi-footer-col h4 {
    color: var(--hlemi-blanc) !important;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: 0.5px;
}

.hlemi-footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--hlemi-jaune);
    border-radius: 10px;
}

.hlemi-footer-col p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6) !important;
}

.hlemi-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hlemi-footer-col ul li {
    margin-bottom: 14px;
}

.hlemi-footer-col ul li a {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none;
    transition: var(--transition-standard);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    position: relative;
}

.hlemi-footer-col ul li a::before {
    content: '→';
    color: var(--hlemi-jaune);
    font-weight: bold;
    font-size: 1.1rem;
    margin-right: 8px;
    opacity: 0;
    transform: translateX(-8px);
    transition: var(--transition-standard);
    display: inline-block;
}

.hlemi-footer-col ul li a:hover {
    color: var(--hlemi-jaune) !important;
    padding-left: 2px;
}

.hlemi-footer-col ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.hlemi-footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.hlemi-footer-contact-icon {
    color: var(--hlemi-jaune);
    font-size: 1.2rem;
}

.hlemi-footer-fb-btn {
    background-color: var(--hlemi-jaune);
    color: #071017 !important;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    display: inline-block;
    transition: var(--transition-standard);
    box-shadow: 0 4px 10px rgba(241, 179, 25, 0.15);
}

.hlemi-footer-fb-btn:hover {
    background-color: var(--hlemi-jaune-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(241, 179, 25, 0.3);
}

.hlemi-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.hlemi-footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

/* ==========================================================================
   RESPONSIVITÉ MOBILE & ALIGNEMENTS (Avec menu déroulant ultra-pro)
   ========================================================================== */
@media (max-width: 991px) {
    .hlemi-slide-grid {
        grid-template-columns: 1fr;
    }
    .hlemi-slide-image {
        height: 220px;
    }
    .hlemi-slide-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .hlemi-header-wrap {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .hlemi-logo-area {
        margin: 0 !important;
    }

    .hlemi-menu-toggle {
        display: block;
    }

    .hlemi-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(7, 16, 23, 0.98) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: none !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
        z-index: 1050;
    }

    .hlemi-nav.active {
        max-height: 280px;
    }

    .hlemi-nav ul {
        flex-direction: column !important;
        align-items: center;
        gap: 15px !important;
        padding: 20px 0 !important;
    }

    .hlemi-nav-link {
        font-size: 1.15rem !important;
        font-weight: 700 !important;
        color: var(--hlemi-blanc) !important;
        letter-spacing: 0.5px;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .hlemi-nav.active .hlemi-nav-link {
        opacity: 1;
        transform: translateY(0);
    }

    .hlemi-nav.active li:nth-child(1) .hlemi-nav-link { transition-delay: 0.08s; }
    .hlemi-nav.active li:nth-child(2) .hlemi-nav-link { transition-delay: 0.16s; }
    .hlemi-nav.active li:nth-child(3) .hlemi-nav-link { transition-delay: 0.24s; }
    .hlemi-nav.active li:nth-child(4) .hlemi-nav-link { transition-delay: 0.32s; }

    .hlemi-footer-col ul li a::before {
        display: none !important;
    }

    .hlemi-btn {
        width: 100%;
    }

    .hlemi-hero-slide-content {
        padding: 60px 15px 30px !important;
    }

    .hlemi-hero-slide-content h1 {
        font-size: 1.45rem !important;
        line-height: 1.35 !important;
        margin-bottom: 18px;
    }

    .hlemi-hero-slide-content p {
        font-size: 0.84rem !important;
        margin-bottom: 28px;
        line-height: 1.50;
    }

    .hlemi-hero-buttons {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100%;
        margin-top: 0;
    }

    .hlemi-hero .hlemi-btn {
        width: auto !important;
        flex: 1;
        max-width: 155px;
        padding: 9px 10px !important;
        font-size: 0.70rem !important;
        white-space: nowrap;
        letter-spacing: 0.3px;
    }

    .hlemi-ascention-box {
        padding: 25px;
    }

    .hlemi-footer {
        padding: 50px 0 30px;
        text-align: center;
    }

    .hlemi-footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hlemi-footer-contact li {
        justify-content: center;
    }

    .hlemi-footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .hlemi-hero-nav {
        display: none !important;
    }
}