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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Optimisations pour les très petits écrans */
@media (max-width: 320px) {
    body {
        font-size: 14px;
    }
    
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    .nav-container {
        height: 38px;
        padding: 0 4px;
    }
    
    .logo-img {
        height: 80px;
        max-width: 450px;
        margin-top: -22px;
        margin-bottom: -20px;
    }
}

/* Règles globales pour forcer les grilles 2x2 sur mobile */
@media (max-width: 768px) {
    /* Force toutes les grilles principales en 2x2 */
    .features-grid-compact,
    .advantages-grid,
    .countries-grid,
    .payment-logos-enhanced {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
        max-width: 100%;
        margin: 0 auto;
    }
    
    /* Optimisation des cartes pour mobile */
    .feature-item-compact,
    .advantage,
    .country-card,
    .payment-card {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        min-height: 120px;
        padding: 1rem 0.8rem;
    }
    
    /* Optimisation des icônes pour mobile */
    .feature-icon-compact,
    .advantage i,
    .step-icon {
        flex-shrink: 0;
        margin-bottom: 0.8rem;
    }
    
    /* Optimisation du texte pour mobile */
    .feature-content-compact h3,
    .advantage h3,
    .country-card h3,
    .step h3 {
        font-size: 0.9rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    .feature-content-compact p,
    .advantage p,
    .step p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* Amélioration des performances sur mobile */
@media (max-width: 768px) {
    * {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .hero::before,
    .hero::after {
        will-change: transform;
    }
    
    .wifi-animation,
    .haro-character {
        will-change: transform, opacity;
    }
}

/* Optimisation des animations pour les appareils à faible performance */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Support pour les écrans haute densité */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img,
    .haro-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

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

/* Responsive Container */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 8px;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 5px;
    }
}

/* Variables CSS */
:root {
    --primary-color: #2E8BC0;
    --secondary-color: #0066CC;
    --accent-color: #4DA8DA;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 65px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-img {
    height: 220px;
    width: auto;
    max-width: 1600px;
    object-fit: cover;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    margin-top: -65px;
    margin-bottom: -70px;
}

.logo-img:hover {
    transform: scale(1.02);
}

/* Responsive logo - Améliorations mobiles */
@media (max-width: 992px) {
    .nav-container {
        height: 55px;
        padding: 0 15px;
    }
    .logo-img {
        height: 140px;
        max-width: 900px;
        margin-top: -40px;
        margin-bottom: -45px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        height: 50px;
        padding: 0 10px;
    }
    .logo-img {
        height: 120px;
        max-width: 800px;
        margin-top: -35px;
        margin-bottom: -35px;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 50px;
        left: 0;
        width: 100%;
        height: calc(100vh - 50px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        gap: 1.5rem;
        z-index: 999;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
}

@media (max-width: 480px) {
    .nav-container {
        height: 45px;
        padding: 0 8px;
    }
    .logo-img {
        height: 100px;
        max-width: 600px;
        margin-top: -30px;
        margin-bottom: -25px;
    }
}

@media (max-width: 360px) {
    .nav-container {
        height: 40px;
        padding: 0 5px;
    }
    .logo-img {
        height: 90px;
        max-width: 500px;
        margin-top: -25px;
        margin-bottom: -25px;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.btn-login {
    background: linear-gradient(135deg, #0066CC, #8A2BE2);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.2);
}

.btn-login:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #4DA8DA, #9370DB);
    box-shadow: 0 6px 15px rgba(138, 43, 226, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Animation du hamburger */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Amélioration du menu mobile */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 50px;
        left: 0;
        width: 100%;
        height: calc(100vh - 50px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        gap: 1.5rem;
        z-index: 999;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .nav-menu.active {
        display: flex;
        transform: translateX(0);
    }
    
    .nav-menu li {
        opacity: 0;
        transform: translateY(20px);
        animation: slideInMenu 0.3s ease forwards;
    }
    
    .nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { animation-delay: 0.4s; }
    
    .nav-menu a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover {
        background: rgba(37, 99, 235, 0.1);
        color: var(--primary-color);
    }
    
    .hamburger {
        display: flex;
    }
}

@keyframes slideInMenu {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #2E8BC0 0%, #4DA8DA 25%, #2E8BC0 50%, #0066CC 75%, #0099FF 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(46, 139, 192, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 102, 204, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(77, 168, 218, 0.2) 0%, transparent 50%);
    animation: morphing 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hexagon" width="20" height="17.32" patternUnits="userSpaceOnUse"><polygon points="10,1 18.66,6 18.66,16 10,21 1.34,16 1.34,6" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23hexagon)"/></svg>');
    animation: hexagonMove 25s linear infinite;
    pointer-events: none;
    opacity: 0.6;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes morphing {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    33% {
        transform: scale(1.1) rotate(120deg);
        opacity: 0.8;
    }
    66% {
        transform: scale(0.9) rotate(240deg);
        opacity: 0.6;
    }
}

@keyframes hexagonMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 17.32px); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Hero Content Base Styles */
.hero-content {
    padding: 0 10px;
}

/* Responsive Hero Container */
@media (max-width: 992px) {
    .hero-container {
        gap: 3rem;
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 0 12px;
    }
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        padding: 0 10px;
        margin-top: -2rem;
    }
    
    .hero-content {
        order: 1;
        padding: 0 15px;
        margin-top: -1rem;
    }
    
    .wifi-animation {
        order: 2;
        height: 280px;
        margin-top: -1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-container {
        gap: 1rem;
        padding: 0 8px;
        margin-top: -2.5rem;
    }
    
    .hero-content {
        padding: 0 20px;
        margin-top: -1.5rem;
    }
    
    .wifi-animation {
        height: 220px;
        margin-top: -2rem;
    }
}

@media (max-width: 360px) {
    .hero-container {
        padding: 0 5px;
        gap: 0.8rem;
        margin-top: -3rem;
    }
    
    .hero-content {
        padding: 0 25px;
        margin-top: -2rem;
    }
    
    .wifi-animation {
        height: 180px;
        margin-top: -2.5rem;
    }
}

/* Floating Particles */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    width: 4px;
    height: 4px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.particle:nth-child(2) {
    width: 6px;
    height: 6px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 10s;
}

.particle:nth-child(3) {
    width: 3px;
    height: 3px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 7s;
}

.particle:nth-child(4) {
    width: 5px;
    height: 5px;
    top: 30%;
    left: 70%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.particle:nth-child(5) {
    width: 4px;
    height: 4px;
    top: 70%;
    left: 50%;
    animation-delay: 3s;
    animation-duration: 11s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-top: 8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    word-spacing: 0.5rem;
    min-height: 4.2rem;
    position: relative;
}

/* Responsive Hero Content */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
        margin-top: 6rem;
        word-spacing: 0.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
        margin-top: 4rem;
        margin-bottom: 1rem;
        word-spacing: 0.2rem;
        min-height: auto;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
        margin-top: 3.5rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        max-width: 250px;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.6rem;
        margin-top: 3rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
        max-width: 220px;
    }
}

.hero-content h1::after {
    content: '|';
    animation: blink 1s infinite;
    color: var(--accent-color);
    font-weight: 300;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 1);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s ease-out 0.6s forwards;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s ease-out 0.9s forwards;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #0066CC, #8A2BE2);
    color: white;
    box-shadow: 0 4px 15px rgba(77, 168, 218, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(138, 43, 226, 0.4);
    background: linear-gradient(135deg, #4DA8DA, #9370DB);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: white;
    color: #8A2BE2;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 60px;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid;
    border-image: linear-gradient(135deg, #0066CC, #8A2BE2) 1;
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

/* WiFi Animation */
.wifi-animation {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    opacity: 0;
    transform: scale(0.8);
    animation: zoomIn 1.2s ease-out 1.2s forwards;
}

.wifi-animation i {
    font-size: 4rem;
    color: white;
    z-index: 2;
    position: relative;
    animation: glow 2s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

.signal-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wave {
    position: absolute;
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: advancedPulse 3s infinite;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.wave:nth-child(1) {
    width: 100px;
    height: 100px;
    margin: -50px 0 0 -50px;
    animation-delay: 0s;
    border-color: rgba(102, 126, 234, 0.6);
}

.wave:nth-child(2) {
    width: 200px;
    height: 200px;
    margin: -100px 0 0 -100px;
    animation-delay: 0.8s;
    border-color: rgba(118, 75, 162, 0.5);
}

.wave:nth-child(3) {
    width: 300px;
    height: 300px;
    margin: -150px 0 0 -150px;
    animation-delay: 1.6s;
    border-color: rgba(255, 255, 255, 0.3);
}

@keyframes advancedPulse {
    0% {
        transform: scale(0);
        opacity: 1;
        border-width: 3px;
    }
    50% {
        opacity: 0.7;
        border-width: 2px;
    }
    100% {
        transform: scale(1);
        opacity: 0;
        border-width: 1px;
    }
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
        transform: scale(1);
    }
    to {
        filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.8));
        transform: scale(1.05);
    }
}

@keyframes zoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Haro Character Animation */
.haro-character {
    position: absolute;
    right: -200px;
    top: 60%;
    transform: translateY(-50%);
    opacity: 0;
    animation: haroEntrance 1.5s ease-out 0.5s forwards;
}

.haro-img {
    width: 600px;
    height: 600px;
    object-fit: contain;
    animation: haroFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 25px rgba(46, 139, 192, 0.4));
    transition: all 0.3s ease;
}

.haro-img:hover {
    transform: scale(1.15) rotate(8deg);
    filter: drop-shadow(0 15px 30px rgba(46, 139, 192, 0.6));
}

@keyframes haroEntrance {
    0% {
        opacity: 0;
        transform: translateY(-50%) translateX(100px) rotate(-15deg);
    }
    100% {
        opacity: 1;
        transform: translateY(-50%) translateX(0) rotate(0deg);
    }
}

@keyframes haroFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(3deg);
    }
    50% {
        transform: translateY(-8px) rotate(-2deg);
    }
    75% {
        transform: translateY(-20px) rotate(2deg);
    }
}

/* Responsive pour le haro - Améliorations complètes */
@media (max-width: 992px) {
    .haro-character {
        right: -160px;
        transform: translateY(-50%) scale(0.8);
    }
    
    .haro-img {
        width: 640px;
        height: 640px;
    }
}

@media (max-width: 768px) {
    .haro-character {
        right: -120px;
        transform: translateY(-60%) scale(0.6);
        position: relative;
        margin-top: -1rem;
    }
    
    .haro-img {
        width: 480px;
        height: 480px;
    }
}

@media (max-width: 480px) {
    .haro-character {
        right: -80px;
        transform: translateY(-70%) scale(0.4);
        margin-top: -1.5rem;
    }
    
    .haro-img {
        width: 320px;
        height: 320px;
    }
}

@media (max-width: 360px) {
    .haro-character {
        right: -60px;
        transform: translateY(-80%) scale(0.3);
        margin-top: -2rem;
    }
    
    .haro-img {
        width: 240px;
        height: 240px;
    }
}

@media (max-width: 320px) {
    .haro-character {
        right: -40px;
        transform: translateY(-50%) scale(0.25);
    }
    
    .haro-img {
        width: 200px;
        height: 200px;
    }
}

/* Sections communes */
section {
    padding: 5rem 0;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Sections */
@media (max-width: 992px) {
    section {
        padding: 4rem 0;
    }
    
    h2 {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 2.5rem 0;
    }
    
    h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        padding: 0 5px;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
        padding: 0 8px;
        line-height: 1.5;
    }
}

@media (max-width: 360px) {
    section {
        padding: 2rem 0;
    }
    
    h2 {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
}

/* Section Pays Disponibles */
.countries-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem 0 2rem 0;
    position: relative;
    overflow: hidden;
}

.countries-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    animation: float 20s ease-in-out infinite;
}

.countries-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.countries-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s ease forwards;
}

.countries-intro {
    max-width: 800px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s ease 0.3s forwards;
}

.highlight {
    color: #ffd700;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.coverage-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s ease 0.6s forwards;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.country-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    animation: cardAppear 0.8s ease forwards;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.country-card:nth-child(1) { animation-delay: 0.1s; }
.country-card:nth-child(2) { animation-delay: 0.2s; }
.country-card:nth-child(3) { animation-delay: 0.3s; }
.country-card:nth-child(4) { animation-delay: 0.4s; }
.country-card:nth-child(5) { animation-delay: 0.5s; }
.country-card:nth-child(6) { animation-delay: 0.6s; }
.country-card:nth-child(7) { animation-delay: 0.7s; }
.country-card:nth-child(8) { animation-delay: 0.8s; }

.country-card::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.6s ease;
}

.country-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 1);
}

.country-card:hover::before {
    left: 100%;
}

@keyframes cardAppear {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Design pour les statistiques */
@media (max-width: 992px) {
    .countries-section {
        padding: 2.5rem 0 1.5rem 0;
    }
    
    .countries-header {
        margin-bottom: 2rem;
    }
    
    .countries-title {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
    }
    
    .countries-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .countries-section {
        padding: 2rem 0 1rem 0;
    }
    
    .countries-header {
        margin-bottom: 1.5rem;
    }
    
    .countries-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .intro-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .countries-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(4, auto);
        margin-top: 20px;
        padding: 15px 15px 5px 15px;
        gap: 12px;
        margin-bottom: 0;
    }
    
    .country-card {
        padding: 1.2rem;
        min-height: 100px;
    }
    
    .coverage-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .stat-item {
        padding: 1rem 1.5rem;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .countries-section {
        padding: 1.5rem 0 1rem 0;
    }
    
    .countries-header {
        margin-bottom: 1.2rem;
    }
    
    .countries-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .intro-text {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    
    .countries-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(4, auto);
        margin-top: 15px;
        padding: 12px 12px 5px 12px;
        gap: 10px;
        margin-bottom: 0;
    }
    
    .country-card {
        padding: 1rem;
        min-height: 90px;
    }
}

@media (max-width: 360px) {
    .countries-section {
        padding: 1.5rem 0 1rem 0;
    }
    
    .flag-container {
        width: 80px;
        height: 56px;
        margin-bottom: 15px;
    }
    
    .country-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }
}

.flag-container {
    width: 100px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flag-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.flag-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Anciens styles des drapeaux supprimés - remplacés par les SVG */

.country-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.country-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Comment ça marche */
.how-it-works {
    background: var(--bg-light);
}

.steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.step {
    text-align: center;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step:hover {
    transform: translateY(-5px);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.step-icon i {
    font-size: 1.5rem;
    color: white;
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.step p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Responsive pour Comment ça marche */
@media (max-width: 992px) {
    .steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
    
    .step {
        padding: 1.2rem 0.8rem;
        min-height: 180px;
    }
    
    .step-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 0.8rem;
    }
    
    .step-icon i {
        font-size: 1.3rem;
    }
    
    .step h3 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .step p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

@media (max-width: 768px) {
    .steps {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .step {
        padding: 1rem;
        min-height: 160px;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.8rem;
    }
    
    .step-icon i {
        font-size: 1.2rem;
    }
    
    .step h3 {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }
    
    .step p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    /* 5ème étape centrée sur la ligne suivante */
    .step:nth-child(5) {
        grid-column: 1 / -1;
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .steps {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem;
        padding: 0 10px;
    }
    
    .step {
        padding: 1rem 0.8rem;
        min-height: 140px;
        flex-direction: column;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    
    .step-icon {
        width: 45px;
        height: 45px;
        margin: 0 auto 0.6rem;
        flex-shrink: 0;
    }
    
    .step-icon i {
        font-size: 1.1rem;
    }
    
    .step-content {
        flex: 1;
        text-align: center;
    }
    
    .step h3 {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
        line-height: 1.3;
    }
    
    .step p {
        font-size: 0.8rem;
        margin: 0;
        line-height: 1.4;
    }
    
    /* 5ème étape centrée */
    .step:nth-child(5) {
        grid-column: 1 / -1;
        max-width: 250px;
        margin: 0 auto;
    }
}

@media (max-width: 360px) {
    .steps {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.6rem;
        padding: 0 5px;
    }
    
    .step {
        padding: 0.8rem 0.6rem;
        min-height: 130px;
    }
    
    .step-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.5rem;
    }
    
    .step-icon i {
        font-size: 1rem;
    }
    
    .step h3 {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }
    
    .step p {
        font-size: 0.75rem;
    }
    
    /* 5ème étape centrée */
    .step:nth-child(5) {
        grid-column: 1 / -1;
        max-width: 220px;
        margin: 0 auto;
    }
}

/* Fonctionnalités Modernes */
.features-modern {
    position: relative;
    padding: 40px 0;
    overflow: hidden;
    background: linear-gradient(135deg, #8A2BE2 0%, #0066CC 100%);
    min-height: auto;
}

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

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(255, 102, 0, 0.9) 0%, 
        rgba(0, 102, 204, 0.8) 25%,
        rgba(255, 153, 0, 0.7) 50%,
        rgba(255, 102, 0, 0.8) 75%,
        rgba(0, 102, 204, 0.9) 100%);
    animation: gradientShift 15s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.9; }
    25% { opacity: 0.7; }
    50% { opacity: 0.8; }
    75% { opacity: 0.6; }
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite linear;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 100%);
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
    background: radial-gradient(circle, rgba(147,112,219,0.3) 0%, rgba(147,112,219,0.1) 100%);
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: -10s;
    background: radial-gradient(circle, rgba(138,43,226,0.4) 0%, rgba(138,43,226,0.1) 100%);
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 30%;
    animation-delay: -15s;
    background: radial-gradient(circle, rgba(0,102,204,0.3) 0%, rgba(0,102,204,0.1) 100%);
}

.shape-5 {
    width: 140px;
    height: 140px;
    top: 40%;
    left: 5%;
    animation-delay: -7s;
    background: radial-gradient(circle, rgba(102,126,234,0.2) 0%, rgba(102,126,234,0.05) 100%);
}

.shape-6 {
    width: 90px;
    height: 90px;
    top: 70%;
    right: 5%;
    animation-delay: -12s;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.03) 100%);
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    33% {
        transform: translateY(-30px) rotate(120deg);
        opacity: 1;
    }
    66% {
        transform: translateY(30px) rotate(240deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(0px) rotate(360deg);
        opacity: 0.7;
    }
}

.features-modern .container {
    position: relative;
    z-index: 2;
}

.features-header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out;
}

.features-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { text-shadow: 0 4px 20px rgba(255,255,255,0.3); }
    100% { text-shadow: 0 4px 30px rgba(255,255,255,0.6), 0 0 40px rgba(255,255,255,0.4); }
}

.features-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

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

.features-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-item-compact {
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.25) 0%, 
        rgba(255,255,255,0.1) 100%);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.feature-item-compact:nth-child(1) { animation-delay: 0.1s; }
.feature-item-compact:nth-child(2) { animation-delay: 0.2s; }
.feature-item-compact:nth-child(3) { animation-delay: 0.3s; }
.feature-item-compact:nth-child(4) { animation-delay: 0.4s; }
.feature-item-compact:nth-child(5) { animation-delay: 0.5s; }
.feature-item-compact:nth-child(6) { animation-delay: 0.6s; }

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

.feature-item-compact:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon-compact {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    background: linear-gradient(45deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.feature-item-compact:hover .feature-icon-compact {
    transform: scale(1.1);
}

.feature-icon-compact i {
    font-size: 1.3rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.feature-content-compact h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.feature-content-compact p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

/* Responsive pour les fonctionnalités compactes */
@media (max-width: 992px) {
    .features-modern {
        padding: 30px 0;
    }
    
    .features-header {
        margin-bottom: 30px;
    }
    
    .features-title {
        font-size: 2.4rem;
        margin-bottom: 12px;
    }
}

@media (max-width: 768px) {
    .features-modern {
        padding: 25px 0;
        min-height: auto;
    }
    
    .features-header {
        margin-bottom: 25px;
    }
    
    .features-title {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }
    
    .features-subtitle {
        font-size: 1.1rem;
    }
    
    /* Grille 2x2 pour tablettes */
    .features-grid-compact {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 15px;
        max-width: 600px;
    }
    
    .feature-item-compact {
        padding: 15px;
    }
    
    .feature-icon-compact {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }
    
    .feature-icon-compact i {
        font-size: 1.1rem;
    }
    
    .feature-content-compact h3 {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .feature-content-compact p {
        font-size: 0.8rem;
    }
}

/* Grille 2x2 pour tous les mobiles */
@media (max-width: 480px) {
    .features-modern {
        padding: 20px 0;
    }
    
    .features-header {
        margin-bottom: 20px;
    }
    
    .features-title {
        font-size: 2rem;
        margin-bottom: 8px;
    }
    
    .features-subtitle {
        font-size: 1rem;
    }
    
    /* Grille 2x2 stricte pour mobile */
    .features-grid-compact {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(3, 1fr);
        gap: 12px;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .feature-item-compact {
        padding: 12px 8px;
        min-height: 120px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .feature-icon-compact {
        width: 35px;
        height: 35px;
        margin-bottom: 8px;
        flex-shrink: 0;
    }
    
    .feature-icon-compact i {
        font-size: 1rem;
    }
    
    .feature-content-compact h3 {
        font-size: 0.85rem;
        margin-bottom: 4px;
        line-height: 1.2;
    }
    
    .feature-content-compact p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
}

/* Très petits écrans - maintenir 2x2 */
@media (max-width: 360px) {
    .features-grid-compact {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
        padding: 0 5px;
    }
    
    .feature-item-compact {
        padding: 10px 6px;
        min-height: 110px;
    }
    
    .feature-icon-compact {
        width: 30px;
        height: 30px;
        margin-bottom: 6px;
    }
    
    .feature-icon-compact i {
        font-size: 0.9rem;
    }
    
    .feature-content-compact h3 {
        font-size: 0.8rem;
        margin-bottom: 3px;
    }
    
    .feature-content-compact p {
        font-size: 0.7rem;
    }
}

/* Avantages */
.advantages {
    background: var(--bg-light);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.advantage:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.advantage i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.advantage:hover i {
    transform: scale(1.1);
}

.advantage h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.advantage p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Responsive Avantages - Grille 2x2 sur mobile */
@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .advantage {
        padding: 1.5rem 1rem;
    }
    
    .advantage i {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .advantage h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .advantage p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
        padding: 0 10px;
    }
    
    .advantage {
        padding: 1.2rem 0.8rem;
        min-height: 180px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .advantage i {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .advantage h3 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
        line-height: 1.3;
    }
    
    .advantage p {
        font-size: 0.85rem;
        line-height: 1.4;
        text-align: center;
    }
}

@media (max-width: 360px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem;
        padding: 0 5px;
    }
    
    .advantage {
        padding: 1rem 0.6rem;
        min-height: 160px;
    }
    
    .advantage i {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }
    
    .advantage h3 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .advantage p {
        font-size: 0.8rem;
    }
}

/* Mobile Money */
.mobile-money {
    background: linear-gradient(135deg, #FF6600 0%, #0066CC 100%);
    color: white;
    padding: 6rem 0;
}

.mobile-money h2 {
    color: white;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.payment-method:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.payment-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    color: white;
}

.orange-logo { background: linear-gradient(135deg, #8A2BE2, #9370DB); }
.mtn-logo { background: linear-gradient(135deg, #FFCC00, #FFD633); color: #000; }
.airtel-logo { background: linear-gradient(135deg, #FF0000, #FF3333); }
.tmoney-logo { background: linear-gradient(135deg, #00AA44, #33BB66); }
.free-logo { background: linear-gradient(135deg, #0066CC, #3388DD); }

.payment-method span {
    font-weight: 600;
    font-size: 1rem;
}

/* Moyens de paiement compacts */
.payment-methods-compact {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.payment-header {
    text-align: center;
    margin-bottom: 40px;
}

.payment-title-compact {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    background: linear-gradient(45deg, #8A2BE2, #0066CC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.payment-subtitle-compact {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* === SECTION MOYENS DE PAIEMENT AMÉLIORÉE === */
.payment-methods-enhanced {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.payment-methods-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.payment-header-enhanced {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.header-content {
    max-width: 600px;
    margin: 0 auto;
}

.payment-title-enhanced {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-color), #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.payment-subtitle-enhanced {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.header-decoration {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.header-decoration::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

/* Grille des cartes de paiement */
.payment-logos-enhanced {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.payment-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    height: 160px;
}

.payment-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.card-inner {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 15px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.logo-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-logo-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.payment-card:hover .payment-logo-img {
    transform: scale(1.1) rotate(5deg);
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, var(--primary-color)20, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1;
}

.payment-card:hover .logo-glow {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1.2);
}

.card-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.provider-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

.payment-card:hover .provider-title {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.provider-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
    transition: all 0.3s ease;
}

.payment-card:hover .provider-desc {
    color: var(--text-dark);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 10%, transparent 50%);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.payment-card:hover .card-overlay {
    opacity: 1;
}

/* Effets spéciaux pour chaque provider */
.payment-card[data-provider="orange"]:hover .logo-glow {
    background: radial-gradient(circle, #ff6b35 20%, transparent 70%);
}

.payment-card[data-provider="moov"]:hover .logo-glow {
    background: radial-gradient(circle, #0066cc 20%, transparent 70%);
}

.payment-card[data-provider="mtn"]:hover .logo-glow {
    background: radial-gradient(circle, #ffcc00 20%, transparent 70%);
}

.payment-card[data-provider="airtel"]:hover .logo-glow {
    background: radial-gradient(circle, #e60012 20%, transparent 70%);
}

.payment-card[data-provider="tmoney"]:hover .logo-glow {
    background: radial-gradient(circle, #0066cc 20%, transparent 70%);
}

.payment-card[data-provider="free"]:hover .logo-glow {
    background: radial-gradient(circle, #00cc66 20%, transparent 70%);
}

.payment-card[data-provider="wave"]:hover .logo-glow {
    background: radial-gradient(circle, #6b46c1 20%, transparent 70%);
}

.payment-card[data-provider="ligdi"]:hover .logo-glow {
    background: radial-gradient(circle, #ff6b35 20%, transparent 70%);
}

/* Animations d'apparition améliorées */
.payment-card {
    animation: slideInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(50px);
}

.payment-card:nth-child(1) { animation-delay: 0.1s; }
.payment-card:nth-child(2) { animation-delay: 0.2s; }
.payment-card:nth-child(3) { animation-delay: 0.3s; }
.payment-card:nth-child(4) { animation-delay: 0.4s; }
.payment-card:nth-child(5) { animation-delay: 0.5s; }
.payment-card:nth-child(6) { animation-delay: 0.6s; }
.payment-card:nth-child(7) { animation-delay: 0.7s; }
.payment-card:nth-child(8) { animation-delay: 0.8s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design - Grille 2x2 pour mobiles */
@media (max-width: 768px) {
    .payment-methods-enhanced {
        padding: 60px 0;
    }
    
    .payment-title-enhanced {
        font-size: 2rem;
    }
    
    .payment-logos-enhanced {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(4, 1fr);
        gap: 15px;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .payment-card {
        height: 140px;
    }
    
    .card-inner {
        padding: 15px 10px;
    }
    
    .logo-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }
    
    .payment-logo-img {
        width: 50px;
        height: 50px;
    }
    
    .logo-glow {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .payment-logos-enhanced {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(4, 1fr);
        gap: 12px;
        padding: 0 10px;
    }
    
    .payment-card {
        height: 120px;
        min-height: 120px;
    }
    
    .card-inner {
        padding: 12px 8px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .logo-wrapper {
        width: 50px;
        height: 50px;
        margin-bottom: 8px;
        flex-shrink: 0;
    }
    
    .payment-logo-img {
        width: 40px;
        height: 40px;
    }
    
    .logo-glow {
        width: 60px;
        height: 60px;
    }
    
    .card-content {
        text-align: center;
    }
    
    .provider-title {
        font-size: 0.85rem;
        margin-bottom: 2px;
    }
    
    .provider-desc {
        font-size: 0.7rem;
        line-height: 1.2;
    }
}

@media (max-width: 360px) {
    .payment-logos-enhanced {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
        padding: 0 5px;
    }
    
    .payment-card {
        height: 110px;
        min-height: 110px;
    }
    
    .card-inner {
        padding: 10px 6px;
    }
    
    .logo-wrapper {
        width: 45px;
        height: 45px;
        margin-bottom: 6px;
    }
    
    .payment-logo-img {
        width: 35px;
        height: 35px;
    }
    
    .logo-glow {
        width: 55px;
        height: 55px;
    }
    
    .provider-title {
        font-size: 0.8rem;
    }
    
    .provider-desc {
        font-size: 0.65rem;
    }
}

.payment-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUpStaggered 0.6s ease-out forwards;
}

.feature-item:nth-child(1) {
    animation-delay: 0.2s;
}

.feature-item:nth-child(2) {
    animation-delay: 0.4s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.6s;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.feature-item i {
    font-size: 1.1rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.2);
}

.feature-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

@keyframes slideInUpStaggered {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animations d'apparition */
.payment-logo {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.payment-logo:nth-child(1) { animation-delay: 0.1s; }
.payment-logo:nth-child(2) { animation-delay: 0.15s; }
.payment-logo:nth-child(3) { animation-delay: 0.2s; }
.payment-logo:nth-child(4) { animation-delay: 0.25s; }
.payment-logo:nth-child(5) { animation-delay: 0.3s; }
.payment-logo:nth-child(6) { animation-delay: 0.35s; }
.payment-logo:nth-child(7) { animation-delay: 0.4s; }
.payment-logo:nth-child(8) { animation-delay: 0.45s; }

.feature-item {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.feature-item:nth-child(1) { animation-delay: 0.6s; }
.feature-item:nth-child(2) { animation-delay: 0.7s; }
.feature-item:nth-child(3) { animation-delay: 0.8s; }

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

/* Responsive */
@media (max-width: 768px) {
    .payment-methods-compact {
        padding: 40px 0;
    }
    
    .payment-title-compact {
        font-size: 1.8rem;
    }
    
    .payment-logos-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 20px;
    }
    
    .logo-container {
        width: 60px;
        height: 60px;
    }
    
    .logo-text {
        font-size: 0.8rem;
    }
    
    .provider-name {
        font-size: 0.75rem;
    }
    
    .payment-features {
        display: grid;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px;
        margin-top: 35px;
        max-width: 100%;
        padding: 0 15px;
    }
    
    .feature-item {
        padding: 10px 12px;
        flex-direction: column;
        text-align: center;
        min-height: 70px;
        justify-content: center;
    }
    
    .feature-item i {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .feature-item span {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .payment-logos-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .payment-features {
        display: grid;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px;
        margin-top: 30px;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .feature-item {
        padding: 8px 6px;
        font-size: 0.75rem;
        flex-direction: column;
        text-align: center;
        min-height: 60px;
        justify-content: center;
    }
    
    .feature-item i {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }
    
    .feature-item span {
        font-size: 0.7rem;
        line-height: 1.2;
    }
}

/* FAQ */
.faq {
    background: var(--bg-light);
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* CTA */
.cta {
    background: var(--gradient);
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta .btn-outline {
    border-color: white;
    color: white;
}

.cta .btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* Contact Moderne */
.contact-modern {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e6f0ff 100%);
    overflow: hidden;
}

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

.contact-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
    animation: particleFloat 15s infinite linear;
}

.particle-1 {
    width: 60px;
    height: 60px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    background: radial-gradient(circle, rgba(138,43,226,0.2) 0%, rgba(138,43,226,0.05) 100%);
}

.particle-2 {
    width: 80px;
    height: 80px;
    top: 70%;
    right: 20%;
    animation-delay: -3s;
    background: radial-gradient(circle, rgba(0,102,204,0.15) 0%, rgba(0,102,204,0.03) 100%);
}

.particle-3 {
    width: 40px;
    height: 40px;
    top: 30%;
    right: 10%;
    animation-delay: -6s;
    background: radial-gradient(circle, rgba(147,112,219,0.2) 0%, rgba(147,112,219,0.05) 100%);
}

.particle-4 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 5%;
    animation-delay: -9s;
    background: radial-gradient(circle, rgba(138,43,226,0.15) 0%, rgba(138,43,226,0.03) 100%);
}

.particle-5 {
    width: 70px;
    height: 70px;
    top: 80%;
    left: 80%;
    animation-delay: -12s;
    background: radial-gradient(circle, rgba(0,102,204,0.1) 0%, rgba(0,102,204,0.02) 100%);
}

@keyframes particleFloat {
    0% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
        opacity: 1;
    }
    66% {
        transform: translateY(20px) rotate(240deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(0px) rotate(360deg);
        opacity: 0.7;
    }
}

.contact-modern .container {
    position: relative;
    z-index: 2;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out;
}

.contact-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    background: linear-gradient(45deg, #8A2BE2, #0066CC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    animation: cardSlideUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.contact-card:nth-child(1) { animation-delay: 0.1s; }
.contact-card:nth-child(2) { animation-delay: 0.2s; }
.contact-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes cardSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.contact-card-inner {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 350px;
}

.contact-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), #764ba2);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.contact-icon i {
    font-size: 2rem;
    color: white;
    z-index: 2;
}

.icon-ripple {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.2);
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.contact-content {
    flex: 1;
    margin-bottom: 25px;
}

.contact-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.contact-address,
.contact-phone,
.contact-email {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.contact-details {
    color: var(--text-light);
    margin-bottom: 15px;
}

.contact-hours,
.contact-status,
.contact-response {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.contact-hours i,
.contact-response i {
    color: var(--primary-color);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4CAF50;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

.contact-action {
    width: 100%;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 25px;
    background: linear-gradient(45deg, var(--primary-color), #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.contact-btn.whatsapp {
    background: linear-gradient(45deg, #25D366, #128C7E);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.contact-btn.whatsapp:hover {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.contact-btn.email {
    background: linear-gradient(45deg, #EA4335, #D33B2C);
    box-shadow: 0 4px 15px rgba(234, 67, 53, 0.3);
}

.contact-btn.email:hover {
    box-shadow: 0 6px 20px rgba(234, 67, 53, 0.4);
}

.contact-cta {
    text-align: center;
    padding: 50px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.cta-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.cta-btn.primary {
    background: linear-gradient(45deg, var(--primary-color), #764ba2);
    color: white;
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.cta-btn.secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-btn.secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-title {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .cta-btn {
        flex: 1;
        min-width: 140px;
        max-width: 180px;
        padding: 12px 20px;
        font-size: 0.9rem;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .contact-modern {
        padding: 60px 0;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-card-inner {
        padding: 30px 20px;
        min-height: 300px;
    }
    
    .contact-cta {
        padding: 30px 20px;
    }
    
    .cta-content h3 {
        font-size: 1.5rem;
    }
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    padding: 0.5rem 2rem;
    border-radius: 25px;
    background: radial-gradient(ellipse, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.3) 70%, transparent 100%);
    animation: logoGlow 3s ease-in-out infinite alternate;
}

.footer-logo-img {
        width: auto;
        height: 80px;
        max-width: 400px;
        margin-right: 0;
        object-fit: cover;
        z-index: 2;
        position: relative;
        transition: transform 0.2s ease;
    }

@keyframes logoGlow {
    0% {
        background: radial-gradient(ellipse, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.3) 70%, transparent 100%);
        transform: scale(1);
    }
    100% {
        background: radial-gradient(ellipse, rgba(255,255,255,1) 0%, rgba(255,255,255,0.5) 70%, transparent 100%);
        transform: scale(1.02);
    }
}

.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section:first-child p {
    text-align: center;
    margin-top: 0.5rem;
}

.payment-icons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.payment-icon {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.payment-icon.orange {
    background: #ff6b35;
}

.payment-icon.moov {
    background: #00a8cc;
}

.payment-icon.flooz {
    background: #f39c12;
}

.payment-icon.mtn {
    background: #ffcc02;
    color: #333;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        min-height: 80vh;
        padding: 2rem 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
        padding: 1rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-top: 4rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .steps {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }
    
    .advantage {
        padding: 1.5rem;
    }
    
    .advantage i {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .advantage h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .advantage p {
        font-size: 0.9rem;
    }
    
    .payment-methods {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .payment-icons {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
        margin: 0 auto;
        max-width: 400px;
    }
    
    .cta-btn {
        flex: 1;
        min-width: 120px;
        max-width: 160px;
        padding: 10px 15px;
        font-size: 0.85rem;
        text-align: center;
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-top: 7rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .features-modern {
        padding: 15px 0;
        min-height: auto;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .step, .feature, .advantage {
        padding: 1.5rem;
    }
    
    .footer-section {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .payment-icons {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
        margin: 0 auto;
        max-width: 350px;
        padding: 0 10px;
    }
    
    .cta-btn {
        flex: 1;
        min-width: 110px;
        max-width: 150px;
        padding: 8px 12px;
        font-size: 0.8rem;
        text-align: center;
        justify-content: center;
        white-space: nowrap;
    }
    
    .cta-btn i {
        font-size: 0.9rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.btn:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading animation */
.loading {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
.loading.fade-in {
    opacity: 0;
}

/* Optimisations supplémentaires pour la responsive */
@media (max-width: 320px) {
    /* Section Hero - Très petits écrans */
    .hero {
        min-height: 70vh;
        padding: 1.5rem 0;
    }
    
    .hero-container {
        gap: 1rem;
        padding: 0.5rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        margin-top: 2.5rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    /* Toutes les grilles en 2x2 sur très petits écrans */
    .features-grid-compact,
    .advantages-grid,
    .steps,
    .countries-grid,
    .payment-logos-enhanced {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Fallback pour s'assurer que le contenu est toujours visible */
.step, .feature, .advantage, .faq-item, .contact-item {
    opacity: 1;
    transform: translateY(0);
}

/* Animation seulement si JavaScript est activé */
.js-enabled .loading.fade-in {
    opacity: 0;
    transform: translateY(20px);
}

/* Styles pour la page de connexion */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 2rem;
}

.login-form-container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 100%;
    max-width: 450px;
}

.login-form-container h1 {
    margin-bottom: 1.5rem;
    color: #1a73e8;
    text-align: center;
}

.login-links {
    margin-top: 1rem;
    text-align: center;
}

.login-links a {
    color: #1a73e8;
    text-decoration: none;
    font-size: 0.9rem;
}

.login-links a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .haro-character {
        right: -120px;
        transform: translateY(-60%) scale(0.6);
        position: relative;
    }
}

/* Styles pour les fils d'Ariane (breadcrumbs) */
.breadcrumb {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #10b981;
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #999;
}

@media (max-width: 768px) {
    .breadcrumb {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
}