/* --- Variables de base (Rappel) --- */
:root {
    --gold: #c5a059;
    --dark-gold: #8f6b1e;
    --deep-black: #0a0a0a;
    --bg-gradient: linear-gradient(135deg, #0f0f0f 0%, #050505 100%);
}

* {margin: 0; padding: 0; box-sizing: border-box;}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--deep-black);
    color: #eee;
    line-height: 1.6;
}

/* --- Container Principal --- */
.veille-container {
    padding: 10rem 2rem 5rem;
    max-width: 1100px;
    margin: 0 auto;
    min-height: 100vh;
}

/* --- Header de l'Observatoire --- */
.archive-header {
    text-align: center;
    margin-bottom: 5rem;
}

.archive-header h1 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 3rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(197, 160, 89, 0.3);
}

.header-ornament {
    color: var(--dark-gold);
    letter-spacing: 15px;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.archive-header p {
    font-family: 'Montserrat', sans-serif;
    color: #cfc6b2;
    font-style: italic;
    letter-spacing: 1px;
}

/* --- Sections Communes --- */
.veille-section {
    margin-bottom: 6rem;
}

.veille-section h2 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 20px;
}

.veille-section h2::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(143, 107, 30, 0.5), transparent);
}

/* --- Grille de Méthodologie --- */
.methodo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.methodo-card {
    background: rgba(20, 20, 20, 0.6);
    padding: 2.5rem;
    border: 1px solid rgba(143, 107, 30, 0.1);
    border-radius: 4px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    padding-top: 3.5rem; /* Espace pour le numéro */
}

.methodo-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--dark-gold);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.methodo-card:hover {
    transform: translateY(-10px);
    border-color: rgba(197, 160, 89, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: rgba(30, 30, 30, 0.8);
}

.methodo-card:hover::before {
    transform: scaleX(1);
}

.step-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: rgba(197, 160, 89, 0.15);
    font-weight: 700;
    transition: color 0.3s ease;
}

.methodo-card:hover .step-number {
    color: rgba(197, 160, 89, 0.6);
}

.methodo-card i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    display: block;
}

.methodo-card h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.methodo-card p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #cfc6b2;
}

/* --- Liste des Thématiques (Axes) --- */
.theme-item {
    background: linear-gradient(90deg, rgba(143, 107, 30, 0.05), transparent);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--dark-gold);
    border-radius: 0 4px 4px 0;
    transition: all 0.3s ease;
}

.theme-item:hover {
    background: linear-gradient(90deg, rgba(143, 107, 30, 0.15), transparent);
    border-left-color: var(--gold);
    padding-left: 2.5rem;
}

.theme-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.theme-icon {
    font-size: 1.8rem;
}

.theme-header h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    margin: 0;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.theme-item p {
    color: #cfc6b2;
    font-size: 1rem;
    max-width: 800px;
}

/* --- Section Documentation & Bouton --- */
.doc-link {
    text-align: center;
    padding: 4rem;
    background: rgba(143, 107, 30, 0.03);
    border: 1px dashed rgba(143, 107, 30, 0.2);
}

.doc-link h2::after {
    display: none; 
}

.btn-veille {
    display: inline-block;
    margin-top: 2rem;
    padding: 1.2rem 2.5rem;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-veille::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 100%;
    background: var(--gold);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-veille:hover {
    color: #000;
    box-shadow: 0 0 25px rgba(197, 160, 89, 0.5);
}

.btn-veille:hover::after {
    width: 100%;
}

/* --- Sources --- */
.sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.source-card {
    background: rgba(10, 10, 10, 0.4);
    border: 1px solid rgba(143, 107, 30, 0.1);
    padding: 2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    border-top: 3px solid var(--dark-gold);
}

.source-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--gold);
    background: rgba(143, 107, 30, 0.05);
}

.source-category {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--gold);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.8rem;
}

.source-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #fff;
}

.source-card p {
    font-size: 0.85rem;
    color: #cfc6b2;
    line-height: 1.5;
}

.architecture-focus {
    border-color: var(--gold) !important;
    background: rgba(197, 160, 89, 0.08) !important;
    position: relative;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.1);
}

.architecture-focus::after {
    content: "✦ Source d'Expertise";
    position: absolute;
    top: -10px;
    right: 15px;
    background: var(--gold);
    color: #000;
    font-size: 0.6rem;
    padding: 2px 8px;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    border-radius: 2px;
}

/* --- Curation --- */
.articles-curation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 2rem;
}

.curation-card {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid rgba(143, 107, 30, 0.2);
    padding: 2rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.curation-card:hover {
    border-color: var(--gold);
    background: rgba(143, 107, 30, 0.08);
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.source-badge {
    background: var(--dark-gold);
    color: #000;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 3px 10px;
    text-transform: uppercase;
}

.date-badge {
    color: rgba(197, 160, 89, 0.6);
    font-size: 0.75rem;
    font-family: 'Cinzel', serif;
}

.curation-card h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.curation-card p {
    color: #cfc6b2;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    text-decoration: none;
    color: var(--gold);
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.read-more:hover {
    color: #fff;
    text-shadow: 0 0 8px var(--gold);
}

/* ==========================================================================
   MODIFS RESPONSIVE (Optimisées)
   ========================================================================== */
@media (max-width: 768px) {
    .veille-container { padding: 7rem 1.5rem 3rem; }
    
    .archive-header h1 { font-size: 2rem; letter-spacing: 3px; }
    .header-ornament { letter-spacing: 8px; font-size: 1rem; }
    
    .veille-section h2 { font-size: 1.4rem; flex-wrap: wrap; }
    .veille-section h2::after { display: none; } /* On cache la ligne sur mobile */

    /* Passage en colonne unique forcée pour toutes les grilles */
    .methodo-grid, 
    .sources-grid, 
    .articles-curation {
        grid-template-columns: 1fr;
    }

    .methodo-card { padding: 2rem 1.5rem; }
    
    .theme-item { padding: 1.5rem; }
    .theme-item:hover { padding-left: 1.8rem; }
    .theme-header h3 { font-size: 1.2rem; }

    .doc-link { padding: 2rem 1rem; }
    .btn-veille { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
    .archive-header h1 { font-size: 1.7rem; }
    .card-header { flex-direction: column; align-items: flex-start; gap: 10px; }
}