/* CSS professionnel pour les articles de blog SAV Phone and Pad */
/* Basé sur le design principal du site - Style épuré et moderne */

/* Police Hellix HSPremium pour cohérence avec le site */
/* ===================================
   BREADCRUMB NAVIGATION
   =================================== */
.breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
    padding: 0;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    text-decoration: underline;
    color: #0284C7;
}

.breadcrumb span {
    margin: 0 8px;
    color: #ccc;
}

/* ===================================
   CONTENEUR PRINCIPAL ARTICLE
   =================================== */
.blog-article {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: #FFFFFF;
    color: #333333;
    line-height: 1.7;
}

/* ===================================
   EN-TÊTE ARTICLE
   =================================== */
.blog-article header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #E5E5E5;
}

.blog-article h1 {
    font-family: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 2.2em;
    font-weight: 500;
    color: #33383C;
    line-height: 1.3;
    margin: 0 0 25px 0;
    letter-spacing: -0.5px;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #666;
    font-weight: 400;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ===================================
   CONTENU ARTICLE
   =================================== */
.article-intro,
.article-content {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
}

.article-intro {
    background: #F8F8F8;
    border-left: 4px solid #33383C;
    padding: 25px 30px;
    margin: 40px 0;
    font-size: 17px;
    font-weight: 400;
}

.article-intro strong {
    color: #33383C;
    font-weight: 600;
}

/* ===================================
   TITRES
   =================================== */
.blog-article h2 {
    font-family: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 1.8em;
    font-weight: 500;
    color: #33383C;
    margin: 50px 0 25px 0;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.blog-article h3 {
    font-family: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 1.4em;
    font-weight: 500;
    color: #33383C;
    margin: 35px 0 20px 0;
    line-height: 1.4;
}

.blog-article h4 {
    font-family: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 1.1em;
    font-weight: 600;
    color: #33383C;
    margin: 25px 0 15px 0;
}

/* ===================================
   PARAGRAPHES ET LISTES
   =================================== */
.blog-article p {
    margin: 0 0 20px 0;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.blog-article ul,
.blog-article ol {
    margin: 20px 0 20px 25px;
    padding: 0;
}

.blog-article li {
    margin-bottom: 12px;
    line-height: 1.7;
    color: #333;
}

.blog-article strong {
    font-weight: 600;
    color: #33383C;
}

/* ===================================
   TABLEAUX
   =================================== */
.blog-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    font-size: 15px;
}

.blog-article thead {
    background: #33383C;
    color: #FFFFFF;
}

.blog-article th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.blog-article td {
    padding: 15px 20px;
    border-bottom: 1px solid #E5E5E5;
    color: #333;
}

.blog-article tbody tr:hover {
    background: #F8F8F8;
    transition: background 0.2s ease;
}

.blog-article tbody tr:last-child td {
    border-bottom: none;
}

/* Tableaux de comparaison */
.comparison-table th:first-child {
    width: 25%;
}

.comparison-table th:nth-child(2) {
    background: #27ae60;
}

.comparison-table th:nth-child(3) {
    background: #e74c3c;
}

.good-icon {
    color: #27ae60;
    font-weight: 700;
    margin-right: 8px;
    font-size: 18px;
}

.bad-icon {
    color: #e74c3c;
    font-weight: 700;
    margin-right: 8px;
    font-size: 18px;
}

/* ===================================
   BOXES ET HIGHLIGHTS
   =================================== */
.info-box {
    background: #F0F9FF;
    border-left: 4px solid #0284C7;
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 0;
}

.warning-box {
    background: #FFF4E6;
    border-left: 4px solid #FF9800;
    padding: 25px 30px;
    margin: 30px 0;
}

.success-box {
    background: #F0FDF4;
    border-left: 4px solid #10B981;
    padding: 25px 30px;
    margin: 30px 0;
}

.stats-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #FFFFFF;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0;
    font-weight: 500;
}

/* Critère Box (pour article réparateur fiable) */
.critere-box {
    background: #F8F8F8;
    border: 1px solid #E5E5E5;
    padding: 25px 30px;
    margin: 25px 0;
    position: relative;
    border-radius: 0;
}

.critere-box .numero {
    position: absolute;
    top: -15px;
    left: 25px;
    background: #33383C;
    color: #FFFFFF;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

.critere-box h3 {
    margin-top: 10px;
    color: #33383C;
    font-size: 1.3em;
}

.critere-exemple {
    background: #FFFFFF;
    border-left: 3px solid #10B981;
    padding: 15px 20px;
    margin: 15px 0;
}

/* ===================================
   TIMELINE VISUELLE (Article Méthodologie)
   =================================== */
.timeline-visual {
    background: linear-gradient(135deg, #E8F5FF 0%, #F0F9FF 100%);
    border: 2px solid #3498db;
    padding: 35px 30px;
    margin: 40px 0;
    border-radius: 0;
}

.timeline-visual h3 {
    color: #3498db;
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 1.4em;
    text-align: center;
}

.timeline-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.timeline-step {
    background: #FFFFFF;
    border: 1px solid #d0d0d0;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.timeline-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
    border-color: #3498db;
}

.timeline-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.timeline-label {
    font-weight: 600;
    font-size: 13px;
    color: #33383C;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-time {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

/* ===================================
   ÉTAPES DÉTAILLÉES (Article Méthodologie)
   =================================== */
.etape-container {
    margin: 40px 0;
}

.etape-box {
    background: #F8F8F8;
    border: 1px solid #E5E5E5;
    padding: 30px 35px;
    margin: 30px 0;
    position: relative;
    border-radius: 0;
}

.etape-numero {
    position: absolute;
    top: -18px;
    left: 30px;
    background: #3498db;
    color: #FFFFFF;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.etape-titre {
    margin-top: 10px;
    margin-bottom: 15px;
    color: #33383C;
    font-size: 1.4em;
    font-weight: 600;
}

.etape-duree {
    background: #FFFFFF;
    border-left: 3px solid #27ae60;
    padding: 10px 15px;
    margin: 15px 0 20px 0;
    font-weight: 600;
    color: #27ae60;
    font-size: 14px;
}

.etape-description {
    margin: 20px 0;
}

.etape-details {
    margin: 25px 0;
}

.etape-details h4 {
    color: #33383C;
    font-size: 1.1em;
    margin: 20px 0 12px 0;
    font-weight: 600;
}

.stats-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #FFFFFF;
    padding: 15px 20px;
    margin: 20px 0 0 0;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
}

/* ===================================
   CHECKLIST
   =================================== */
.checklist {
    background: #F8F8F8;
    border: 1px solid #E5E5E5;
    padding: 30px 35px;
    margin: 35px 0;
}

.checklist h3 {
    margin-top: 0;
    color: #33383C;
    font-size: 1.3em;
}

.checklist ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.checklist li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
}

.checklist li:before {
    content: "☐";
    position: absolute;
    left: 0;
    font-size: 20px;
    color: #33383C;
}

/* ===================================
   CALL TO ACTION
   =================================== */
.article-cta {
    background: linear-gradient(135deg, #33383C 0%, #1a1a1a 100%);
    color: #FFFFFF;
    padding: 40px 35px;
    margin: 60px 0 40px 0;
    text-align: center;
    border-radius: 0;
}

.article-cta h3 {
    color: #FFFFFF;
    margin-top: 0;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.article-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    font-size: 15px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 25px 0;
}

.cta-buttons a,
.cta-phone,
.cta-button {
    display: inline-block;
    background: #FFFFFF;
    color: #33383C;
    padding: 14px 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.3s ease;
    border: 2px solid #FFFFFF;
}

.cta-buttons a:hover,
.cta-phone:hover,
.cta-button:hover {
    background: transparent;
    color: #FFFFFF;
    border-color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
    .blog-article {
        padding: 0 15px;
        margin: 20px auto;
    }

    .blog-article h1 {
        font-size: 1.7em;
    }

    .blog-article h2 {
        font-size: 1.5em;
        margin: 35px 0 20px 0;
    }

    .blog-article h3 {
        font-size: 1.2em;
    }

    .article-meta {
        flex-direction: column;
        gap: 10px;
    }

    .blog-article table {
        font-size: 13px;
    }

    .blog-article th,
    .blog-article td {
        padding: 10px 12px;
    }

    .info-box,
    .warning-box,
    .success-box,
    .critere-box,
    .checklist {
        padding: 20px;
    }

    .article-cta {
        padding: 30px 20px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons a {
        width: 100%;
        text-align: center;
    }

    /* Timeline responsive */
    .timeline-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .timeline-step {
        padding: 15px 10px;
    }

    .timeline-icon {
        font-size: 28px;
    }

    .timeline-label {
        font-size: 12px;
    }

    .timeline-visual {
        padding: 25px 20px;
    }

    /* Étapes responsive */
    .etape-box {
        padding: 25px 20px;
    }

    .etape-numero {
        width: 35px;
        height: 35px;
        font-size: 16px;
        left: 20px;
    }

    .etape-titre {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .blog-article {
        font-size: 15px;
    }

    .blog-article h1 {
        font-size: 1.5em;
    }

    .blog-article h2 {
        font-size: 1.3em;
    }

    .blog-article table {
        font-size: 12px;
    }

    .blog-article th,
    .blog-article td {
        padding: 8px 10px;
    }
}

/* ===================================
   UTILITAIRES
   =================================== */
.text-center {
    text-align: center;
}

.mt-0 {
    margin-top: 0 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}
