body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    background-color: #0f0f10;
    color: #f5f5f5;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Contenu principal */
.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    animation: fadeIn 1.5s ease forwards;
}

h1 {
    font-size: 3rem;
    color: #00bfff;
    margin-bottom: 10px;
}

p {
    font-size: 1.2rem;
    color: #cfcfcf;
    margin-bottom: 30px;
    max-width: 700px;
}

/* Boutons */
.buttons {
    display: flex;
    gap: 20px;
}

.btn {
    text-decoration: none;
    background-color: #00bfff;
    color: #0f0f10;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #0095cc;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 2px solid #00bfff;
    color: #00bfff;
}

.btn-outline:hover {
    background-color: #00bfff;
    color: #0f0f10;
}

/* Projets */
.projets-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.projet-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    width: 280px;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projet-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(0, 191, 255, 0.2);
}

.projet-card a {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    background-color: #00bfff;
    color: #0f0f10;
    padding: 8px 14px;
    border-radius: 12px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.projet-card a:hover {
    background-color: #0095cc;
}

/* Formulaire de contact */
.contact-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 12px;
    padding: 12px;
    font-size: 1rem;
    resize: none;
    outline: none;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #00bfff;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    color: #777;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Transition entre les pages */
.fade-page {
    opacity: 0;
    animation: pageFadeIn 0.8s forwards;
}

@keyframes pageFadeIn {
    to {
        opacity: 1;
    }
}

.fade-out {
    animation: pageFadeOut 0.6s forwards;
}

@keyframes pageFadeOut {
    to {
        opacity: 0;
    }
}
form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #161618;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(0, 191, 255, 0.1);
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

label {
    display: flex;
    flex-direction: column;
    text-align: left;
    font-weight: 600;
    color: #cfcfcf;
    font-size: 0.95rem;
}

input,
textarea {
    margin-top: 8px;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #333;
    background-color: #0f0f10;
    color: #f5f5f5;
    font-size: 1rem;
    resize: none;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus {
    border-color: #00bfff;
    outline: none;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.4);
}

button[type="submit"] {
    background-color: #4c00ff;
    color: #0f0f10;
    padding: 12px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #0095cc;
    transform: translateY(-3px);
}

/* Ajustement du texte */
.container h1 {
    color: #00bfff;
    margin-bottom: 10px;
}

.container p {
    color: #cfcfcf;
    margin-bottom: 30px;
}
.paragraphe-card {
    background-color: rgba(255, 255, 255, 0.05); /* fond sombre transparent */
    border: 1px solid rgba(255, 255, 255, 0.1); /* bord légèrement visible */
    border-radius: 20px; /* coins arrondis */
    padding: 20px 25px; /* espace intérieur */
    margin-bottom: 20px; /* espace entre les cartes */
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.05); /* ombre douce */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* effet au survol */
}

.paragraphe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0, 191, 255, 0.2); /* ombre plus visible au survol */
}

.paragraphe-card p {
    margin: 0;
    line-height: 1.6;
    color: #cfcfcf;
    font-size: 1.1rem;
}
