/* ======= FATE BRANDING & MODERNIZATION ======= */

/* ======= RESET & BASE ======= */
body {
    font-family: 'Open Sans', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
}

/* ======= TOPBAR MASQUEE ======= */
.topbarSection {
    display: none !important;
}

/* ======= HEADER PREMIUM (BLANC) ======= */
/* ======= HEADER PREMIUM ======= */
.headerWrapper {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    z-index: 9999 !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding: 0 40px !important;
    height: 85px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin: 0 !important;
    transition: background 0.3s ease;
}

/* Logo - Propre et centré */
.headerWrapper .logoImage {
    filter: none !important;
    height: 52px !important;
    width: auto !important;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
    padding: 0 !important;
}

.headerWrapper .logoImage:hover {
    opacity: 0.9;
    transform: scale(1.02);
}



/* Navigation - Espacement et Typographie */
.mainNav {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

.mainNav .navList {
    gap: 28px !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    height: 100% !important;
}

.headerWrapper .navLinkStrong,
.headerWrapper .navLink,
.mainNav .navLinkStrong {
    color: #111827 !important;
    /* Texte sombre sur fond blanc */
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease !important;
    padding: 10px 0 !important;
    display: flex;
    align-items: center;
    position: relative !important;
    overflow: visible !important;
    text-decoration: none !important;
}

.headerWrapper .navLinkStrong:hover,
.headerWrapper .navLink:hover {
    text-decoration: none !important;
}

/* Effet de soulignement (Hover & Actif) */
.headerWrapper .navLinkStrong::after,
.headerWrapper .navLink::after {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 0 !important;
    height: 3px !important;
    background: #EAB308 !important;
    transition: width 0.3s ease !important;
    z-index: 9999 !important;
    display: block !important;
}

.headerWrapper .navLinkStrong:hover::after,
.headerWrapper .navLink:hover::after,
.headerWrapper .navLinkStrong.activeNav::after,
.headerWrapper .navLink.activeNav::after {
    width: 100% !important;
}

.headerWrapper .navLinkStrong.activeNav,
.headerWrapper .navLink.activeNav {
    color: #EAB308 !important;
}

/* Sous-menus (Dropdown) épurés */
.submenuList {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
    padding: 12px 0 !important;
    min-width: 250px !important;
    top: 65px !important;
}

.submenuLink {
    color: #4b5563 !important;
    text-shadow: none !important;
    font-size: 13px !important;
    padding: 12px 24px !important;
    transition: all 0.2s ease !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0.3px;
}

.submenuLink:hover {
    background: rgba(234, 179, 8, 0.08) !important;
    color: #EAB308 !important;
    padding-left: 30px !important;
}

.horizontalLine {
    background: rgba(0, 0, 0, 0.04) !important;
    height: 1px !important;
    margin: 4px 0 !important;
}

.dropdownIcon {
    color: rgba(0, 0, 0, 0.2) !important;
    font-size: 13px !important;
    margin-left: 6px;
    transition: color 0.3s ease !important;
}

.hasSubmenu:hover .dropdownIcon {
    color: #EAB308 !important;
}

/* ======= BOUTONS HEADER (Adhérer & Soutenir) ======= */
.headerWrapper a[href*="soutenir"].buttonNav,
.headerWrapper a[href*="adherer"].buttonNav {
    font-size: 13px !important;
    padding: 10px 22px !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
}

/* Ligne de séparation douce avant les boutons CTA */
.navList li:nth-last-child(2) {
    position: relative;
    margin-left: 15px;
}

.navList li:nth-last-child(2)::before {
    content: '';
    position: absolute;
    left: -18px;
    top: 50%;
    transform: translateY(-50%);
    height: 24px;
    width: 1px;
    background: rgba(0, 0, 0, 0.1);
}

/* Bouton Adhérer - Noir par défaut, blanc au hover */
a[href*="adherer"].buttonNav {
    background: #111827 !important;
    color: #ffffff !important;
    border: 2px solid #111827 !important;
}

a[href*="adherer"].buttonNav:hover {
    background: #ffffff !important;
    color: #111827 !important;
    border-color: #111827 !important;
}

/* Bouton Soutenir - Jaune FATE */
a[href*="soutenir"].buttonNav {
    margin-left: 8px !important;
    background: #EAB308 !important;
    color: #000 !important;
    border: 2px solid #EAB308 !important;
    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.2) !important;
    font-weight: 700 !important;
}

a[href*="soutenir"].buttonNav:hover {
    background: transparent !important;
    color: #EAB308 !important;
    box-shadow: 0 6px 20px rgba(234, 179, 8, 0.35) !important;
}

/* ======= COMPENSATION HEADER FIXE & VIDE BLANC ======= */
.conteneur-banniere {
    padding-top: 0 !important;
}



/* Centrage des dots du slider */
.fate-hero-dots {
    position: absolute !important;
    bottom: 30px !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    width: fit-content !important;
    display: flex !important;
    gap: 12px !important;
    z-index: 99 !important;
    transform: none !important;
}

/* ======= RESPONSIVE MOBILE ======= */
.mobileNavToggle {
    color: #111827 !important;
    font-size: 26px !important;
}

@media (max-width: 1010px) {
    .headerWrapper {
        padding: 0 20px !important;
        height: 70px !important;
    }

    .mainNav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: #ffffff !important;
        flex-direction: column;
        padding: 40px 20px;
        z-index: 9998;
        overflow-y: auto;
    }

    .mainNav.navOpen {
        display: flex !important;
    }

    .mainNav .navList {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 20px !important;
    }

    .navList li:nth-last-child(2)::before {
        display: none;
    }
}

/* Fin du @media (max-width: 1010px) */

.lang-option .flag-icon {
    font-size: 18px;
}

/* ======= SUGGESTION PROMPT ======= */
.suggestion-prompt {
    position: fixed !important;
    bottom: 20px !important;
    right: 100px !important;
    z-index: 10000 !important;
    background: linear-gradient(135deg, rgb(224, 194, 32) 0%, rgb(255, 212, 4) 100%);
    border-radius: 25px;
    padding: 15px 20px;
    box-shadow: 0 8px 25px rgba(224, 194, 32, 0.3);
    transform: translateX(100%) scale(0.8);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid rgba(255, 255, 255, 0.4);
    max-width: 280px;
}

.suggestion-prompt.show {
    transform: translateX(0) scale(1) !important;
    opacity: 1 !important;
    animation: suggestionFloat 3s ease-in-out infinite;
}

@keyframes suggestionFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.suggestion-close {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #dc3545;
    border: 2px solid white;
    color: white;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.suggestion-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2c3e50 !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

/* ==========================================
   WIDGET LANGUE FLOTTANT
   ========================================== */
.go-top {
    bottom: 75px !important;
    /* On remonte le go-top pour faire de la place */
}

.lang-floating-widget {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 999;
}

.lang-floating-btn {
    width: 50px;
    height: 40px;
    border-radius: 5px;
    /* Carré comme le go-top */
    background: #ffffff;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 0;
}

.lang-floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0px 3px 10px 2px rgba(7, 7, 7, 0.1);
}

.lang-floating-menu {
    position: absolute;
    bottom: 55px;
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.lang-floating-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    color: #111827;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}

.lang-option:hover {
    background: #f8f9fb;
    color: #FFC107;
    text-decoration: none;
}

/* ======= GOOGLE TRANSLATE CLEANUP ======= */
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-te-balloon-frame.skiptranslate,
.goog-te-spinner-pos {
    display: none !important;
}

body {
    top: 0 !important;
}

.skiptranslate {
    display: none !important;
}

.goog-te-gadget {
    display: none !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* ============================================================
   ALIGNEMENT ET UNIFORMISATION DES BOUTONS FLOTTANTS (INVERSÉ)
============================================================ */

/* 1. Conteneur du bouton de langue - MAINTENANT EN BAS */
.lang-floating-widget {
    position: fixed !important;
    bottom: 25px !important;
    /* Position la plus basse */
    right: 25px !important;
    z-index: 9999 !important;
}

/* 2. Style commun pour les deux boutons (Langue et Go-top) */
.lang-floating-btn,
.go-top {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #F0EBE0 !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

/* Position fixe pour le bouton retour en haut - MAINTENANT AU-DESSUS */
.go-top {
    position: fixed !important;
    bottom: 90px !important;
    /* Position supérieure */
    right: 25px !important;
    margin: 0 !important;
}

/* 3. Effet de survol (Hover) JAUNE pour les deux boutons */
.lang-floating-btn:hover,
.go-top:hover {
    background-color: #EAB308 !important;
    color: #FFFFFF !important;
    transform: translateY(-3px);
}

/* Ajustement de l'icône de la flèche */
.go-top i {
    color: #111827 !important;
    font-size: 18px !important;
}

.go-top:hover i {
    color: #FFFFFF !important;
}

/* 4. Le menu de sélection de la langue (Beige et élégant) */
.lang-floating-menu {
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    bottom: 60px !important;
    /* S'ouvre au-dessus du bouton de langue */
    right: 0 !important;
    overflow: hidden;
}

.lang-option {
    color: #111827 !important;
    padding: 12px 20px !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s !important;
}

.lang-option:hover {
    background-color: #EAB308 !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
}

/* Style pour les nouveaux drapeaux */
.fi {
    font-size: 20px !important;
    /* Taille du drapeau */
    border-radius: 2px !important;
}