/* AT-NEXUS GLOBAL STYLESHEET
   Design by Attraction Tech Concept - 2026
   Vibe: Visceral, Organic, High-Tech Africa
*/

:root {
    --at-orange: #ff4d00;
    --at-black: #0a0a0c;
    --at-dark-gray: #141417;
    --at-text: #e2e8f0;
    --at-text-dim: #94a3b8;
    --font-main: 'Inter', sans-serif;
    --font-title: 'Syncopate', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* background-color: var(--at-black); */
    color: var(--at-text);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(255, 77, 0, 0.05) 0%, transparent 80%),
        url('https://grainy-gradients.vercel.app/noise.svg'); /* Texture de grain */
    background-attachment: fixed;
}

/* TYPOGRAPHIE */
h1, h2, h3, .at-font {
    font-family: var(--font-title);
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.text-orange { color: var(--at-orange); }
.bg-orange { background-color: var(--at-orange); }

/* LAYOUT GÉNÉRAL */
.container-at {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAVIGATION AT-NEXUS */
.nav-nexus {
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-at {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--at-orange);
    text-decoration: none;
}

.nav-links a {
    color: var(--at-text);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 2.5rem;
    letter-spacing: 0.2em;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--at-orange);
}

/* CARDS AT-STYLE (SANS CLICHÉS ILLUMINÉS) */
.at-card {
    background: var(--at-dark-gray);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0;
    transition: var(--transition);
    position: relative;
}

.at-card:hover {
    border-color: var(--at-orange);
    transform: translateY(-5px);
}

.at-card-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    filter: grayscale(20%);
}

.at-card-content {
    padding: 1.5rem;
}

.at-category-tag {
    background: var(--at-orange);
    color: white;
    font-size: 10px;
    font-weight: 900;
    padding: 4px 8px;
    display: inline-block;
    margin-bottom: 1rem;
}

/* SECTIONS SPÉCIALES */
.section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    border-left: 5px solid var(--at-orange);
    padding-left: 1.5rem;
}

/* BOUTONS ORGANIQUES */
.btn-at {
    background: transparent;
    border: 2px solid var(--at-orange);
    color: white;
    padding: 0.8rem 2rem;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-at:hover {
    background: var(--at-orange);
    letter-spacing: 2px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .section-title { font-size: 1.5rem; }
}

/* EFFET DE GRAIN (POUR LE CÔTÉ VISCÉRAL) */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
}
/* Animation pour le tri des articles */
.article-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}