#cadre, #education, #sante, #emploi, #logement, #transport, #loisir, #politique, #risque {
    scroll-margin-top: var(--height-header);
}


.concept {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.concept-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
    text-align: center;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card:hover .card-click-hint {
    opacity: 1;
    transform: translateX(0);
}

.card:hover .card-expand-icon {
    background: var(--accent-color);
    color: white;
    transform: rotate(90deg);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-color);
}

.card-click-hint {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: white;
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 12px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    font-weight: 500;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-expand-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.card-info {
    line-height: 1.6;
}

.info-item {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #555;
}

.info-item strong {
    color: var(--accent-color);
    font-weight: 600;
}

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

.card:nth-child(1) { --accent-color: #3498db; }
.card:nth-child(2) { --accent-color: #e74c3c; }
.card:nth-child(3) { --accent-color: #2ecc71; }
.card:nth-child(4) { --accent-color: #f39c12; }
.card:nth-child(5) { --accent-color: #9b59b6; }
.card:nth-child(6) { --accent-color: #1abc9c; }
.card:nth-child(7) { --accent-color: #e67e22; }
.card:nth-child(8) { --accent-color: #e91e63; }
.card:nth-child(9) { --accent-color: #7a1001; }

@media (max-width: 768px) {
    .city-title { font-size: 2rem; }
    .grid-cards { grid-template-columns: 1fr; }
}