/* ma-boutique-web/public/assets/css/styles.css */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    --primary-color: #08addf; /* Bleu sombre */
    --accent-color: #ff4081; /* Rose vif */
    --text-color: #333;
    --text-light: #f4f4f9;
    --bg-color: #f4f4f9;
    --card-bg: #fff;
    --border-color: #ddd;
    --shadow: 0 4px 15px rgba(0,0,0,0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typographie de base */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}
p.section-subtitle {
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: #777;
}

/* Header */
.header {
    background-color: var(--card-bg);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-img {
    height: 40px;
    transition: transform 0.3s ease;
}
.logo-img:hover {
    transform: scale(1.05);
}
.nav a {
    margin-left: 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}
.nav a:hover {
    color: var(--primary-color);
}
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}
.btn-accent {
    background-color: var(--accent-color);
    color: #fff;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, var(--primary-color), #5c6bc0);
    color: var(--text-light);
    padding: 6rem 0;
    display: flex;
    align-items: center;
}
.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hero-content {
    max-width: 600px;
}
.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}
.cta-buttons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.store-buttons {
    display: flex;
    gap: 0.8rem;
}
.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #000;
    color: #fff;
    padding: 0.75rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}
.store-btn:hover {
    background-color: #333;
}
.app-mockup {
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-radius: 12px;
    transition: transform 0.3s ease;
}
.app-mockup:hover {
    transform: translateY(-5px);
}

/* Sections */
section {
    padding: 6rem 0;
    text-align: center;
}
section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}
.features-section, .pricing-section {
    background-color: var(--card-bg);
}
.features-section {
    padding-bottom: 4rem;
}
/* Features Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.feature-card {
    background: var(--bg-color);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
}
.feature-card i {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}
.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 6rem 0;
}
.testimonials-section h2 {
    color: #fff;
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
.testimonial-card h4 {
    font-weight: 600;
}

/* Pricing Section */
.pricing-section h2 {
    margin-bottom: 2rem;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.plan-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}
.plan-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}
.plan-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}
.plan-card .price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
}
.plan-card .price small {
    font-size: 1.2rem;
    font-weight: 400;
}
.plan-card ul {
    list-style: none;
    text-align: left;
    margin: 2.5rem 0;
}
.plan-card li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    border-bottom: 1px dashed var(--border-color);
}
.plan-card li i {
    margin-right: 1rem;
    color: #4caf50;
    font-size: 1.2rem;
}
.plan-card .btn {
    margin-top: 2rem;
}
.loading-spinner {
    text-align: center;
    padding: 2rem;
}
.loading-spinner i {
    font-size: 3rem;
    color: var(--primary-color);
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-color);
}
#contactForm {
    max-width: 600px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
#contactForm input, #contactForm textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
#contactForm input:focus, #contactForm textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}
.form-messages {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    display: none;
}
.form-messages.error {
    background-color: #ffebee;
    color: #c62828;
}
.form-messages.success {
    background-color: #e8f5e9;
    color: #2e7d32;
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}
.footer-cta {
    margin-bottom: 2rem;
}
.footer-links {
    margin: 2rem 0;
}
.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 1rem;
    transition: text-decoration 0.3s ease;
}
.footer-links a:hover {
    text-decoration: underline;
}
.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Pages Statiques (Privacy, Terms) */
.static-page {
    padding: 4rem 0;
    text-align: left;
}
.static-page .container {
    max-width: 900px;
}
.static-page h2 {
    text-align: left;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}
.static-page h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: var(--primary-color);
}
.static-page p {
    text-align: left;
    margin-bottom: 1rem;
}
.static-page ul {
    list-style-type: disc;
    padding-left: 2rem;
    margin-bottom: 1rem;
}
.static-page ol { /* Pour les guides numérotés */
    list-style-type: decimal;
    padding-left: 2rem;
    margin-bottom: 1rem;
}
.static-page strong {
    font-weight: 600;
}

/* Styles spécifiques pour la FAQ (accordéon simple) */
.faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}
.faq-question {
    padding: 1.2rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question i {
    transition: transform 0.3s ease;
}
.faq-answer {
    padding: 0 1.2rem 1.2rem;
    font-size: 0.95rem;
    color: var(--text-color);
    max-height: 0; /* Caché par défaut */
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}
.faq-answer.open {
    max-height: 200px; /* Adaptez à la hauteur max de la réponse */
    padding-top: 1rem;
}

/* Media Queries pour la responsivité */
@media (max-width: 768px) {
    .header .container, .hero .container, .cta-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }
    .hero .container {
        text-align: center;
    }
    .hero-image {
        margin-top: 3rem;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .app-mockup {
        max-width: 300px;
    }
    .nav {
        margin-top: 1rem;
    }
    .nav a {
        margin: 0 0.5rem;
    }
    .footer-cta {
        margin-bottom: 1rem;
    }
    .footer-links a {
        display: block;
        margin: 0.5rem 0;
    }
}
/* Ajoutons un peu d'espace si la nav-bar devient plus longue */
@media (max-width: 992px) {
    .nav a {
        margin-left: 1rem; /* Réduire l'espace entre les liens */
        font-size: 0.9rem; /* Réduire un peu la taille de la police */
    }
}
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem; /* Espacement entre les éléments empilés */
    }
    .nav {
        display: flex;
        flex-wrap: wrap; /* Permet aux liens de passer à la ligne */
        justify-content: center;
        margin-top: 1rem;
    }
    .nav a {
        margin: 0.5rem 0.8rem; /* Plus d'espace vertical et horizontal */
    }
}
.app-gallery-section {
    padding: 80px 0;
    text-align: center;
    background-color: #f9f9f9; /* Une couleur de fond légèrement différente pour la section */
}

.app-gallery-section h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.app-gallery-section .section-subtitle {
    max-width: 700px;
    margin: 0 auto 50px auto;
    color: #666;
    line-height: 1.6;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px; /* Espace entre les images */
    margin-top: 40px;
}

.gallery-item {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.gallery-item:hover {
    transform: translateY(-8px); /* Effet de lévitation au survol */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.gallery-item .gallery-img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; /* S'assure que l'image remplit l'espace sans se déformer */
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.gallery-item .gallery-imga {
    width: 100%; 
    height: 50%; 
    object-fit: cover; /* S'assure que l'image remplit l'espace sans se déformer */
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.gallery-item p {
    font-weight: 600;
    color: #555;
    margin: 0;
    font-size: 1rem;
}

/* Responsive pour les tablettes et mobiles */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr; /* Deux colonnes sur tablette */
    }

    .app-gallery-section h2 {
        font-size: 2rem;
    }

    .gallery-item .gallery-img {
        height: 300px; /* Hauteur réduite pour les petits écrans */
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr; /* Une seule colonne sur mobile */
    }
}