:root {
    --primary-color: #f39c12;
    --primary-dark: #d35400;
    --secondary-color: #2c3e50;
    --accent-purple: #8e44ad;
    --accent-blue: #3498db;
    --text-main: #2c3e50;
    --text-muted: #7f8c8d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --btn-grad: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    --purple-grad: linear-gradient(135deg, #8e44ad 0%, #673ab7 100%);
}

/* Base resets & typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-main);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    z-index: 1000;
    padding: 10px 0;
}

nav .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-btn-highlight {
    background: var(--btn-grad);
    color: white !important;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    transition: transform 0.3s, box-shadow 0.3s !important;
}

.nav-btn-highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

/* Hero Section */
.hero {
    background: var(--purple-grad);
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

/* Homepage Grid */
.home-main-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin-top: -60px;
}

.ebook-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 30px;
}

.ebook-img {
    width: 250px;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: #f9f9f9;
}

.ebook-content h2 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.ebook-content ul {
    list-style: none;
    margin-bottom: 20px;
}

.ebook-content li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.ebook-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Opt-in Widget */
.opt-in-widget {
    background: #e3f2fd;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.opt-in-widget h3 {
    margin-bottom: 20px;
    color: #1565c0;
}

.opt-in-form-vertical {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.opt-in-form-vertical input {
    padding: 15px;
    border: 1px solid #bbdefb;
    border-radius: 10px;
    font-size: 1rem;
}

.opt-in-form-vertical .btn {
    padding: 15px;
    background: var(--btn-grad);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
}

/* Team Section */
.team-section {
    background: #e8f5e9;
    padding: 80px 0;
}

.team-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.team-img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid white;
    box-shadow: var(--shadow-md);
}

/* Espacement pour les boutons "Lire la suite" */
.team-text .btn-secondary {
    margin-top: 30px;
    display: inline-block;
}

/* Article Feed */
.articles-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.article-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-info p {
    flex-grow: 1;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.article-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-info {
    padding: 25px;
}

.article-cat {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.article-info h3 {
    margin: 10px 0;
    font-size: 1.25rem;
}

/* Footer */
.main-footer {
    background: var(--secondary-color);
    color: white;
    padding: 80px 0 0;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-brand .footer-logo img {
    height: 45px;
    width: auto;
    margin-bottom: 20px;
}

.footer-tagline {
    color: #bdc3c7;
    margin-bottom: 25px;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s, transform 0.3s;
}

.footer-socials a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-socials svg {
    width: 20px;
    height: 20px;
}

.footer-nav h4,
.footer-legal h4 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-nav ul,
.footer-legal ul {
    list-style: none;
}

.footer-nav li,
.footer-legal li {
    margin-bottom: 12px;
}

.footer-nav a,
.footer-legal a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover,
.footer-legal a:hover {
    color: white;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: #7f8c8d;
    font-size: 0.85rem;
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: span 2;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .home-main-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow-md);
        gap: 15px;
        z-index: 1001;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--secondary-color);
        margin: 5px 0;
        transition: 0.3s;
    }

    .ebook-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .team-container {
        flex-direction: column;
        text-align: center;
    }
}

/* Cookie Banner Styles */
#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--secondary-color);
    color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    justify-content: center;
}

.cookie-content {
    max-width: 1000px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
}

.cookie-buttons .btn-primary {
    background: var(--primary-color);
    color: white;
}

.cookie-buttons .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}

.cookie-buttons .btn-secondary {
    background: #6c757d;
    color: white;
}

.cookie-buttons .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

/* Article styles */
.post-content p {
    margin-bottom: 1.5em;
    line-height: 1.6;
}

.post-content p:last-child {
    margin-bottom: 0;
}

/* Style pour les liens dans les articles */
.post-content a {
    color: #007bff;
    text-decoration: underline;
    text-decoration-color: rgba(0, 123, 255, 0.3);
    text-underline-offset: 3px;
    transition: all 0.2s ease;
}

.post-content a:hover {
    color: #0056b3;
    text-decoration-color: #007bff;
    text-decoration-thickness: 2px;
}

/* Style pour les étiquettes */
.post-tags {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 16px;
    margin-top: 2em;
    font-size: 0.9em;
}

.post-tags:before {
    content: "Étiquettes : ";
    font-weight: 600;
    color: #495057;
    margin-right: 8px;
}

.tag {
    display: inline-block;
    background-color: #e9ecef;
    padding: 4px 12px;
    margin: 0 4px 4px 0;
    border-radius: 20px;
    font-size: 0.85em;
    color: #495057;
}

/* Style pour la catégorie */
.category {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
}

/* Style moderne pour les images dans les articles */
.post-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2em auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.post-content img:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

/* Images alignées à gauche ou à droite */
.post-content img.align-left {
    float: left;
    margin: 1em 2em 1em 0;
    max-width: 50%;
}

.post-content img.align-right {
    float: right;
    margin: 1em 0 1em 2em;
    max-width: 50%;
}

/* Légendes pour les images */
.post-content figure {
    margin: 2.5em auto;
    text-align: center;
    max-width: 100%;
}

.post-content figure img {
    margin: 0 auto;
}

.post-content figcaption {
    font-size: 0.9em;
    color: #6c757d;
    margin-top: 0.75em;
    font-style: italic;
    line-height: 1.4;
    padding: 0 1em;
}

/* Images pleine largeur */
.post-content img.full-width {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    margin: 2.5em 0;
}

/* Images avec bordure stylisée */
.post-content img.bordered {
    border: 3px solid #f8f9fa;
    padding: 8px;
    background-color: white;
}

/* Style amélioré pour l'image de couverture */
.post-cover-image {
    max-width: 100%;
    max-height: 400px;
    height: auto;
    width: 100%;
    display: block;
    margin: 2em auto 3em;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-cover-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* Conteneur pour mieux intégrer l'image avec le texte */
.post-cover-container {
    position: relative;
    margin: 2em 0 3em;
    overflow: hidden;
    border-radius: 12px;
}

/* Style pour l'intégration fluide avec le texte */
.post-content .post-cover-container+* {
    margin-top: 0;
}

/* Effet de superposition subtile */
.post-cover-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.9), transparent);
    pointer-events: none;
}

/* Styles pour les crédits d'images */
.image-credit {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-style: italic;
    z-index: 2;
    max-width: 80%;
    text-align: right;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.image-credit:hover {
    background: rgba(0, 0, 0, 0.85);
    transform: translateY(-2px);
}

.image-credit a {
    color: #80d0ff;
    text-decoration: none;
    font-weight: 500;
}

.image-credit a:hover {
    color: #4db8ff;
    text-decoration: underline;
}

/* Style pour les crédits dans le contenu (fallback) */
.post-content .image-credit-fallback {
    text-align: right;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 10px;
    margin-bottom: 30px;
    padding-right: 20px;
    border-right: 3px solid #eee;
}

.post-content .image-credit-fallback a {
    color: #007bff;
    text-decoration: none;
}

.post-content .image-credit-fallback a:hover {
    text-decoration: underline;
}

/* Styles pour les liens de catégories */
.category-link {
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-link:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
}

.category-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 86, 179, 0.2);
}

/* Styles pour la page d'article avec sidebar */
.post-page .container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    margin-top: 40px;
}

.post-main-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.post-content-with-sidebar {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.post-sidebar {
    position: sticky;
    top: 80px;
    height: fit-content;
}

/* Widgets de la sidebar */
.sidebar-widget {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 25px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-gray);
}

/* Widget d'opt-in dans la sidebar */
.opt-in-sidebar {
    background: linear-gradient(135deg, #0d47a1, #1565c0);
    color: white;
    border: none;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(13, 71, 161, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.15);
    padding: 20px;
}

.opt-in-sidebar h3 {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    margin-bottom: 15px;
    padding-bottom: 12px;
}

.opt-in-sidebar p {
    color: rgba(255, 255, 255, 1);
    margin-bottom: 25px;
    font-size: 1.15rem;
    line-height: 1.5;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.3px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    border-radius: 10px;
    border-left: 4px solid #ffd600;
}

.opt-in-sidebar h3 {
    color: white;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.opt-in-sidebar p {
    color: #ffffff;
    margin-bottom: 25px;
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 12px;
    letter-spacing: 0.3px;
    border-left: 4px solid var(--primary-color);
}

.opt-in-sidebar .opt-in-form-vertical {
    gap: 15px;
}

.opt-in-sidebar .opt-in-form-vertical input {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--dark);
}

.opt-in-sidebar .opt-in-form-vertical input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.opt-in-sidebar .btn {
    background: var(--btn-grad);
    color: white;
    border: none;
    font-weight: bold;
    padding: 15px 25px;
    font-size: 1rem;
    margin-top: 10px;
}

.opt-in-sidebar .btn:hover {
    background: linear-gradient(135deg, #ff7b00, #ff5500);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

/* Widget de catégorie */
.category-widget {
    text-align: center;
}

.category-link-large {
    display: inline-block;
    background: linear-gradient(135deg, #e65100, #ff6f00);
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    margin: 15px 0;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(230, 81, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.category-link-large:hover {
    background: linear-gradient(135deg, #d84315, #ff5722);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(216, 67, 21, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.category-description {
    margin-top: 15px;
    font-size: 0.95rem;
    color: var(--gray);
}

.category-description a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.category-description a:hover {
    text-decoration: underline;
}

/* Liste des articles récents */
.recent-articles {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-articles li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--light-gray);
}

.recent-articles li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-articles a {
    color: var(--dark);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
    display: block;
    transition: color 0.2s ease;
}

.recent-articles a:hover {
    color: var(--primary);
}

/* Liste des catégories */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list a {
    color: var(--dark);
    text-decoration: none;
    font-size: 1rem;
    padding: 12px 16px;
    border-radius: 10px;
    display: block;
    transition: all 0.3s ease;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.category-list a:hover {
    background: linear-gradient(135deg, var(--primary), #0056b3);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.2);
    border-color: var(--primary);
}

/* Amélioration du widget de catégorie */
.category-widget {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin-bottom: 25px;
}

.category-widget h3 {
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.category-widget p {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive design pour les articles avec sidebar */
@media (max-width: 992px) {

    .post-page .container,
    .post-main-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .post-sidebar {
        position: static;
        order: -1;
        /* Met la sidebar en premier sur mobile */
    }

    .post-content-with-sidebar {
        padding: 30px;
    }

    .sidebar-widget {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .post-content-with-sidebar {
        padding: 20px;
    }

    .sidebar-widget {
        padding: 18px;
    }

    .opt-in-sidebar .btn {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
}

/* Style responsive pour les images */
@media (max-width: 768px) {

    .post-content img.align-left,
    .post-content img.align-right {
        float: none;
        margin: 1.5em auto;
        max-width: 100%;
    }

    .post-cover-image {
        max-height: 300px;
        margin: 0 auto 2em;
        border-radius: 12px;
    }

    .post-content img {
        margin: 1.5em auto;
        border-radius: 10px;
    }
}

/* Style pour les listes dans les articles */
.post-content ul,
.post-content ol {
    margin: 1.5em 0;
    padding-left: 2em;
    line-height: 1.6;
    list-style: none;
    /* Supprime les puces/numéros par défaut pour utiliser les marqueurs personnalisés */
}

.post-content li {
    margin-bottom: 0.75em;
    position: relative;
}

.post-content ul li:before {
    content: "•";
    color: #007bff;
    font-weight: bold;
    position: absolute;
    left: -1.2em;
}

.post-content ol {
    counter-reset: item;
}

.post-content ol li {
    counter-increment: item;
}

.post-content ol li:before {
    content: counter(item) ".";
    color: var(--primary-color);
    font-weight: 700;
    position: absolute;
    left: -1.8em;
    min-width: 1.5em;
    text-align: right;
    text-shadow: none;
    z-index: 1;
    background: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Listes imbriquées */
.post-content ul ul,
.post-content ol ol,
.post-content ul ol,
.post-content ol ul {
    margin: 0.75em 0 0.75em 1.5em;
    font-size: 0.95em;
}

/* CTA pour articles sur l'entrepreneuriat */
.entrepreneurship-cta {
    background-color: #f8f9fa;
    border: 2px solid #007bff;
    border-radius: 12px;
    padding: 24px;
    margin: 2.5em 0;
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.1);
}

.entrepreneurship-cta h3 {
    color: #007bff;
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.4em;
}

.entrepreneurship-cta p {
    margin-bottom: 12px;
    line-height: 1.5;
}

.entrepreneurship-cta ul {
    margin: 16px 0;
    padding-left: 24px;
}

.entrepreneurship-cta li {
    margin-bottom: 8px;
    line-height: 1.4;
}

.entrepreneurship-cta .btn {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 16px;
    transition: all 0.3s ease;
}

.entrepreneurship-cta .btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 86, 179, 0.2);
}

.entrepreneurship-cta .cta-note {
    font-size: 0.9em;
    color: #6c757d;
    margin-top: 16px;
    font-style: italic;
}

/* Styles pour le bouton du formulaire de contact */
.contact-form .btn {
    padding: 18px 36px;
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    margin: 20px auto;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

.contact-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.4);
    background: linear-gradient(135deg, #0056b3, #004085);
}

.contact-form .btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* Styles pour les liens de l'ebook sur l'accueil */
.ebook-link {
    display: block;
    transition: transform 0.3s ease;
}

.ebook-link:hover {
    transform: scale(1.02);
}

.ebook-title-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.ebook-title-link:hover h2 {
    color: var(--primary);
}