/* =========================
   1. RESET PROPRE (NON DESTRUCTIF)
========================= */

/* Supprime uniquement les décorations parasites sur titres */
h1::before, h1::after,
h2::before, h2::after,
h3::before, h3::after {
    content: none !important;
    display: none !important;
}

/* =========================
   2. POLICE GLOBALE
========================= */

html, body {
    font-family: 'Inter', sans-serif !important;
    color: #1f2937;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* Force Inter dans Elementor */
.elementor *,
.elementor-widget-heading *,
.elementor-widget-text-editor * {
    font-family: 'Inter', sans-serif !important;
}

/* =========================
   3. TITRE ARTICLE
========================= */

h1.entry-title,
.elementor-widget-heading h1.elementor-heading-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    text-transform: none !important;
    margin-bottom: 20px;
}

/* =========================
   4. TITRES SECTIONS
========================= */

h2 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-top: 40px;
    margin-bottom: 15px;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 30px;
}

/* =========================
   5. TEXTE COURANT
========================= */

p {
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 16px;
}

/* =========================
   6. METADATA
========================= */

.entry-meta {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
}

/* =========================
   7. LIENS
========================= */

a {
    color: #1d4ed8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* =========================
   8. CORRECTION ELEMENTOR
========================= */

.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3 {
    text-transform: none !important;
}

/* =========================
   9. TIMELINE SAPERE
========================= */

.timeline {
    position: relative;
    margin: 40px 0;
    padding-left: 40px;
}

/* Ligne verticale */
.timeline::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #d1d5db;
}

/* Item */
.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

/* Point */
.timeline-item::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: white;
    border: 3px solid #4f46e5;
    border-radius: 50%;
}

/* Point actif */
.timeline-item.highlight::before {
    border-color: #dc2626;
}

/* Date */
.timeline-date {
    font-weight: 600;
    color: #f59e0b;
    margin-bottom: 5px;
    font-size: 14px;
}

/* Contenu */
.timeline-content {
    font-size: 16px;
    color: #374151;
}

/* Texte important */
.timeline-content strong {
    color: #111827;
}

/* =========================
   10. ESPACEMENT GLOBAL
========================= */

.elementor-section {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* =========================
   11. IMAGES
========================= */

img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* =========================
   12. TABLEAUX (optionnel)
========================= */

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

td, th {
    border: 1px solid #e5e7eb;
    padding: 10px;
}

th {
    background: #f9fafb;
    font-weight: 600;
}