* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    padding: 25px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.header-content {
    position: relative;
    z-index: 1;
}


.header h1 {
    font-size: 2rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.header .subtitle {
    font-size: 1rem;
    opacity: 0.95;
}

.main-content {
    padding: 30px 40px;
}

.simulateurs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.simulateur-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.simulateur-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.15);
    border-color: #2563eb;
}

.simulateur-icon {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    padding: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.simulateur-icon::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

.simulateur-icon i {
    font-size: 3rem;
    color: white;
    position: relative;
    z-index: 1;
}

.simulateur-content {
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.simulateur-number {
    display: inline-block;
    background: #dbeafe;
    color: #1e40af;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    align-self: flex-start;
}

.simulateur-title {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 600;
}

.simulateur-description {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
}

.simulateur-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #2563eb;
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
    cursor: pointer;
    font-size: 0.9rem;
}

.simulateur-button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.simulateur-button i {
    font-size: 1rem;
}

.footer {
    text-align: center;
    padding: 20px;
    color: #9ca3af;
    font-size: 0.8rem;
    border-top: 1px solid #e5e7eb;
}

/* Animation au chargement */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.simulateur-card {
    animation: fadeInUp 0.6s ease;
}

.simulateur-card:nth-child(2) {
    animation-delay: 0.15s;
}

/* Responsive */
@media (max-width: 968px) {
    .header {
        padding: 20px 25px;
    }

    .header h1 {
        font-size: 1.5rem;
    }

    .header .subtitle {
        font-size: 0.9rem;
    }

    .simulateurs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .main-content {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .header {
        padding: 15px 20px;
    }



    .header h1 {
        font-size: 1.3rem;
    }

    .header .subtitle {
        font-size: 0.85rem;
    }

    .main-content {
        padding: 20px 15px;
    }

    .simulateurs-grid {
        grid-template-columns: 1fr;
        min-width: auto;
    }

    .simulateur-title {
        font-size: 1.1rem;
    }
}