a{
    text-decoration: none;
}



/* Importation d'une police plus moderne */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

body {
    background-color: #f8f9fa; /* Gris très clair pour faire ressortir les cartes blanches */
    font-family: 'Inter', sans-serif;
    color: #333;
    background-image: url(img/nova_logo_noir.jpg);
}

/* --- Cartes d'articles --- */
.card {
    border: none;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

/* Effet au survol pour inciter au clic */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}

.card-img-top {
    height: 220px;
    object-fit: cover; /* Évite de déformer les images */
}

.card-title {
    font-weight: 800;
    line-height: 1.3;
    color: #1a1a1a;
}

/* --- Barre latérale (Sidebar) --- */
.sidebar-card {
    border-left: 4px solid #dc3545; /* Rappel de la couleur accent (rouge) */
    background-color: #fff;
}

.sidebar-card h5 {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    font-weight: 700;
    color: #6c757d;
}

/* --- Boutons personnalisés --- */
.btn-premium {
    background: linear-gradient(135deg, #1a1a1a 0%, #434343 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-premium:hover {
    background: #000;
    color: #fff;
   
}

/* ############################ */
/* news */
/* ############################ */

.news-cont .box{
    width: 50%;
    position: relative;
    overflow: hidden;
}
.box img:hover{
    border: #ff0019 solid 2px;
}
.news-cont .box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-cont .box .content{
    position: absolute;
    top: -100%;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: hsl(0, 0%, 91%,0.5);
    overflow: hidden;
    transition: .2s ease-in-out;
}

/* --- Footer --- */
footer {
    border-top: 1px solid #333;
}



/* Custom styles for footer and general tweaks */
footer {
    background-color: #343a40;
    color: #fff;
}

footer a {
    color: #adb5bd;
}

footer a:hover {
    color: #fff;
    text-decoration: none;
}

/* ensure footer doesn't stick to content */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}
