/* Styles pour la section Web3/Blockchain */
.web3-blockchain {
    padding: 120px 20px;
    position: relative;
    background-color: #000;
    overflow: visible;
    z-index: 0; /* Valeur neutre pour permettre le positionnement correct */
    margin-bottom: -300px; /* Permet au fond de s'étendre davantage sous la section roadmap */
}

.web3-blockchain::after {
    content: '';
    position: absolute;
    bottom: -1200px; /* Extension encore plus importante du fond noir */
    left: 0;
    width: 100%;
    height: auto;
    background-color: #000;
    z-index: -1; /* Valeur négative pour que l'extension passe sous la roadmap */
}

.web3-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    position: relative;
    overflow: visible;
}

.web3-image {
    flex: 0 1 100%;
    min-width: 300px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 30%;
    overflow: visible;
    z-index: 3;
    margin: -100px auto;
    right: auto;
}

.web3-image .main-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    position: relative;
    z-index: 2;
    filter: none !important;
    box-shadow: none !important;
    background: none !important;
    -webkit-filter: none !important;
    object-fit: cover;
    display: block; /* Afficher l'image */
}

.blue-curve {
    position: absolute;
    top: -50px;
    right: -20px;
    width: 100px;
    height: 100px;
    background-image: url('../Icons/blue-curve.svg');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 3;
}

/* Styles pour le texte blockchain */
.web3-blockchain .big-words {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 20vw;
    line-height: 0.85;
    letter-spacing: -0.02em;
    background: transparent;
    color: transparent;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    -webkit-text-stroke: 2px rgb(255, 255, 255);
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: left;
    margin-bottom: 0;
    display: block;
    overflow: visible;
}

.web3-blockchain .blockchain-highlight {
    color: #FFFFFF;
    -webkit-text-stroke: 0;
}

/* Styles pour les colonnes de texte */
.web3-text-columns {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: -60px;
}

.web3-text-left {
    flex: 0 1 60%;
    min-width: 300px;
    position: relative;
    z-index: 2;
    max-width: 500px;
}

.web3-text-right {
    flex: 0 1 40%;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.crypto-word {
    text-align: right;
    font-size: 18vw;
    -webkit-text-stroke: 2px rgb(255, 255, 255);
    color: transparent;
    line-height: 0.85;
}

/* Styles pour ⎯ Joyviac */
.web3-blockchain .joyviac-tag {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0.02em;
    background: transparent;
    color: #FFFFFF;
    margin: 15px 0 35px 0;
   position: relative;
    padding-left: 5px;
}

/* Styles pour : Façonner l'avenir du numérique ⎯ */
.web3-blockchain .web3-description {
    margin-top: 30px;
    width: 100%;
    position: relative;
    gap: 40px;
}

.web3-blockchain .web3-description h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    font-size: 52px;
    line-height: 1;
    letter-spacing: 0;
    background: transparent;
    color: #FFFFFF;
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0 0 15px rgba(105, 56, 239, 0.3);
}

/* Styles pour Web3, Blockchain et Crypto en pleine évolution */
.web3-blockchain .web3-description p {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    font-size: 52px;
    line-height: 1;
    letter-spacing: 0;
    background: transparent;
    color: #FFFFFFB2;
    text-transform: uppercase;
    margin-top: 10px;
    position: relative;
    text-shadow: 0 0 10px rgba(105, 56, 239, 0.2);
}

/* Styles responsifs */
@media (max-width: 1200px) {
    .web3-blockchain .big-words {
        font-size: 20vw;
        line-height: 0.9;
    }
    
    .web3-blockchain .blockchain-highlight {
        display: inline-block;
    }
    
    .web3-blockchain .web3-description h2 {
        font-size: 42px;
    }
    
    .web3-blockchain .web3-description p {
        font-size: 16px;
    }
    
    .web3-image {
        max-width: 45%;
    }
}

@media (max-width: 992px) {
    .web3-content {
        flex-direction: column;
    }
    
    .web3-text-columns {
        flex-direction: column;
        padding-top: 50px;
    }
    
    .web3-text-left, .web3-text-right, .web3-image {
        max-width: 100%;
        width: 100%;
    }
    
    .web3-blockchain .big-words {
        font-size: 20vw;
        text-align: center;
        line-height: 1;
    }
    
    .web3-blockchain .blockchain-highlight {
        display: inline-block;
    }
    
    .crypto-word {
        text-align: center;
        margin-top: 10px;
    }
    
    .web3-blockchain .web3-description h2 {
        font-size: 36px;
        text-align: center;
    }
    
    .web3-blockchain .web3-description p {
        font-size: 16px;
        text-align: center;
    }
    
    .web3-blockchain .joyviac-tag {
        text-align: center;
        margin: 15px 0;
    }
    
    .web3-image {
        margin-top: 30px;
        margin-bottom: 30px;
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .web3-blockchain {
        top: 30px;
        padding: 80px 20px;
    }
    
    .web3-image {
        position: relative;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 40px;
        margin-bottom: 40px;
    }
    
    .web3-blockchain .big-words {
        font-size: 18vw;
        line-height: 1;
        text-align: center;
        margin-bottom: 20px;
        width: 100%;
        display: block;
    }
    
    .web3-blockchain .blockchain-highlight {
        display: block;
        margin: 10px 0;
    }
    
    .crypto-word {
        margin-top: 20px;
        text-align: center;
        font-size: 16vw;
    }
    
    .web3-blockchain .web3-description h2 {
        font-size: 32px;
        text-align: center;
    }
    
    .web3-blockchain .web3-description p {
        font-size: 16px;
        line-height: 1.4;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .web3-blockchain {
        padding: 60px 20px;
    }
    
    .web3-blockchain .big-words {
        font-size: 16vw;
        line-height: 1.2;
        margin-bottom: 10px;
    }
    
    .web3-blockchain .blockchain-highlight {
        display: block;
        margin: 5px 0;
    }
    
    .crypto-word {
        margin-top: 10px;
        text-align: center;
    }
    
    .web3-blockchain .web3-description h2 {
        font-size: 28px;
    }
    
    .web3-blockchain .web3-description p {
        font-size: 14px;
    }
    
    .web3-blockchain .joyviac-tag {
        font-size: 14px;
        margin: 20px 0;
    }
    
    .blue-curve {
        width: 80px;
        height: 80px;
        top: -20px;
        right: -20px;
    }
}