* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f8ed;
    color: #333;
    overflow-x: hidden;
}

.header-reseaux {
    background-color: white;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 40px;
    height: 70px;
    gap: 30px;
}

.logo-box {
    flex-shrink: 0;
}

.img-logo {
    height: 50px;
    width: auto;
}

.main-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #558B2F;
    text-transform: none;
    margin: 0;
    flex: 1;
}

.icon-top {
    height: 35px;
    width: auto;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.icon-top:hover {
    transform: scale(1.1);
}

.networks-section {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 90px);
    background-image: url('imagereseaux.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    margin: 0;
}

.networks-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.network-card {
    position: relative;
    width: 320px;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.coming-soon-banner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, rgba(58, 107, 53, 0.98) 0%, rgba(74, 135, 68, 0.98) 100%);
    color: white;
    padding: 16px 48px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 10;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(76, 175, 80, 0.4);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.coming-soon-banner::before {
    content: "🍃";
    font-size: 1.8rem;
    opacity: 0.9;
    transform: scaleX(-1) rotate(-15deg);
    animation: sway-left 3s ease-in-out infinite;
}

.coming-soon-banner::after {
    content: "🍃";
    font-size: 1.8rem;
    opacity: 0.9;
    transform: rotate(15deg);
    animation: sway-right 3s ease-in-out infinite;
}

@keyframes sway-left {
    0%, 100% {
        transform: scaleX(-1) rotate(-15deg) translateY(0);
    }
    50% {
        transform: scaleX(-1) rotate(-15deg) translateY(-3px);
    }
}

@keyframes sway-right {
    0%, 100% {
        transform: rotate(15deg) translateY(0);
    }
    50% {
        transform: rotate(15deg) translateY(-3px);
    }
}

.floating-icon {
    font-size: 3rem;
    color: white;
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.card-image-box {
    width: 100%;
    height: 350px;
    background-color: white;
    border-radius: 20px;
    border: 3px solid #4CAF50;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: -25px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.network-card:hover .card-image-box {
    opacity: 0.8;
}

.screenshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    filter: blur(6px);
    transition: filter 0.3s ease;
}

.network-card:hover .screenshot-img {
    filter: blur(4px);
}

.network-btn {
    position: relative;
    background-color: #457e48;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, background 0.3s;
    z-index: 2;
}

.network-btn:hover {
    background-color: #365e3b;
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .header-content {
        padding: 0 25px;
    }

    .main-title {
        font-size: 2rem;
    }

    .networks-grid {
        gap: 50px;
        padding: 0 15px;
    }

    .network-card {
        width: 280px;
    }

    .card-image-box {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 0 20px;
        height: 60px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .img-logo {
        height: 40px;
    }

    .main-title {
        font-size: 1.5rem;
        order: -1;
        width: 100%;
    }

    .icons-box {
        gap: 10px;
    }

    .icon-top {
        height: 30px;
    }

    .networks-grid {
        flex-direction: column;
        align-items: center;
        gap: 60px;
        padding: 30px 15px;
    }

    .network-card {
        width: 100%;
        max-width: 300px;
    }

    .card-image-box {
        height: 300px;
    }

    .coming-soon-banner {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .floating-icon {
        font-size: 2.5rem;
    }

    .network-btn {
        font-size: 1rem;
        padding: 10px 25px;
    }
}

@media (max-width: 480px) {
    .networks-section {
        padding: 30px 0;
    }

    .header-content {
        padding: 0 15px;
        height: 50px;
    }

    .img-logo {
        height: 35px;
    }

    .main-title {
        font-size: 1.3rem;
    }

    .icon-top {
        height: 25px;
    }

    .networks-grid {
        gap: 40px;
        padding: 20px 10px;
    }

    .network-card {
        width: 90%;
        max-width: 280px;
    }

    .card-image-box {
        height: 280px;
        border-radius: 15px;
    }

    .coming-soon-banner {
        font-size: 0.9rem;
        padding: 8px 16px;
    }

    .floating-icon {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }

    .network-btn {
        font-size: 0.95rem;
        padding: 9px 22px;
    }
}