/* Styles spécifiques à la page auteur - encapsulés */
.auteur-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.auteur-page {
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
}

.auteur-page .main {
    width: 780px;
    margin: 20px auto;
    padding: 20px;
}

@media (max-width: 1250px) {
    .auteur-page .main {
        width: 90%;
        margin: 10px auto;
    }
}

@media (max-width: 768px) {
    .auteur-page .main {
        width: 90%;
        margin: 0 auto;
        padding: 10px;
    }
}

/* Typographie */
.auteur-page h1 {
    font-size: 2em;
    color: darkorange;
    text-align: center;
    font-weight: 1000;
    margin-top: 63px;
    margin-bottom: 1%;
}

@media (min-width: 1200px) {
    .auteur-page h1 {
        margin-top: 75px;
    }
}

.auteur-page h2 {
    color: #2c3e50;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.auteur-page h3 {
    color: #2c3e50;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.2em;
}

/* Intro avec gradient */
.auteur-page .intro-section {
    background-color: #0046B5;
    color: white;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 40px;
    text-align: center;
    margin-top: 63px;
}

.auteur-page .intro-section h1 {
    color: white;
    margin-top: 0;
}

.auteur-page .intro-section .lead {
    font-size: 1.2em;
    margin-top: 20px;
    font-weight: 300;
}

/* Portrait section */
.auteur-page .portrait-section {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 40px 0;
}

@media (max-width: 768px) {
    .auteur-page .portrait-section {
        flex-direction: column;
        text-align: center;
    }
}

.auteur-page .portrait-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Info boxes */
.auteur-page .info-box {
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    position: relative;
    padding-left: 50px;
}

.auteur-page .info-box::before {
    position: absolute;
    left: 15px;
    top: 20px;
    font-size: 24px;
}

.auteur-page .info-box.essentiel {
    background-color: #fef5e7;
    border-left: 5px solid #f39c12;
}

.auteur-page .info-box.essentiel::before {
    content: "⭐";
}

.auteur-page .info-box.astuce {
    background-color: #e9f7ef;
    border-left: 5px solid #27ae60;
}

.auteur-page .info-box.astuce::before {
    content: "💡";
}

/* Stats section */
.auteur-page .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.auteur-page .stat-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auteur-page .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.auteur-page .stat-number {
    font-size: 2.5em;
    color: #0d6efd;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

/* Timeline */
.auteur-page .timeline {
    position: relative;
    padding-left: 40px;
    margin: 30px 0;
}

.auteur-page .timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #0d6efd;
}

.auteur-page .timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.auteur-page .timeline-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0d6efd;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #0d6efd;
}

.auteur-page .timeline-date {
    color: #0d6efd;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Expertise cards */
.auteur-page .expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.auteur-page .expertise-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.auteur-page .expertise-card:hover {
    border-color: #0d6efd;
    box-shadow: 0 8px 16px rgba(13, 110, 253, 0.1);
}

.auteur-page .expertise-icon {
    font-size: 3em;
    color: #0d6efd;
    margin-bottom: 15px;
}

/* CTA section */
.auteur-page .cta-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0046b5 100%);
    color: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-top: 50px;
}

.auteur-page .cta-section h2 {
    color: white;
    margin-top: 0;
}

.auteur-page .cta-button {
    display: inline-block;
    background: white;
    color: #0046b5;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.auteur-page .cta-button:hover {
    background: darkorange;
    color: white;
    transform: scale(1.05);
}

/* Listes stylisées */
.auteur-page ul {
    list-style: none;
    padding-left: 0;
}

.auteur-page ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.auteur-page ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* Liens */
.auteur-page a {
    color: #0d6efd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auteur-page a:hover {
    color: darkorange;
    text-decoration: underline;
}

/* Quote block */
.auteur-page .quote-block {
    background: #f8f9fa;
    border-left: 4px solid darkorange;
    padding: 20px 30px;
    margin: 30px 0;
    font-style: italic;
    position: relative;
}

.auteur-page .quote-block::before {
    content: """;
    font-size: 3em;
    color: darkorange;
    position: absolute;
    top: -10px;
    left: 10px;
}