
body {
    background-color: #000000; /* Fond noir profond */
    color: #ffffff; /* Couleur de texte par défaut (juste au cas où) */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 40px 20px;
}

h1 {
    text-align: center;
    color: #76B900; 
    font-size: 2.5rem;
    margin-bottom: 40px;
}


.grille-hardware {
    display: grid;
    
    grid-template-columns: repeat(auto-fit, minmax(280px, 350px));
    gap: 30px; 
    max-width: 1200px;
    margin: 0 auto; 
    justify-content: center;
}


.carte {
    background-color: #ffffff; 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease; 
    
    
    border: 3px solid #76B900; 
}


.carte:hover {
    transform: translateY(-5px); 
    box-shadow: 0 8px 25px rgba(118, 185, 0, 0.5); 
}


.carte img {
    width: 100%;
    height: 200px;
    object-fit: cover; 
    display: block;
    border-bottom: 3px solid #76B900; 
}


.carte-contenu {
    padding: 20px;
}

.carte-contenu h2 {
    margin: 0 0 10px 0;
    color: #000000; 
    font-size: 1.4rem;
}

.carte-contenu p {
    margin: 0;
    color: #000000; 
    font-size: 0.95rem;
    line-height: 1.4;
}

/* --- LE STYLE DES LIENS --- */
.lien-carte {
    text-decoration: none; 
    color: inherit;        
    display: block;        
}