











/* 2. SECTION HÉROS (IMAGE DE FOND) */

.ark-hero {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url('../images/ArkFond3.jpg'); 
    background-size: cover;
    margin: 0;
    background-attachment: fixed;
   
    /* AJOUTS POUR L'ALIGNEMENT */
    display: flex;
    flex-wrap: wrap;       /* Permet de passer à la ligne (3 blocs dessus, 3 dessous) */
    justify-content: center; /* Centre les blocs horizontalement */
    gap: 5px;  
    padding: 5px;
    box-sizing: border-box;          /* Espace régulier entre les blocs */
    padding-top: 200px;
    align-items: stretch; /* Uniformise la hauteur */
   
   
}



.box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 255, 255, 0.3); 
    border-left: 2px solid #00d1ff;
    border-radius: 15px;
    color: #ffffff;
    padding: 10px;
    scroll-margin-top: 180px; /* Ajuste selon la hauteur du header */


   /* FORCE 3 COLONNES : calc(33.33% - l'espace du gap) */
    flex: 0 0 calc(20% - 40px); 
    
    /* On fixe la hauteur pour l'uniformité */
    height: 200px; /* ou la valeur que tu veux */
    
    /* Important pour que le padding ne fasse pas grossir la boîte */
    box-sizing: border-box; 

    overflow-y: auto;
    /* Style de la boîte mis à jour pour aligner le bouton en bas */

    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Aligne le contenu en haut */
    position: relative;
    padding: 10px;
    scroll-margin-top: 180px;
    
  

    
}

/* Le conteneur de votre bouton */
.votre-bloc-parent {
    display: flex;
    flex-direction: column;
    height: 100%; /* Important pour que le bloc ait une hauteur définie */
}


        
.ark-hero p {
    font-size: 0.9rem;
    margin-top: 5px;
    text-align: left;
}
 #ligne {
    text-align: center;
    color: rgb(0, 255, 128);
 }
 .ark-hero h3 {
    font-size: 1.2rem;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.8);
   
    padding-bottom: 2px;
    text-align: center;
}
.ark-hero h4 {
    font-size: 0.9rem;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.8);
    padding-bottom: 2px;
}   
     

.box::-webkit-scrollbar {
    width: 6px;
}

.box::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.box::-webkit-scrollbar-thumb {
    background: #00d1ff;
    border-radius: 10px;
}




/* Style du bouton Ark */
.ark-btn {
    display: block;
    margin-top: auto; /* Pousse le bouton vers le bas de la box */
    background: rgba(0, 209, 255, 0.2);
    color: #00d1ff;
    text-decoration: none;
    text-align: center;
    padding: 5px;
    border: 1px solid #00d1ff;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.ark-btn:hover {
    background: #00d1ff;
    color: #000;
    box-shadow: 0 0 5px rgba(0, 209, 255, 0.6);
}



/* Tablette : on passe à 2 colonnes si l'écran est trop petit */
@media (max-width: 1100px) {
    .box {
        flex: 0 0 calc(50% - 20px);
    }
}

/* Mobile : 1 seule colonne */
@media (max-width: 700px) {
    .box {
        flex: 0 0 100%;
    }
}