/* Base */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f7f7f7;
    color: #333;
}

header {
    background: linear-gradient(135deg, #ffb3c6, #b3e5ff, #c8f7c5);
    padding: 30px 20px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.logo {
    width: 100px;
    margin-bottom: 10px;
    animation: float 4s ease-in-out infinite;
}

header h1 {
    margin: 0;
    font-size: 2.2em;
    color: #222;
}

.baseline {
    font-size: 1.1em;
    margin-top: 8px;
}

/* Navigation */
nav {
    margin-top: 15px;
}

nav a {
    margin: 0 8px;
    text-decoration: none;
    color: #222;
    font-weight: bold;
    padding: 6px 10px;
    border-radius: 20px;
    transition: background 0.3s, transform 0.2s;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

nav a.active {
    background: white;
}

/* Sections */
main {
    padding: 20px;
}

.bloc {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 18px;
    background: #4a90e2;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    transition: background 0.3s, transform 0.2s;
}

.btn:hover {
    background: #3573b8;
    transform: translateY(-2px);
}

/* Contact form */
.contact-form {
    margin-top: 20px;
    display: grid;
    gap: 10px;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.95em;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-family: inherit;
}

.contact-form button {
    padding: 10px 16px;
    border: none;
    border-radius: 20px;
    background: #4a90e2;
    color: white;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.contact-form button:hover {
    background: #3573b8;
    transform: translateY(-2px);
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    color: #666;
}

/* Animations */
.header-animated {
    animation: headerGradient 8s ease-in-out infinite;
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.slide-up {
    animation: slideUp 0.8s ease-out;
}

.slide-up.delay {
    animation-delay: 0.3s;
}

/* Keyframes */
@keyframes float {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes headerGradient {
    0% {
        background: linear-gradient(135deg, #ffb3c6, #b3e5ff, #c8f7c5);
    }
    50% {
        background: linear-gradient(135deg, #ffc6de, #c6f0ff, #d8ffd0);
    }
    100% {
        background: linear-gradient(135deg, #ffb3c6, #b3e5ff, #c8f7c5);
    }
}

/* Responsive */
@media (max-width: 600px) {
    header h1 {
        font-size: 1.8em;
    }

    .bloc {
        margin: 10px;
        padding: 15px;
    }

    nav a {
        display: inline-block;
        margin: 4px;
    }
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.social-btn {
    padding: 12px 22px;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    color: white;
    transition: transform 0.2s, opacity 0.3s;
}

.social-btn:hover {
    transform: translateY(-3px);
    opacity: 0.85;
}

.instagram {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.facebook {
    background: #1877f2;
}

.success-message {
    background: #c8f7c5;
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    color: #2e7d32;
    font-weight: bold;
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}
