:root {
    --primary: #22c55e;
    --primary-hover: #16a34a;
    --secondary: #f59e0b;
    --accent: #8b5cf6;
    --neutral: #1f2937;
    --base-100: #0f172a;
    --base-200: #1e293b;
    --base-300: #334155;
    --base-content: #f8fafc;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
}

/* Reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    background-color: var(--base-100);
    color: var(--base-content);
    line-height: 1.6;
}

/* Container principal */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
header {
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

/* Navigation et fil d'Ariane */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin: 1.5rem 0;
    color: var(--base-content);
    opacity: 0.7;
}
.author-avatar {
    width: 150px;
    height: 150px!important;
}
.breadcrumbs a {
    color: var(--base-content);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs li:after {
    content: '/';
    margin-left: 0.5rem;
    opacity: 0.5;
}

.breadcrumbs li:last-child:after {
    display: none;
}

/* Carte */
.card {
    background-color: var(--base-200);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: 100%;
}

/* Structure principale */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
    width: 100%;
}

.content-column {
    width: 100%;
}

.sidebar {
    width: 100%;
}

/* Titres et meta */
.article-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--base-content);
    word-wrap: break-word;
}

.article-meta {
    font-size: 0.875rem;
    color: var(--base-content);
    opacity: 0.7;
    margin-bottom: 2rem;
}

/* Table des matières */
.table-of-contents {
    background-color: var(--base-200);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    width: 100%;
}

.table-of-contents-title {
    font-weight: 600;
    margin-bottom: 1rem;
    padding-left: 1rem;
}

.table-of-contents ul {
    list-style: none;
    width: 100%;
}

.table-of-contents li {
    margin-bottom: 0.5rem;
    width: 100%;
}

.table-of-contents a {
    color: var(--base-content);
    text-decoration: none;
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    width: 100%;
    overflow-wrap: break-word;
}

.table-of-contents a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--primary);
}

.show-more-button {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-weight: 500;
    text-decoration: underline;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
}

.hidden {
    display: none;
}

/* Contenu de l'article */
.article-content {
    background-color: var(--base-200);
    border-radius: 1rem;
    padding: 1.5rem;
    width: 100%;
    overflow-wrap: break-word;
}

.article-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: var(--base-content);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
    width: 100%;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
    color: var(--base-content);
    width: 100%;
}

.article-content p {
    margin-bottom: 1.25rem;
    color: var(--base-content);
    opacity: 0.9;
    width: 100%;
    overflow-wrap: break-word;
}

.article-content a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
    word-wrap: break-word;
}

.article-content a:hover {
    text-decoration: underline;
}

.article-content img {
    height: auto;
    border-radius: 0.75rem;
    margin: 1.5rem 0;
    max-height: 300px;
}

.article-content ul, .article-content ol {
    margin: 1.25rem 0;
    padding-left: 1.5rem;
    width: 100%;
}

.article-content li {
    margin-bottom: 0.5rem;
    width: 100%;
}

/* Tableaux responsifs */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border-radius: 0.5rem;
    overflow-x: auto;
    display: block;
}

.article-content table th {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

.article-content table td {
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.article-content table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Boîte avantages/inconvénients */
.pros-cons-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background-color: var(--base-200);
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 2rem 0;
    width: 100%;
}

.pros-cons-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.pros-cons-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pros-cons-list {
    list-style: none;
    width: 100%;
}

.pros-cons-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    width: 100%;
}

.pros-cons-list li .icon {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pros .icon {
    background-color: rgba(34, 197, 94, 0.2);
    color: var(--primary);
}

.cons .icon {
    background-color: rgba(239, 68, 68, 0.2);
    color: var(--error);
}

.pros-cons-total {
    margin-top: 1rem;
    font-weight: 500;
}

.pros-cons-total span {
    font-weight: 600;
}

.pros-cons-total .pros-count {
    color: var(--primary);
}

.pros-cons-total .cons-count {
    color: var(--error);
}

/* Bannière casino */
.casino-banner {
    position: relative;
    background-color: var(--base-200);
    border-radius: 1rem;
    overflow: hidden;
    margin: 2rem 0;
    border: 1px solid var(--primary);
    width: 100%;
}

.casino-banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(34, 197, 94, 0.05);
    z-index: 0;
}

.casino-banner-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    align-items: center;
    width: 100%;
}

.casino-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.casino-logo {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.casino-logo:hover {
    transform: scale(1.05);
}

.casino-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--base-content);
}

.casino-bonus {
    text-align: center;
    background-color: var(--base-100);
    padding: 1rem;
    border-radius: 0.75rem;
    width: 100%;
}

.casino-bonus-percent {
    font-size: 1.25rem;
    font-weight: 600;
}

.casino-bonus-amount {
    font-size: 0.875rem;
    opacity: 0.8;
}

.casino-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-neutral {
    background-color: var(--neutral);
    color: var(--base-content);
}

.btn-neutral:hover {
    background-color: var(--base-300);
}

.btn-primary {
    background-color: var(--primary);
    color: white!important;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--base-300);
    color: var(--base-content);
}

.btn-outline:hover {
    background-color: var(--base-300);
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    padding: 0;
    flex-shrink: 0;
}

/* Sidebar */
.sidebar-card {
    background-color: var(--base-200);
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 2rem;
    width: 100%;
}

.sidebar-card img {
    width: 100%;
    border-radius: 0.75rem 0.75rem 0 0;
}

.sidebar-card-content {
    padding: 1.5rem;
    width: 100%;
}

.sidebar-card-title {
    font-size: 0.875rem;
    text-transform: uppercase;
    color: var(--base-content);
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.rating-display {
    margin-bottom: 1.5rem;
    width: 100%;
}

.rating-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    width: 100%;
}

.rating-label {
    font-size: 0.875rem;
    color: var(--base-content);
    opacity: 0.8;
}

.star-rating {
    display: flex;
    gap: 0.25rem;
}

.star {
    width: 1rem;
    height: 1rem;
    background-color: var(--primary);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    flex-shrink: 0;
}

.star.empty {
    background-color: var(--base-content);
    opacity: 0.2;
}

.rating-global {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    width: 100%;
}

.casino-stats {
    border-radius: 0.75rem;
    overflow: hidden;
    margin-top: 1.5rem;
    width: 100%;
}

.casino-stat {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
}

.casino-stat:last-child {
    border-bottom: none;
}

.casino-stat:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.02);
}

.casino-stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.casino-stat-value {
    font-size: 1rem;
    font-weight: 600;
}

.casino-stat-value.primary {
    color: var(--primary);
}

/* Carte auteur */
.author-card {
    background-color: var(--base-200);
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.author-avatar {
    width: 6rem;
    height: 6rem;
    border-radius: 0.75rem;
    object-fit: cover;
}

.author-info {
    width: 100%;
}

.author-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--base-content);
    margin-bottom: 0.5rem;
}

.author-title {
    color: var(--base-content);
    opacity: 0.7;
    margin-bottom: 1rem;
}

.author-stats {
    margin-bottom: 1rem;
    color: var(--base-content);
}

.author-skills {
    margin-top: 1rem;
    width: 100%;
}

.author-skills-title {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
    width: 100%;
}

.skill-tag {
    background-color: var(--neutral);
    color: var(--base-content);
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
}

.author-bio {
    margin-top: 1rem;
    width: 100%;
    overflow-wrap: break-word;
}

/* Dropdown de partage */
.share-dropdown {
    position: relative;
    display: inline-block;
    margin-top: 1.5rem;
}

.share-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--neutral);
    color: var(--base-content);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    border: none;
    font-weight: 500;
}

.share-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.25rem;
    background-color: var(--base-300);
    border-radius: 0.75rem;
    min-width: 13rem;
    z-index: 10;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: none;
}

.share-dropdown:focus-within .share-dropdown-content {
    display: block;
}

.share-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--base-content);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.share-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.share-link:first-child {
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}

.share-link:last-child {
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
}

.share-icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.share-name {
    font-weight: 500;
}

/* Bannière CTA mobile */
.mobile-cta-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--base-200);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 40;
    width: 100%;
}

.mobile-cta-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-cta-logo {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.mobile-cta-name {
    font-weight: 600;
    font-size: 1.125rem;
}

.mobile-cta-bonus {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Bouton retour en haut */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 30;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    margin-bottom:60px;
}

.back-to-top:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: var(--base-200);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    list-style: none;
    width: 100%;
}

.footer-link {
    margin-bottom: 0.75rem;
    width: 100%;
}

.footer-link a {
    color: rgba(248, 250, 252, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    width: 100%;
    display: inline-block;
}

.footer-link a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--base-content);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.social-link:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(248, 250, 252, 0.6);
    font-size: 0.875rem;
    width: 100%;
}

.disclaimer {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 2rem;
    font-size: 0.75rem;
    color: rgba(248, 250, 252, 0.6);
    text-align: left;
    width: 100%;
}

.disclaimer-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: rgba(248, 250, 252, 0.8);
}

/* =========================================
   STYLES SPÉCIFIQUES - ADAPTATIONS MOBILE
   ========================================= */

/* Styles pour les éléments avec des styles inline */
[style*="position: relative; width: 100%; height: 400px;"] {
    height: auto !important;
    min-height: 250px !important;
}

[style*="position: relative; width: 100%; height: 400px;"] img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Correction des blocs étapes inscription */
[style*="display: flex; flex-wrap: wrap; gap: 2rem;"] {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    width: 100%;
}

[style*="position: relative; padding-left: 3rem;"] {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

[style*="position: absolute; left: 0; top: 0; width: 2.5rem; height: 2.5rem;"] {
    position: absolute;
    left: 0;
    top: 0;
    width: 2.5rem !important;
    height: 2.5rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Adaptation pour les listes à puces avec icônes */
[style*="display: flex; gap: 0.75rem; align-items: flex-start;"] {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
}

[style*="width: 24px; height: 24px; flex-shrink: 0;"] {
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0;
}

/* Points clés de Spinanga Casino */
[style*="display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));"] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
}

/* Blocks bonus/promotions */
[style*="display: flex; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1.5rem;"] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

[style*="flex: 1; min-width: 200px;"] {
    flex: 1 1 100%;
    min-width: 0;
    width: 100%;
}

/* Adaptations des grilles */
[style*="display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));"] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
}

[style*="display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));"] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
}

/* Correction pour les cartes et blocs */
[style*="background-color: var(--base-200); border-radius: 1rem; padding: 1.5rem;"] {
    width: 100%;
    box-sizing: border-box;
}

/* Niveaux VIP */
[style*="display: flex; justify-content: space-between; position: relative;"] {
    display: flex;
    overflow-x: auto;
    padding: 0;
    margin-bottom: 2rem;
    width: 100%;
}

[style*="text-align: center;"] {
    padding: 0 0.5rem;
    flex-shrink: 0;
}

/* Correction pour les graphiques */
[style*="position: relative; height: 300px;"] {
    height: auto;
    min-height: 200px;
    width: 100%;
}

canvas {
    width: 100% !important;
    height: auto !important;
    max-height: 300px;
}

/* Médias sociaux et icônes de paiement */
[style*="display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0; justify-content: center;"] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    width: 100%;
}

/* Adaptation générale pour desktop */
@media (min-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .main-content {
        flex-direction: row;
    }
    
    .content-column {
        flex: 2;
        max-width: 65%;
    }
    
    .sidebar {
        flex: 1;
        max-width: 35%;
        position: sticky;
        top: 5rem;
    }
    
    .pros-cons-box {
        flex-direction: row;}
/* Adaptation générale pour desktop */
@media (min-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .main-content {
        flex-direction: row;
    }
    
    .content-column {
        flex: 2;
        max-width: 65%;
    }
    
    .sidebar {
        flex: 1;
        max-width: 35%;
        position: sticky;
        top: 5rem;
    }
    
    .pros-cons-box {
        flex-direction: row;
    }
    
    .article-content {
        padding: 2rem;
    }
    
    .casino-banner-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .casino-logo-wrapper {
        flex: 2;
    }
    
    .casino-bonus {
        flex: 1;
    }
    
    .casino-actions {
        flex: 2;
    }
    
    .author-card {
        flex-direction: row;
    }
    
    .author-avatar {
        flex-shrink: 0;
    }
    
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .mobile-cta-banner {
        display: none;
    }
    
    .desktop-cta {
        display: inline-flex;
    }
    
    /* Restauration des grilles multi-colonnes sur desktop */
    [style*="display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));"] {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    [style*="display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));"] {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    [style*="display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));"] {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    /* Restauration des flex multi-colonnes */
    [style*="display: flex; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1.5rem;"] {
        flex-direction: row;
    }
    
    [style*="flex: 1; min-width: 200px;"] {
        min-width: 200px;
    }
}

/* =========================================
   STYLES ADDITIONNELS POUR ÉLÉMENTS SPECIFIQUES
   ========================================= */

/* Style pour la note de notre expert */
[style*="background-color: var(--base-200); border-radius: 1rem; padding: 1.5rem; margin: 2rem 0; border: 1px solid rgba(255, 255, 255, 0.05); position: relative;"] {
    width: 100%;
    box-sizing: border-box;
}

[style*="position: absolute; top: -12px; left: 20px;"] {
    position: absolute !important;
    top: -12px !important;
    left: 20px !important;
    z-index: 1;
}

/* Style pour les citations et quotes */
[style*="font-style: italic; margin-bottom: 1rem; position: relative; padding-left: 1.5rem;"] {
    position: relative;
    padding-left: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

[style*="position: absolute; left: 0; top: 0; color: var(--primary); opacity: 0.7;"] {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
}

/* Style pour les cartes des caractéristiques de version mobile */
[style*="display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem;"] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    width: 100%;
}

[style*="width: 24px; height: 24px; background-color: rgba(34, 197, 94, 0.1); border-radius: 50%;"] {
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0;
}

/* Style pour le CTA final */
[style*="background-color: var(--base-200); border-radius: 1rem; padding: 2rem; margin: 2rem 0; text-align: center;"] {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

[style*="width: 80px; height: 80px; background-color: rgba(34, 197, 94, 0.1); border-radius: 50%;"] {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 1.5rem;
}

/* Style pour le graphique de notation */
[style*="display: flex; justify-content: center; margin: 2rem 0;"] {
    display: flex;
    justify-content: center;
    width: 100%;
}

[style*="width: 300px; max-width: 100%;"] {
    width: 100%;
    max-width: 300px;
}

[style*="position: relative; height: 150px;"] {
    position: relative;
    height: 150px;
    width: 100%;
}

[style*="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);"] {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 2;
}

/* Correction des listes à puces personnalisées */
[style*="list-style: none; margin-bottom: 1.5rem;"] li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    width: 100%;
}

[style*="list-style: none; margin-bottom: 1.5rem;"] svg {
    flex-shrink: 0;
}

/* Corrections supplémentaires pour les tableaux */
[style*="overflow-x: auto; margin: 2rem 0;"] {
    width: 100%;
}

/* Ajout de smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Styles pour améliorer l'accessibilité des liens */
a {
    transition: all 0.2s ease;
}

a:active {
    transform: scale(0.98);
}

/* Amélioration du focus pour l'accessibilité */
a:focus, button:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Améliorer la lisibilité du texte */
.article-content p {
    line-height: 1.8;
}

/* Animation de chargement pour les images */
.article-content img {
    transition: opacity 0.3s ease;
}

.article-content img[loading] {
    opacity: 0.5;
}

/* Correction spéciale pour les sections numérotées */
[style*="position: relative; padding-left: 3rem;"] h4 {
    margin-top: 0;
}

/* Optimisation des performances */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}