/* Styles généraux */
:root {
    --primary-color: #4e54c8;
    --secondary-color: #8f94fb;
    --accent-color: #ff6b6b;
    --text-color: #333333;
    --light-text: #ffffff;
    --gray-bg: #f8f9fa;
    --dark-bg: #2d3436;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #ffffff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.underline {
    height: 4px;
    width: 60px;
    background: var(--accent-color);
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    box-shadow: 0 4px 15px rgba(78, 84, 200, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(78, 84, 200, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-3px);
}

/* Header & Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links a {
    margin-left: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu {
    display: none;
    font-size: 1.3rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 150px;
    background: linear-gradient(135deg, rgba(143, 148, 251, 0.1), rgba(78, 84, 200, 0.1));
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.hero-text h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    color: var(--text-color);
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.phone-mockup {
    max-height: 600px;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.2));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* About Section */
.about {
    background-color: #ffffff;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-image {
    flex: 1;
}

.about-img {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Features Section */
.features {
    background-color: var(--gray-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    height: 70px;
    width: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* App Showcase Section */
.app-showcase {
    background-color: #ffffff;
}

.app-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.app-text {
    flex: 1;
}

.app-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.app-features-list {
    list-style: none;
    margin-bottom: 30px;
}

.app-features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.app-features-list li i {
    color: var(--accent-color);
    margin-right: 10px;
}

.app-download {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.download-btn {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    background-color: var(--dark-bg);
    color: var(--light-text);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.download-btn i {
    font-size: 24px;
    margin-right: 10px;
}

.app-screens {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.app-screen {
    max-height: 500px;
    border-radius: 25px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.app-screen:nth-child(2) {
    margin-top: 50px;
}

/* Testimonials */
.testimonials {
    background-color: var(--gray-bg);
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    flex: 0 1 calc(50% - 30px);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
    color: var(--text-color);
}

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

.testimonial-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    font-weight: 600;
    color: var(--primary-color);
}

/* Contact Section */
.contact {
    background-color: #ffffff;
}

.contact-content {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 28px;
    color: var(--primary-color);
    width: 40px;
}

.social-media {
    display: flex;
    margin-top: 40px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 20px;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(78, 84, 200, 0.4);
}

.contact-form {
    flex: 1;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    width: 100%;
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--light-text);
}

.footer-logo p {
    max-width: 300px;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-links-column h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--light-text);
}

.footer-links-column a {
    display: block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links-column a:hover {
    color: var(--light-text);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

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

    .mobile-menu {
        display: block;
    }

    .hero-content,
    .about-content,
    .app-content,
    .contact-content {
        flex-direction: column;
    }

    .hero-text {
        text-align: center;
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .app-download {
        justify-content: center;
    }

    .testimonial-card {
        flex: 0 1 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        justify-content: space-between;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 2rem;
    }

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

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        max-width: 250px;
        margin: 0 auto;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .app-download {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .form-row {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}
