/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4; /* Gris très clair */
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* En-tête pour le logo */
.top-bar {
    padding: 20px;
    background-color: white;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
    max-height: 60px; /* Ajustez selon votre logo */
}

/* Conteneur principal */
.container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.card {
    background-color: #ffffff;
    max-width: 600px;
    width: 100%;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-top: 5px solid #e2001a; /* Rouge Cnam */
}

.icon {
    font-size: 50px;
    margin-bottom: 20px;
}

h1 {
    color: #e2001a;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

p {
    line-height: 1.6;
    margin-bottom: 15px;
}

hr {
    border: 0;
    height: 1px;
    background: #ddd;
    margin: 30px 0;
}

/* Bouton et liens */
.btn {
    display: inline-block;
    background-color: #e2001a;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.btn:hover {
    background-color: #b30014;
}

.contact-box {
    margin-top: 30px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    border-left: 4px solid #666; /* Gris foncé */
}

.contact-box a {
    color: #e2001a;
    text-decoration: none;
    font-weight: bold;
}

.contact-box a:hover {
    text-decoration: underline;
}