* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    padding: 20px;
}

.container {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

p.subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.card h2 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Style spécifique pour le jumelage */
.card.jumelage h2 {
    color: #2b5876;
}

.btn-jumelage {
    background-color: #2b5876;
    color: white;
}

.btn-jumelage:hover {
    background-color: #1e3c72;
}

/* Style spécifique pour la pâtisserie */
.card.patisserie h2 {
    color: #d4a373;
}

.btn-patisserie {
    background-color: #d4a373;
    color: white;
}

.btn-patisserie:hover {
    background-color: #bc8a5f;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn:active {
    transform: scale(0.98);
}

</style>