:root {
    --primary-color: #6B4EFF;    /* Violet Ballard */
    --secondary-color: #4A90E2;  /* Bleu */
    --accent-color: #8A6FFF;     /* Violet clair */
    --background-color: #F5F7FF; /* Fond très clair */
    --text-color: #2C3E50;       /* Texte foncé */
    --card-background: #FFFFFF;  /* Fond des cartes */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.indicator-card {
    background: var(--card-background);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.indicator-card:hover {
    transform: translateY(-5px);
}

.indicator-card h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.value-container {
    background: linear-gradient(135deg, var(--background-color), #FFFFFF);
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.interpretation {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
    font-style: italic;
}

.summary {
    background: var(--card-background);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.summary h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.summary-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.summary-content p {
    font-size: 1.1rem;
}

.summary-content span {
    font-weight: bold;
    color: var(--secondary-color);
}

.accordion {
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    padding: 0.7rem 1.2rem;
    width: 100%;
    border: none;
    border-radius: 8px;
    text-align: left;
    outline: none;
    font-size: 1rem;
    margin-top: 1.5rem;
    transition: background 0.3s;
}

.accordion:hover, .accordion.active {
    background: var(--secondary-color);
}

.panel {
    padding: 1rem 1.5rem;
    background: #f7f8ff;
    border-radius: 0 0 10px 10px;
    margin-bottom: 1rem;
    border-left: 3px solid var(--primary-color);
    border-right: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(107, 78, 255, 0.07);
}

.details-produits ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.2rem;
}

.details-produits li {
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .indicators {
        grid-template-columns: 1fr;
    }

    .summary-content {
        grid-template-columns: 1fr;
    }
} 