/* ============================================================
   trajectoires_index.css — page racine /trajectoires/
   Narration commerciale + accès aux deux publications.
   Spécifique à cette page (cf. AGENTS.md § Versioning).
   ============================================================ */

/* ── HERO ─────────────────────────────────────────────────── */
.traj-hero {
    padding: 11rem 2rem 5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
}

.traj-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 30%, rgba(53, 152, 192, 0.18), transparent 45%),
        radial-gradient(circle at 82% 70%, rgba(121, 167, 155, 0.14), transparent 50%);
    pointer-events: none;
}

.traj-hero-inner {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.traj-hero-kicker {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--accent-data);
    margin-bottom: 1.25rem;
}

.traj-hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 900;
    color: white;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.traj-hero h1 .accent {
    background: linear-gradient(135deg, var(--accent-data), var(--accent-territory));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.traj-hero-lead {
    font-size: 1.2rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.82);
    max-width: 680px;
    margin-bottom: 2.5rem;
}

.traj-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 720px;
}

.traj-stat .val {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-data), var(--accent-territory));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.traj-stat .lbl {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.5rem;
    line-height: 1.4;
}

/* ── SECTION PUBLICATIONS ─────────────────────────────────── */
.traj-section {
    padding: 5rem 2rem;
    background: var(--bg-main);
}

.traj-section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.traj-section-kicker {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-data);
    margin-bottom: 0.75rem;
}

.traj-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    color: var(--primary);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.traj-section-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--secondary);
    max-width: 620px;
    margin-bottom: 3rem;
}

/* ── GRILLE PUBLICATIONS ──────────────────────────────────── */
.traj-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
}

.traj-card {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid rgba(14, 62, 73, 0.08);
    border-radius: 14px;
    padding: 2.25rem 2rem;
    text-decoration: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

.traj-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--accent-data), var(--accent-territory));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.traj-card:hover {
    border-color: rgba(53, 152, 192, 0.28);
    box-shadow: 0 10px 30px rgba(14, 62, 73, 0.10);
}

.traj-card:hover::before { opacity: 1; }

.traj-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-territory);
    margin-bottom: 1rem;
}

.traj-card-tag .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent-territory);
}

.traj-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.traj-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    flex: 1;
}

.traj-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(14, 62, 73, 0.07);
}

.traj-card-meta span {
    font-size: 0.82rem;
    color: var(--secondary);
}

.traj-card-meta strong {
    color: var(--primary);
    font-weight: 600;
}

.traj-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--accent-data);
    text-transform: uppercase;
}

.traj-card-cta .arrow {
    transition: transform 0.25s ease;
}

.traj-card:hover .traj-card-cta .arrow {
    transform: translateX(4px);
}

/* ── SECTION NARRATIVE (méthode) ──────────────────────────── */
.traj-narrative {
    padding: 5rem 2rem;
    background: var(--primary);
    color: rgba(255, 255, 255, 0.85);
}

.traj-narrative-inner {
    max-width: 820px;
    margin: 0 auto;
}

.traj-narrative-kicker {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-territory);
    margin-bottom: 1rem;
}

.traj-narrative h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.4rem, 2.8vw, 1.9rem);
    font-weight: 800;
    color: white;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.traj-narrative p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.78);
}

.traj-narrative strong {
    color: var(--accent-data);
    font-weight: 600;
}

.traj-narrative-cite {
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    border-left: 3px solid var(--accent-territory);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 0 8px 8px 0;
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.68);
}

/* ── CTA FINAL ────────────────────────────────────────────── */
.traj-cta {
    padding: 4rem 2rem 5rem;
    background: var(--bg-main);
    text-align: center;
}

.traj-cta-inner {
    max-width: 640px;
    margin: 0 auto;
}

.traj-cta h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.4rem, 2.8vw, 1.9rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.traj-cta p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--secondary);
    margin-bottom: 2.25rem;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
    .traj-hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1.5rem; }
    .traj-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .traj-hero { padding: 9rem 1.5rem 4rem; }
    .traj-section,
    .traj-narrative,
    .traj-cta { padding: 4rem 1.5rem; }
    .traj-hero-stats { grid-template-columns: 1fr 1fr; }
}