

        /* === NAVBAR RESPONSIVE AMÉLIORÉE === */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background: #ffffff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e8eaed;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

/* === NAVIGATION REPOSITIONNÉE === */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e8eaed;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* === LOGO AMÉLIORÉ === */
.logo {
    font-size: 24px;
    font-weight: 800;
    color: #006699;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1001;
}

.logo:hover {
    transform: scale(1.05);
    color: #004466;
}

/* === NAVIGATION RESPONSIVE === */
.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
    transition: all 0.3s ease;
}

.nav-links a {
    color: #202124;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #006699;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: #006699;
    background: rgba(0, 102, 153, 0.08);
}

.nav-links a:hover::after {
    width: 60%;
}

/* === BOUTONS NAVBAR === */
.navbar-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* === MENU MOBILE === */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
}

.mobile-menu-toggle:hover {
    background: rgba(0, 102, 153, 0.08);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: #202124;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: #006699;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: #006699;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #e8eaed;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 999;
}

.mobile-nav.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.mobile-nav-links a {
    color: #202124;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-nav-links a:hover {
    color: #006699;
    background: rgba(0, 102, 153, 0.08);
    border-left-color: #006699;
}

.mobile-nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* === HERO CAROUSEL AMÉLIORÉ === */
.famlink-hero {
    min-height: 65vh;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 20px 60px;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(255, 255, 255, 0.85); */
    z-index: 1;
}

/* Images du carousel */
.hero-slide:nth-child(1) {
    background-image: url('img/ban1.jpg') !important;
}

.hero-slide:nth-child(2) {
    background-image: url('');
    background-image: url('img/ban2.jpg') !important;
}

.hero-slide:nth-child(3) {
    background-image: url('img/ban3.png') !important;
}

.hero-slide:nth-child(4) {  
    background-image: url('img/ban4.png') !important;
}

.famlink-hero-content {
    max-width: 900px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
    color: #202124;
    text-align: center;
}

.famlink-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    color: #202124;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.famlink-hero p {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 32px;
    color: #5f6368;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* === CONTRÔLES CAROUSEL === */
.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; /* Ajustez selon vos besoins */
}

.carousel-dot {
  display: flex; /* Au cas où il y aurait du contenu */
  align-items: center;
  justify-content: center;
}

.carousel-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 102, 153, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.carousel-dot.active {
    background: #006699;
    transform: scale(1.2);
    box-shadow: 0 0 0 4px rgba(0, 102, 153, 0.2);
}

.carousel-dot:hover {
    background: #006699;
    transform: scale(1.1);
}

/* === BOUTONS HERO AMÉLIORÉS === */
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.hero-buttons .btn {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 102, 153, 0.25);
    transition: all 0.3s ease;
    min-width: 160px;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 102, 153, 0.35);
}

/* === FEATURES GRID FORCÉ === */
.famlink-features-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.famlink-feature {
    text-align: center;
    padding: 40px 32px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e8eaed;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.famlink-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #006699, #00cccc);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.famlink-feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: #006699;
}

.famlink-feature:hover::before {
    transform: scaleX(1);
}

.famlink-feature-icon {
    width: 72px;
    height: 72px;
    background: #fff;
    border-radius: 16px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
    transition: all 0.4s ease;
    box-shadow: 0 8px 24px rgba(0, 102, 153, 0.3);
}

.famlink-feature:hover .famlink-feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(0, 102, 153, 0.4);
}

.famlink-feature h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #202124;
}

.famlink-feature p {
    color: #5f6368;
    line-height: 1.6;
    font-size: 15px;
}

/* === STATS GRID FORCÉ === */
.famlink-stats-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.famlink-stat {
    text-align: center;
    padding: 40px 32px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e8eaed;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.famlink-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00aa66, #00cccc);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.famlink-stat:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.famlink-stat:hover::before {
    transform: scaleX(1);
}

.famlink-stat h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 12px;
    background: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
}

.famlink-stat:hover h3 {
    transform: scale(1.05);
}

.famlink-stat p {
    color: #5f6368;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

/* === ANIMATIONS === */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
    .famlink-features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px;
    }
    
    .famlink-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    /* Navbar mobile */
    .navbar {
        padding: 12px 20px;
    }
    
    .nav-links {
        display: none;
    }
    
    .navbar-buttons {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hero responsive */
    .famlink-hero {
        min-height: 60vh;
        padding: 80px 20px 50px;
    }
    
    .famlink-hero h1 {
        font-size: 2.2rem;
    }
    
    .famlink-hero p {
        font-size: 1.1rem;
        margin-bottom: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        min-width: auto;
    }
    
    /* Grids responsive */
    .famlink-features-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .famlink-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }
    
    .famlink-feature,
    .famlink-stat {
        padding: 32px 24px;
    }
    
    .famlink-feature-icon {
        width: 64px;
        height: 64px;
        font-size: 2rem;
    }
    
    .famlink-stat h3 {
        font-size: 2.5rem;
    }
    
    /* Carousel responsive */
    .carousel-controls {
        bottom: 20px;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
    }

    .hero-slide:nth-child(1) {
        background-image: url('img/ban1_mobile.jpg') !important;
    }

    .hero-slide:nth-child(2) {
        background-image: url('');
        background-image: url('img/ban2_mobile.jpg ') !important;
    }

    .hero-slide:nth-child(3) {
        background-image: url('img/ban3_mobile.png') !important;
    }

    .hero-slide:nth-child(4) {  
        background-image: url('img/ban4_mobile.png') !important;
    }

}

@media (max-width: 480px) {
    /* Navbar très petit écran */
    .navbar {
        padding: 10px 16px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .mobile-nav {
        top: 56px;
        padding: 16px;
    }
    
    /* Hero très petit écran */
    .famlink-hero {
        min-height: 55vh;
        padding: 70px 16px 40px;
    }
    
    .famlink-hero h1 {
        font-size: 1.8rem;
        margin-bottom: 16px;
    }
    
    .famlink-hero p {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    /* Stats en une colonne sur très petit écran */
    .famlink-stats-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    
    .famlink-feature,
    .famlink-stat {
        padding: 24px 20px;
    }
    
    .famlink-feature h3 {
        font-size: 1.2rem;
    }
    
    .famlink-stat h3 {
        font-size: 2rem;
    }
    
    /* Boutons hero responsive */
    .hero-buttons .btn {
        padding: 12px 24px;
        font-size: 15px;
    }
}

/* === SECTIONS AMÉLIORÉES === */
.famlink-services-section,
.famlink-features-section,
.famlink-stats-section {
    padding: 100px 20px;
    position: relative;
}

.famlink-services-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.famlink-features-section {
    background: #ffffff;
}

.famlink-stats-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

/* === AMÉLIORATIONS VISUELLES === */
.container {
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.famlink-section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
    color: #202124;
    letter-spacing: -0.02em;
    line-height: 1.1;
    position: relative;
}

.famlink-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #006699, #00cccc);
    border-radius: 2px;
}

.famlink-section-subtitle {
    font-size: 1.15rem;
    color: #5f6368;
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
}
/* === NAVBAR AMÉLIORÉE === */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background: #ffffff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e8eaed;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

/* === NAVIGATION REPOSITIONNÉE === */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* === USER DROPDOWN === */
.user-dropdown {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding: 8px 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(0, 102, 153, 0.05);
    border: 1px solid rgba(0, 102, 153, 0.1);
    gap: 8px;
}

.user-dropdown:hover {
    background: rgba(0, 102, 153, 0.1);
    border-color: rgba(0, 102, 153, 0.2);
    transform: translateY(-1px);
}

.profile-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 102, 153, 0.3);
    flex-shrink: 0;
}

.profile-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    font-size: 13px;
}

.user-name {
    color: #202124;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.dropdown-caret {
    border-style: solid;
    border-width: 4px 4px 0 4px;
    border-color: #5f6368 transparent transparent transparent;
    transition: transform 0.3s ease;
    margin-left: 4px;
}

.user-dropdown:hover .dropdown-caret {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #ffffff;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    min-width: 220px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    list-style: none;
}

.user-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #202124;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    border-radius: 8px;
    margin: 2px 0;
    cursor: pointer;
}

.dropdown-menu a:hover {
    background: rgba(0, 102, 153, 0.08);
    color: #006699;
}

.dropdown-menu a i {
    margin-right: 12px;
    width: 16px;
    text-align: center;
    font-size: 14px;
    color: #5f6368;
}

.dropdown-menu a:hover i {
    color: #006699;
}

.dropdown-divider {
    height: 1px;
    background: #e8eaed;
    margin: 8px 0;
}

/* === MENU MOBILE AVEC USER DROPDOWN === */
.mobile-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #e8eaed;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 999;
}

.mobile-user-section {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(0, 102, 153, 0.05);
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 102, 153, 0.1);
}

.mobile-user-section .profile-icon {
    width: 48px;
    height: 48px;
    font-size: 16px;
}

.mobile-user-info h4 {
    margin: 0;
    color: #202124;
    font-size: 16px;
    font-weight: 600;
}

.mobile-user-info p {
    margin: 0;
    color: #5f6368;
    font-size: 14px;
}

.mobile-user-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding: 0 16px;
}

.mobile-user-actions a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #202124;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-user-actions a:hover {
    color: #006699;
    background: rgba(0, 102, 153, 0.08);
    border-left-color: #006699;
}

.mobile-user-actions a i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    font-size: 16px;
    color: #5f6368;
}

.mobile-user-actions a:hover i {
    color: #006699;
}

/* === HERO SANS FLOU === */
.famlink-hero {
    min-height: 65vh;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 20px 60px;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
}

/* Overlay plus subtil et pas flou */
.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.92) 0%, 
        rgba(248, 249, 250, 0.88) 50%, 
        rgba(255, 255, 255, 0.92) 100%); */
    z-index: 1;
}

/* === COUNTRIES SERVICES GRID AMÉLIORÉ === */
.countries-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.country-service-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid #e8eaed;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    transform-origin: center;
}

.country-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #006699, #00cccc);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 2;
}

.country-service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    border-color: #006699;
}

.country-service-card:hover::before {
    transform: scaleX(1);
}

.country-flag-header {
    height: 140px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    border-bottom: 1px solid #e8eaed;
    position: absolute !important;
    overflow: hidden;
    width: 100%;
    top: 0;
    left: 0;
}

.country-flag-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 153, 0.05), transparent);
    transition: left 0.6s ease;
}

.country-service-card:hover .country-flag-header::after {
    left: 100%;
}

.country-service-content {
    padding: 28px;
    background: #ffffff;
    position: relative;
}

.country-service-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #202124;
    transition: color 0.3s ease;
}

.country-service-card:hover .country-service-title {
    color: #006699;
}

.country-service-subtitle {
    font-size: 14px;
    color: #5f6368;
    margin-bottom: 24px;
    font-weight: 500;
}

.operators-list {
    margin-bottom: 24px;
}

.operators-list h4 {
    font-size: 14px;
    color: #202124;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.operators-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.operator-tag {
    background: linear-gradient(135deg, rgba(0, 102, 153, 0.08), rgba(0, 204, 204, 0.08));
    color: #006699;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(0, 102, 153, 0.15);
    transition: all 0.3s ease;
}

.country-service-card:hover .operator-tag {
    border-color: rgba(0, 102, 153, 0.3);
    transform: translateY(-1px);
}

.price-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e8eaed;
}

.price-label {
    font-size: 14px;
    color: #5f6368;
    font-weight: 500;
}

.price-value {
    font-size: 1.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00aa66, #00cccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === RESPONSIVE NAVBAR === */
@media (max-width: 768px) {
    .navbar-right {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .countries-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }
    
    .country-flag-header {
        height: 120px;
        font-size: 3.5rem;
    }
    
    .country-service-content {
        padding: 24px;
    }
    
    .country-service-title {
        font-size: 1.4rem;
    }
    
}

@media (max-width: 480px) {
    .countries-services-grid {
        padding: 0 12px;
    }
    
    .country-service-card {
        border-radius: 12px;
    }
    
    .country-flag-header {
        height: 100px;
        font-size: 3rem;
    }
    
    .country-service-content {
        padding: 20px;
    }
    
    .mobile-user-section {
        padding: 12px;
    }
    
    .mobile-user-section .profile-icon {
        width: 42px;
        height: 42px;
        font-size: 14px;
    }
}

/* === COUNTRY SERVICE CARDS EN BLEU === */
.country-service-card {
    background: linear-gradient(135deg, #006699 0%, #0080cc 100%);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 102, 153, 0.25);
    color: white;
}

.country-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 102, 153, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.country-flag-header {
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.country-service-content {
    padding: 24px;
    background: transparent;
}

.country-service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.country-service-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.operators-list h4 {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    font-weight: 600;
}

.operator-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.price-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.price-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.price-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #00ffcc;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.3);
}

/* === FEATURES EN BLEU === */
.famlink-feature {
    text-align: center;
    padding: 40px 32px;
    background: linear-gradient(135deg, #006699 0%, #0080cc 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 102, 153, 0.25);
    position: relative;
    overflow: hidden;
    color: white;
}

.famlink-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00cccc, #00ffcc);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.famlink-feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 102, 153, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.famlink-feature:hover::before {
    transform: scaleX(1);
}

.famlink-feature-icon {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #ffffff;
    transition: all 0.4s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.famlink-feature:hover .famlink-feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.25);
}

.famlink-feature h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.famlink-feature p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 15px;
}

/* === STATS EN BLEU === */
.famlink-stat {
    text-align: center;
    padding: 40px 32px;
    background: linear-gradient(135deg, #006699 0%, #0080cc 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 102, 153, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    color: white;
}

.famlink-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00ffcc, #00cccc);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.famlink-stat:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 102, 153, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.famlink-stat:hover::before {
    transform: scaleX(1);
}

.famlink-stat h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
    transition: transform 0.3s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.famlink-stat:hover h3 {
    transform: scale(1.05);
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.famlink-stat p {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

/* === CAROUSEL HERO AVEC OVERLAY BLEU === */
.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gra   dient(135deg, rgba(0, 102, 153, 0.7) 0%, rgba(0, 128, 204, 0.6) 100%); */
    z-index: 1;
}

.famlink-hero-content {
    max-width: 900px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
    color: #ffffff;
    text-align: center;
}

.famlink-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    color: #ffffff;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.famlink-hero p {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* === BOUTONS HERO ADAPTÉS === */
.hero-buttons .btn {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    min-width: 160px;
    backdrop-filter: blur(10px);
}

.hero-buttons .btn:not(.btn-secondary) {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn:not(.btn-secondary):hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn.btn-secondary {
    background: #006699;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 16px rgba(0, 204, 204, 0.3);
}

.hero-buttons .btn.btn-secondary:hover {
    background: #027ebd;
    border-color: #006699;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 204, 204, 0.4);
}

/* === CONTRÔLES CAROUSEL ADAPTÉS === */
.carousel-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

.carousel-dot.active {
    background: #00cccc;
    border-color: #ffffff;
    transform: scale(1.2);
    box-shadow: 0 0 0 4px rgba(0, 204, 204, 0.3);
}

.carousel-dot:hover {
    background: #00cccc;
    border-color: #ffffff;
    transform: scale(1.1);
}

/* === EFFETS SUPPLÉMENTAIRES === */
.country-service-card:hover .country-flag-header {
    background: rgba(255, 255, 255, 0.2);
}

.famlink-feature:hover,
.famlink-stat:hover,
.country-service-card:hover {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 12px 32px rgba(0, 102, 153, 0.4);
    }
    to {
        box-shadow: 0 12px 32px rgba(0, 102, 153, 0.6), 0 0 30px rgba(0, 204, 204, 0.2);
    }
}

/* === RESPONSIVE ADAPTATIONS === */
@media (max-width: 768px) {
    .famlink-feature,
    .famlink-stat,
    .country-service-card {
        padding: 32px 24px;
    }
    
    .famlink-feature-icon {
        width: 64px;
        height: 64px;
        font-size: 2rem;
    }
    
    .famlink-stat h3 {
        font-size: 2.5rem;
    }
    
    .country-flag-header {
        height: 100px;
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .famlink-feature,
    .famlink-stat,
    .country-service-card {
        padding: 24px 20px;
    }
    
    .famlink-feature h3 {
        font-size: 1.2rem;
    }
    
    .famlink-stat h3 {
        font-size: 2rem;
    }
    
    .country-service-title {
        font-size: 1.3rem;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
    }
}
/* === COUNTRY SERVICE CARDS DESIGN AMÉLIORÉ === */
.country-service-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid #e8eaed;
    box-shadow: 0 4px 20px rgba(0, 102, 153, 0.12);
    color: #202124;
    position: relative;
}

.country-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #006699, #00cccc);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 1;
}

.country-service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 102, 153, 0.25);
    border-color: #006699;
}

.country-service-card:hover::before {
    transform: scaleX(1);
}

/* === HEADER AVEC DRAPEAU === */
.country-flag-header {
    height: 140px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8eaed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    border-bottom: 1px solid #e8eaed;
    position: relative;
    overflow: hidden;
}

.country-flag-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #006699, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.country-service-card:hover .country-flag-header::after {
    opacity: 1;
}

/* === CONTENU PRINCIPAL === */
.country-service-content {
    padding: 32px 28px;
    background: #ffffff;
    position: relative;
}

.country-service-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #202124;
    position: relative;
}

.country-service-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #006699, #00cccc);
    transition: width 0.4s ease;
    border-radius: 2px;
}

.country-service-card:hover .country-service-title::after {
    width: 60px;
}

.country-service-subtitle {
    font-size: 15px;
    color: #5f6368;
    margin-bottom: 24px;
    font-weight: 500;
}

/* === LISTE DES OPÉRATEURS === */
.operators-list {
    margin-bottom: 24px;
}

.operators-list h4 {
    font-size: 14px;
    color: #006699;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.operators-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.operator-tag {
    
    text-transform: uppercase;
    background: linear-gradient(135deg, #006699, #0080cc);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 102, 153, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.operator-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.operator-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 153, 0.3);
}

.operator-tag:hover::before {
    left: 100%;
}

/* === INFORMATIONS DE PRIX === */
.price-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 2px solid #f1f3f4;
    position: relative;
}

.price-info::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #006699, #00cccc);
    transition: width 0.4s ease;
}

.country-service-card:hover .price-info::before {
    width: 100%;
}

.price-label {
    font-size: 14px;
    color: #5f6368;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.price-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: #006699;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-value::before {
    font-size: 1rem;
    color: #00aa66;
    font-weight: 600;
}

.price-value::after {
    content: '';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 8px;
    height: 8px;
    background: #00aa66;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.country-service-card:hover .price-value::after {
    opacity: 1;
    transform: scale(1);
    animation: pulse 2s infinite;
}

/* === BADGE "DISPONIBLE" === */
.country-service-card::after {
    content: 'Découvrir';
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #00aa66, #00cc88);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 170, 102, 0.3);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
    z-index: 2;
}

.country-service-card:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* === EFFET DE BRILLANCE AU HOVER === */
.country-service-card:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.country-service-card:hover .country-flag-header {
    background: linear-gradient(135deg, #f1f3f4 0%, #e8eaed 100%);
    transform: scale(1.02);
}

/* === ANIMATIONS === */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

/* === VARIANTES DE COULEUR PAR PAYS === */
.country-service-card[data-country="congo-brazzaville"]::before {
    background: linear-gradient(90deg, #006699, #00cc66);
}

.country-service-card[data-country="congo-brazzaville"]:hover .country-service-title::after {
    background: linear-gradient(90deg, #006699, #00cc66);
}

.country-service-card[data-country="congo-kinshasa"]::before {
    background: linear-gradient(90deg, #006699, #0099ff);
}

.country-service-card[data-country="congo-kinshasa"]:hover .country-service-title::after {
    background: linear-gradient(90deg, #006699, #0099ff);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .country-service-content {
        padding: 24px 20px;
    }
    
    .country-flag-header {
        height: 120px;
        font-size: 4rem;
    }
    
    .country-service-title {
        font-size: 1.4rem;
    }
    
    .price-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .price-value {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .country-service-content {
        padding: 20px 16px;
    }
    
    .country-flag-header {
        height: 100px;
        font-size: 3rem;
    }
    
    .country-service-title {
        font-size: 1.2rem;
    }
    
    .operators-tags {
        gap: 6px;
    }
    
    .operator-tag {
        padding: 4px 10px;
        font-size: 11px;
    }
    
    .country-service-card::after {
        top: 16px;
        right: 16px;
        padding: 3px 10px;
        font-size: 10px;
    }
}
/* Section CTA Famlink */
    .famlink-cta-section {
        background: linear-gradient(135deg, rgba(0, 102, 153, 0.85) 0%, rgba(0, 153, 255, 0.8) 100%);
        padding: 80px 20px;
        text-align: center;
        color: white;
        position: relative;
        overflow: hidden;
    }

    .famlink-cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='50' cy='50' r='8'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        animation: float 20s ease-in-out infinite;
        z-index: 0;
    }

    .famlink-cta-section 
    .famlink-cta-section {
        position: relative;
        z-index: 1;
    }


/* === CONTENU TEXTUEL DYNAMIQUE === */
.hero-text-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    pointer-events: none;
}

.hero-text-content.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    pointer-events: all;
}

.hero-text-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    color: #ffffff;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    animation: slideInTitle 0.8s ease-out 0.2s both;
}

.hero-text-content p {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: slideInText 0.8s ease-out 0.4s both;
}

.hero-text-content .hero-buttons {
    animation: slideInButtons 0.8s ease-out 0.6s both;
}

/* === NAVIGATION CAROUSEL === */
.carousel-navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 15;
    pointer-events: none;
}

.carousel-nav {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    backdrop-filter: blur(10px);
    pointer-events: all;
    transform: translateY(-50%);
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
}

/* === TOOLTIPS POUR LES DOTS === */
.carousel-dot {
    position: relative;
}

.carousel-dot::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 20;
}

.carousel-dot::after {
    content: '';
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 20;
}

.carousel-dot:hover::before,
.carousel-dot:hover::after {
    opacity: 1;
    visibility: visible;
}

/* === ANIMATIONS === */
@keyframes slideInTitle {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideInText {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInButtons {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .carousel-navigation {
        padding: 0 20px;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .hero-text-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-text-content p {
        font-size: 1.1rem;
        margin-bottom: 28px;
    }
    
    .carousel-dot::before {
        font-size: 11px;
        padding: 4px 8px;
    }
}

@media (max-width: 480px) {
    .carousel-navigation {
        padding: 0 16px;
    }
    
    .carousel-nav {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }
    
    .hero-text-content h1 {
        font-size: 1.8rem;
        margin-bottom: 16px;
    }
    
    .hero-text-content p {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    .carousel-dot::before {
        display: none; /* Masquer les tooltips sur très petits écrans */
    }
}

/* === VARIANTES DE COULEUR PAR SLIDE === */
.hero-slide[data-slide="0"]::after {
    /* background: linear-gradient(135deg, rgba(0, 59, 88, 0.6) 0%, rgba(0, 95, 95, 0.6) 100%); */
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
}
.hero-slide[data-slide="1"]::after {
    /* background: linear-gradient(135deg, rgba(0, 102, 153, 0.20) 0%, rgba(0, 204, 204, 0.20) 100%); */
     background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-slide[data-slide="2"]::after {
    /* background: linear-gradient(135deg, rgba(0, 170, 102, 0.20) 0%, rgba(0, 204, 204, 0.20) 100%); */
     background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-slide[data-slide="3"]::after {
    /* background: linear-gradient(135deg, rgba(0, 153, 255, 0.20) 0%, rgba(0, 102, 153, 0.20) 100%); */
     background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
}