:root {
    --primary-color: #1C4997;
    --bg-color: #f4f7f4;
    --text-color: #0b1d30;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Aligne en haut pour éviter le saut vertical */
    min-height: 100vh;
    text-align: center;
    padding: 40px 20px; /* Plus d'espace en haut et en bas */
    box-sizing: border-box;
}

.card {
    background: white;
    padding: 40px 20px;
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    max-width: 360px;
    width: 100%;
    box-sizing: border-box;
    /* On s'assure que la carte ne bouge pas si le texte change d'une ligne */
    display: flex;
    flex-direction: column;
}

.lang-switcher {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 13px;
}

.lang-switcher a {
    color: #95a5a6;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #eee;
    text-decoration: none;
    transition: all 0.2s ease;
}

.lang-switcher a.active {
    background-color: var(--primary-color);
    color: white !important;
    border-color: var(--primary-color);
    font-weight: bold;
}

.logo {
    width: 120px;
    height: 120px;
    border-radius: 25px;
    margin: 0 auto 20px auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

h1 {
    margin: 0;
    font-size: 28px;
    color: var(--primary-color);
}

.tagline {
    font-size: 16px;
    color: #7f8c8d;
    margin: 10px 0 30px 0;
    line-height: 1.4;
    min-height: 44px; /* Force une hauteur minimale pour stabiliser la carte */
}

.badge-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.badge img {
    height: 50px; /* Légèrement plus petit pour mobile */
    transition: transform 0.2s ease;
}

.badge img:active {
    transform: scale(0.95);
}

.features {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #95a5a6;
    line-height: 1.6;
}

footer {
    margin-top: 20px;
    font-size: 12px;
    color: #bdc3c7;
}