* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Header avec animation */
header {
    background: linear-gradient(135deg, #7CC7D0 0%, #5AB9C1 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.header-scrolled {
    background: rgba(124, 199, 208, 0.95);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(45deg, #fff, #B8E986);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #B8E986;
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(45deg, #B8E986, #9FD65A);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Section Hero avec animations */
.hero {
    background: linear-gradient(135deg, #7CC7D0 0%, #5AB9C1 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-10px, -10px) rotate(1deg); }
    66% { transform: translate(10px, -5px) rotate(-1deg); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: slideInDown 1s ease-out;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: slideInUp 1s ease-out 0.2s both;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #B8E986, #9FD65A);
    color: #333;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(184, 233, 134, 0.4);
    animation: slideInUp 1s ease-out 0.4s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(184, 233, 134, 0.6);
    background: linear-gradient(45deg, #9FD65A, #B8E986);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Sections */
section {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #7CC7D0, #5AB9C1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section À propos */
.about {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #7CC7D0, #5AB9C1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Formations */
.formations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.formation-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.formation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.formation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #7CC7D0, #B8E986);
}

.card-content {
    padding: 2rem;
}

.formation-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.formation-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.duration {
    color: #7CC7D0;
    font-weight: bold;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

/* Section Témoignages */
.temoignages {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
}

.testimonials-container {
    display: block;
}

.testimonials-display {
    margin-bottom: 4rem;
}

.testimonials-grid {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.testimonials-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonials-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-btn {
    background: linear-gradient(45deg, #7CC7D0, #5AB9C1);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(124, 199, 208, 0.4);
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.slider-indicators {
    display: flex;
    gap: 0.5rem;
}

.indicator {
    width: 12px;
    height: 12px;
    background: rgba(124, 199, 208, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #7CC7D0;
    transform: scale(1.2);
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: #7CC7D0;
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: serif;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
}

.author-info .formation {
    color: #7CC7D0;
    font-size: 0.9rem;
    margin: 0;
}

.rating {
    display: flex;
    gap: 2px;
    margin-top: 0.5rem;
}

.star {
    color: #B8E986;
    font-size: 1.2rem;
}

.testimonials-form-section {
    background: linear-gradient(135deg, #7CC7D0, #5AB9C1);
    padding: 3rem 2rem;
    border-radius: 20px;
    color: white;
    text-align: center;
}

.testimonials-form-section h3 {
    color: white;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-form {
    display: grid;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.testimonial-form input,
.testimonial-form select,
.testimonial-form textarea {
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,0.9);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.testimonial-form input:focus,
.testimonial-form select:focus,
.testimonial-form textarea:focus {
    outline: none;
    background: white;
    transform: scale(1.02);
}

.rating-input {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.1);
    padding: 12px;
    border-radius: 10px;
}

.rating-stars {
    display: flex;
    gap: 5px;
}

.rating-star {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: color 0.2s;
}

.rating-star.active,
.rating-star:hover {
    color: #B8E986;
}

.submit-testimonial {
    background: linear-gradient(45deg, #B8E986, #9FD65A);
    color: #333;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    justify-self: center;
    margin-top: 1rem;
}

.submit-testimonial:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(184, 233, 134, 0.4);
}

/* Section Contact */
.contact {
    background: linear-gradient(135deg, #7CC7D0 0%, #5AB9C1 100%);
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,0.9);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
    transform: scale(1.02);
}

.submit-btn {
    background: linear-gradient(45deg, #B8E986, #9FD65A);
    color: #333;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(184, 233, 134, 0.4);
    background: linear-gradient(45deg, #9FD65A, #B8E986);
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-item::before {
    content: '📍';
    margin-right: 1rem;
    font-size: 1.2rem;
}

.contact-item:nth-child(2)::before { content: '📞'; }
.contact-item:nth-child(3)::before { content: '✉️'; }

/* Footer */
footer {
    background: #6B7280;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .testimonials-container {
        display: block;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Animations au scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}