.comparatif-card {
    max-width: 900px;
    margin: 0 auto 40px auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ——— GRILLE 3 COLONNES ——— */
.comparatif-top {
    display: grid;
    grid-template-columns: 180px 1fr 200px;
    gap: 0;
    padding: 32px;
}

/* ——— COL GAUCHE ——— */
.comparatif-col-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-right: 28px;
    border-right: 1px solid #eef0f3;
}

.comparatif-rank {
    font-size: 2.4rem;
    font-weight: 800;
    color: #857DFF;
    line-height: 1;
    margin: 0;
}

.comparatif-logo {
    width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparatif-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    display: block;
}

/* ——— COL CENTRE ——— */
.comparatif-col-center {
    padding: 0 28px;
}

.comparatif-product-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 12px 0;
    padding: 0;
    line-height: 1.3;
}

.comparatif-desc {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #4a4a68;
    margin: 0 0 16px 0;
}

.comparatif-highlights-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #857DFF;
    margin: 0 0 8px 0;
}

.comparatif-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.comparatif-highlights li {
    font-size: 0.88rem;
    color: #4a4a68;
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}

.comparatif-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #B4BAFF;
}

/* ——— COL DROITE ——— */
.comparatif-col-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-left: 28px;
    border-left: 1px solid #eef0f3;
}

.comparatif-price-tag {
    width: 100%;
    text-align: center;
    background: #857DFF;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 16px;
    border-radius: 10px;
    letter-spacing: 0.3px;
    box-sizing: border-box;
}

.comparatif-cta-btn {
    width: 100%;
    text-align: center;
    display: block;
    background: #F3F2FF;
    color: #857DFF;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s;
    box-sizing: border-box;
}

.comparatif-cta-btn:hover {
    background: #e8e6ff;
    color: #857DFF;
}

/* ——— ÉTOILES ——— */
.comparatif-rating-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid #eef0f3;
    width: 100%;
}

.comparatif-rating-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #8a8aa3;
    margin: 0;
}

.comparatif-rating-stars {
    position: relative;
    display: inline-block;
    font-size: 1.35rem;
    line-height: 1;
}

.comparatif-rating-stars .stars-bg {
    color: #e0e4ea;
    letter-spacing: 3px;
}

.comparatif-rating-stars .stars-fill {
    position: absolute;
    top: 0;
    left: 0;
    color: #fecaa9;
    letter-spacing: 3px;
    overflow: hidden;
    white-space: nowrap;
    width: calc(var(--rating) / 5 * 100%);
}

.comparatif-rating-number {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0;
}

.comparatif-rating-number span {
    font-size: 0.85rem;
    font-weight: 500;
    color: #8a8aa3;
}

/* ——— ONGLETS ——— */
.comparatif-tabs {
    border-top: 1px solid #eef0f3;
}

.comparatif-tabs-header {
    display: flex;
    background: #f7f8fa;
}

.comparatif-tab {
    flex: 1;
    padding: 14px 20px;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: #8a8aa3;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    user-select: none;
}

.comparatif-tab:hover {
    color: #4a4a68;
    background: #F3F2FF;
}

.comparatif-tab.active {
    color: #857DFF;
    border-bottom-color: #857DFF;
    background: #fff;
}

.comparatif-tab-content {
    padding: 24px 32px;
}

.comparatif-tab-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comparatif-tab-content li {
    font-size: 0.9rem;
    color: #4a4a68;
    line-height: 1.5;
    padding-left: 24px;
    position: relative;
}

.comparatif-tab-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #857DFF;
    font-weight: 700;
    font-size: 0.85rem;
}

/* ——— RESPONSIVE ——— */
@media (max-width: 768px) {
    .comparatif-top {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .comparatif-col-left {
        flex-direction: row;
        justify-content: center;
        border-right: none;
        border-bottom: 1px solid #eef0f3;
        padding: 0 0 20px 0;
    }

    .comparatif-col-center {
        padding: 0;
    }

    .comparatif-col-right {
        border-left: none;
        border-top: 1px solid #eef0f3;
        padding: 20px 0 0 0;
    }

    .comparatif-tabs-header {
        overflow-x: auto;
    }

    .comparatif-tab {
        white-space: nowrap;
        font-size: 0.75rem;
        padding: 12px 14px;
    }

    .comparatif-tab-content {
        padding: 20px;
    }
}

/* ——— TAILLES DE TEXTE AGRANDIES ——— */
.comparatif-desc {
    font-size: 1.05rem;
}

.comparatif-highlights li {
    font-size: 1rem;
}

.comparatif-tab-content li {
    font-size: 1rem;
}

.comparatif-price-tag {
    font-size: 1rem;
}

.comparatif-cta-btn {
    font-size: 0.95rem;
}

.comparatif-highlights-label {
    font-size: 0.88rem;
}

.comparatif-tab {
    font-size: 0.9rem;
}

