/* --- Configuration de base --- */
:root {
    --primary-color: #6a8caf;    /* Bleu doux */
    --accent-color: #ff9a9e;     /* Rose pastel */
    --bg-gradient-start: #e0c3fc;
    --bg-gradient-end: #8ec5fc;
    --text-color: #555;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Fredoka', sans-serif; /* Police arrondie */
    height: 100vh;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Empêche le défilement dû aux nuages */
    color: var(--text-color);
}

/* --- Le conteneur principal (La carte) --- */
.main-container {
    z-index: 10; /* Pour être au-dessus des nuages */
    padding: 20px;
    width: 100%;
    max-width: 600px;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2rem;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite; /* Animation douce */
}

/* --- Typographie et Texte --- */
.icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.subtitle {
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

hr {
    border: 0;
    height: 2px;
    background: #f0f0f0;
    margin: 20px auto;
    width: 50%;
    border-radius: 10px;
}

.message {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* --- Bouton de contact --- */
.contact-box p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #888;
}

.button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.button:hover {
    background-color: var(--accent-color);
    transform: scale(1.05);
}

/* --- Animation "Flottement" pour la carte --- */
@keyframes float {
    0% { transform: translatey(0px); }
    50% { transform: translatey(-15px); }
    100% { transform: translatey(0px); }
}

/* --- Décoration : Nuages en arrière-plan --- */
.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    z-index: 1;
}

.cloud::after, .cloud::before {
    content: '';
    position: absolute;
    background: inherit;
    border-radius: 50%;
}

/* Forme des nuages */
.cloud-1 { width: 200px; height: 60px; top: 10%; left: 10%; animation: drift 25s linear infinite; }
.cloud-1::after { width: 80px; height: 80px; top: -40px; left: 30px; }
.cloud-1::before { width: 60px; height: 60px; top: -30px; left: 100px; }

.cloud-2 { width: 120px; height: 40px; top: 70%; right: 10%; animation: drift 35s linear infinite reverse; }
.cloud-2::after { width: 50px; height: 50px; top: -25px; left: 20px; }

.cloud-3 { width: 300px; height: 100px; bottom: -50px; left: -50px; opacity: 0.6; }

/* Animation de déplacement des nuages */
@keyframes drift {
    from { transform: translateX(0); }
    to { transform: translateX(50px); }
}

/* --- Responsive (Mobile) --- */
@media (max-width: 600px) {
    h1 { font-size: 1.8rem; }
    .card { padding: 2rem 1.5rem; }
}