/* Reset et base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #fafafa;
    color: #0a0a0a;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Article Principal */
.article-main {
    max-width: 100%;
}

/* Hero Section - Full width */
.article-hero {
    position: relative;
    width: 100%;
    min-height: 70vh;
    background-color: #0a0a0a;
    overflow: hidden;
}

.article-hero__image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.article-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.article-hero__content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 20px 60px;
    text-align: center;
}

.article-hero__category {
    display: inline-block;
    background-color: #dc2626;
    color: #fff;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.article-hero__title {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.article-hero__subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    color: #e5e5e5;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.5;
}

.article-hero__meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    color: #9ca3af;
    font-size: 14px;
}

/* Disclaimer flottant */
.article-disclaimer {
    background-color: #fffbeb;
    border-left: 4px solid #f59e0b;
    max-width: 900px;
    margin: 40px auto;
    padding: 20px 25px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.article-disclaimer__icon {
    flex-shrink: 0;
    color: #f59e0b;
}

.article-disclaimer__text {
    font-size: 14px;
    color: #92400e;
    line-height: 1.5;
}

/* Contenu Article */
.article-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* Lead */
.article-lead {
    margin: 60px 0 50px;
    padding-bottom: 40px;
    border-bottom: 2px solid #0a0a0a;
}

.article-lead__text {
    font-size: 22px;
    line-height: 1.6;
    color: #0a0a0a;
    font-weight: 500;
}

/* Sections */
.content-section {
    margin-bottom: 60px;
}

.content-section__title {
    font-size: 32px;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 25px;
    line-height: 1.2;
}

.content-section__text {
    font-size: 18px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 20px;
}

.content-section__text strong {
    color: #0a0a0a;
    font-weight: 600;
}

.content-section__text--caption {
    font-size: 13px;
    color: #6b7280;
    font-style: italic;
    margin-top: 15px;
}

/* Highlight Box */
.highlight-box {
    background-color: #0a0a0a;
    color: #fff;
    padding: 35px;
    margin: 35px 0;
}

.highlight-box__title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.highlight-box__text {
    font-size: 16px;
    line-height: 1.7;
    color: #d1d5db;
}

/* Tableaux */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 35px 0;
    border: 1px solid #e5e7eb;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    background-color: #fff;
}

.comparison-table th {
    background-color: #0a0a0a;
    color: #fff;
    padding: 16px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 15px;
    color: #374151;
}

.comparison-table tr:hover {
    background-color: #f9fafb;
}

.comparison-table__highlight {
    background-color: #fef2f2;
}

.comparison-table__highlight td {
    color: #0a0a0a;
    font-weight: 500;
}

/* Timeline des générations */
.timeline-container {
    position: relative;
    padding-left: 30px;
    margin: 40px 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e5e7eb;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item__marker {
    position: absolute;
    left: -24px;
    top: 2px;
}

.timeline-item__dot {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #d1d5db;
    border: 3px solid #fafafa;
}

.timeline-item__dot--active {
    background-color: #dc2626;
    border-color: #dc2626;
}

.timeline-item--active .timeline-item__content {
    background-color: #fff;
    border: 1px solid #fecaca;
    padding: 25px;
    border-radius: 4px;
}

.timeline-item__title {
    font-size: 20px;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 8px;
}

.timeline-item__period {
    display: block;
    font-size: 14px;
    color: #dc2626;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-item__text {
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
}

/* Layout deux colonnes */
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin: 40px 0;
}

.article-figure {
    margin: 0;
}

.article-figure__image {
    border-radius: 4px;
    width: 100%;
}

.article-figure__caption {
    font-size: 13px;
    color: #6b7280;
    margin-top: 10px;
    font-style: italic;
}

/* Data Grid */
.data-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
    background-color: #0a0a0a;
    padding: 30px;
}

.data-card {
    text-align: center;
}

.data-card__value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.data-card__label {
    font-size: 13px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Cost Breakdown */
.cost-breakdown {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    padding: 30px;
    margin: 35px 0;
}

.cost-breakdown__item {
    margin-bottom: 20px;
}

.cost-breakdown__item:last-child {
    margin-bottom: 0;
}

.cost-breakdown__bar {
    height: 8px;
    background-color: #dc2626;
    margin-bottom: 10px;
    min-width: 4%;
}

.cost-breakdown__info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
}

.cost-breakdown__label {
    color: #374151;
    font-weight: 500;
}

.cost-breakdown__value {
    color: #0a0a0a;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

/* Checklist Cards */
.checklist-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.checklist-card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    padding: 25px;
}

.checklist-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.checklist-card__title {
    font-size: 16px;
    font-weight: 700;
    color: #0a0a0a;
}

.checklist-card__list {
    list-style: none;
}

.checklist-card__list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #4b5563;
    line-height: 1.5;
}

.checklist-card__list li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: bold;
}

/* Blockquote */
.article-quote {
    margin: 50px 0;
    padding: 40px;
    background-color: #0a0a0a;
    position: relative;
}

.article-quote::before {
    content: '"';
    font-size: 80px;
    color: #dc2626;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.5;
}

.article-quote__text {
    font-size: 22px;
    font-weight: 500;
    color: #fff;
    line-height: 1.5;
    position: relative;
    z-index: 1;
    font-style: italic;
    padding-left: 20px;
}

.article-quote__author {
    display: block;
    margin-top: 20px;
    font-size: 14px;
    color: #9ca3af;
    font-style: normal;
    padding-left: 20px;
}

/* Conclusion section */
.content-section--conclusion {
    background-color: #fff;
    padding: 40px;
    border: 2px solid #0a0a0a;
    margin-top: 60px;
}

/* Final Disclaimer */
.final-disclaimer {
    background-color: #f3f4f6;
    border-left: 4px solid #6b7280;
    padding: 30px;
    margin-top: 60px;
}

.final-disclaimer__title {
    font-size: 18px;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 15px;
}

.final-disclaimer__text {
    font-size: 14px;
    line-height: 1.7;
    color: #4b5563;
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-hero__content {
        padding: 80px 20px 40px;
    }
    
    .article-hero__title {
        font-size: 28px;
    }
    
    .article-lead__text {
        font-size: 18px;
    }
    
    .content-section__title {
        font-size: 24px;
    }
    
    .content-section__text {
        font-size: 16px;
    }
    
    .two-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .data-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }
    
    .checklist-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
        font-size: 13px;
    }
    
    .highlight-box {
        padding: 25px;
    }
    
    .article-quote {
        padding: 30px 20px;
    }
    
    .article-quote__text {
        font-size: 18px;
    }
    
    .content-section--conclusion {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .article-hero__meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .data-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .data-card {
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #374151;
        padding-bottom: 15px;
    }
    
    .data-card:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .cost-breakdown__info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .timeline-container {
        padding-left: 20px;
    }
    
    .timeline-item--active .timeline-item__content {
        padding: 20px;
    }
}