/* Variables */
:root {
    --primary-color: #000000;
    --secondary-color: #FBEBCA;
    --accent-color: #F9E9C8;
    --light-color: #FCECCA;
    --dark-color: #333333;
    --text-color: #000000;
    --white-color: #ffffff;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

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

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

section {
    padding: 80px 0;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

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

.logo img {
    height: 90px;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

/* Menu mobile */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
    z-index: 1001;
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--secondary-color);
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-links.active {
        display: block;
    }
    
    .nav-links li {
        display: block;
        margin: 15px 0;
        text-align: center;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        padding: 10px;
        display: block;
    }
    
    .logo img {
        height: 70px;
    }
}

/* Hero Section */
#accueil {
    padding: 50px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

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

.hero-text {
    flex: 1;
    padding-right: 40px;
}

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

.hero-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: left;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 100%;
    max-width: 280px;
    height: auto;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.app-screen {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    position: relative;
    z-index: 2;
}

/* Features Section */
#fonctionnalites {
    padding: 50px 0;
    margin-top: -50px;  /* Pour réduire l'espace avec la section précédente */
    background-color: var(--white-color);
}

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

.feature-card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s forwards;
}

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

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Community Section */
#communaute {
    background-color: var(--accent-color);
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
    position: relative;
}

.social-button:hover {
    transform: translateY(-5px);
    background-color: var(--dark-color);
}

/* Suppression des styles Dikalo */
.social-button.dikalo,
.social-button.dikalo:hover,
.social-button.dikalo img {
    display: none;
}

/* FAQ Section */
#faq {
    background-color: var(--white-color);
    padding: 100px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--secondary-color);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--secondary-color);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary-color);
    flex: 1;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-toggle i {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-answer {
    display: block;
    max-height: 1000px;
    padding: 25px;
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
}

.faq-answer {
    background-color: var(--white-color);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 25px;
}

.faq-answer p {
    margin: 0;
    padding: 0;
    color: var(--dark-color);
    line-height: 1.6;
}

.faq-answer ul {
    list-style-type: disc;
    margin: 15px 0;
    padding-left: 20px;
}

.faq-answer ul li {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.faq-item:hover {
    transform: translateX(10px);
}

@media screen and (max-width: 768px) {
    #faq {
        padding: 60px 0;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }

    .faq-answer {
        font-size: 0.95rem;
    }
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    text-align: center;
}

.footer-img {
    max-width: 120px;
    height: auto;
    margin-bottom: 10px;
}

.footer-app-name {
    color: var(--white-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 8px 0 5px;
}

.footer-slogan {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 5px;
    opacity: 0.9;
}

.footer-links {
    display: contents;
}

.footer-column {
    margin-bottom: 20px;
}

.newsletter-form {
    margin-top: 15px;
}

.newsletter-form p {
    color: var(--light-color);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.subscribe-form input[type="email"] {
    padding: 10px 15px;
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    font-size: 0.9rem;
}

.subscribe-form input[type="email"]::placeholder {
    color: var(--light-color);
}

.subscribe-form button {
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.subscribe-form button:hover {
    background-color: var(--white-color);
    transform: translateY(-2px);
}

.footer-column h3 {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--white-color);
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    color: var(--secondary-color);
    margin-top: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-contact-link i {
    margin-left: 8px;
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

.footer-contact-link:hover {
    color: var(--white-color);
}

.footer-contact-link:hover i {
    transform: translateX(5px);
}

/* Animations */
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply animation delay to feature cards */
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* Responsive Design */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-text h2 {
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    body {
        font-size: 0.9rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-logo {
        text-align: center;
    }
    
    .footer-img {
        max-width: 100px;
    }
    
    .footer-app-name {
        font-size: 1.3rem;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-button {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .subscribe-form {
        width: 100%;
    }

    #accueil {
        padding: 30px 0;
        min-height: auto;
    }

    #fonctionnalites {
        padding: 30px 0;
        margin-top: -30px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-text {
        order: 2;
        padding: 0 15px;
    }

    .phone-mockup {
        order: 1;
        margin-top: 20px;
    }

    .hero-text h1 {
        font-size: 2.8rem;
        margin-bottom: 15px;
    }

    .hero-text h2 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .hero-text p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .store-buttons {
        justify-content: center;
        gap: 10px;
        padding: 0 15px;
        flex-wrap: wrap;
    }

    .store-button {
        margin: 5px;
    }

    .store-button img {
        height: 45px;
        width: auto;
    }

    /* Ajustements pour la section de paiement */
    .demo-section {
        padding: 20px;
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
        gap: 10px;
    }

    .demo-section img {
        width: 100%;
        max-width: 280px;
        height: auto;
        object-fit: contain;
        margin: 10px auto;
    }

    .demo-section h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .demo-section p {
        font-size: 1rem;
        margin-bottom: 10px;
        padding: 0 15px;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .nav-links {
        width: 70%;
    }
    
    .phone-mockup {
        max-width: 240px;
        margin-top: 15px;
    }
    
    .social-links {
        gap: 12px;
    }
    
    .social-button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .store-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .store-button img {
        height: 35px;
    }

    .demo-section {
        padding: 15px;
    }

    .demo-section img {
        max-width: 240px;
    }

    .demo-section h2 {
        font-size: 1.6rem;
    }

    .hero-text {
        padding: 0 5px;
    }

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

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

    .hero-text p {
        font-size: 0.95rem;
    }

    .store-buttons {
        padding: 0 10px;
    }

    .store-button img {
        height: 40px;
    }
}

.store-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    align-items: center;
}

.store-button {
    display: inline-block;
        transition: var(--transition);
}

.store-button img {
    height: 45px;
    width: auto;
}

/* Style spécifique pour le badge Google Play */
.store-button:last-child img {
    height: 58px;
}

.store-button:hover {
    transform: translateY(-3px);
    opacity: 0.85;
}

/* Tablet Preview Section */
#tablette-preview {
    background-color: #fbebca;
    padding: 80px 0;
    color: var(--dark-color);
}

.tablet-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.tablet-device {
    flex: 1;
    max-width: 350px;
    padding: 0;
    margin: 0 auto;
}

.tablet-text {
    flex: 1;
    padding: 20px;
}

.tablet-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: left;
    color: var(--dark-color);
}

.tablet-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.tablet-text p:first-of-type {
    font-size: 1.4rem;
    font-weight: 600;
}

.tablet-text .cta-button {
    display: inline-block;
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    margin-top: 20px;
    transition: var(--transition);
}

.tablet-text .cta-button:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.tablet-frame {
    position: relative;
    width: 100%;
    padding-bottom: 140%;
    background: var(--primary-color);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.tablet-screen {
    position: absolute;
    top: 2%;
    left: 2%;
    right: 2%;
    bottom: 2%;
    background: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
}



.carousel {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-images {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    padding: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-img.active {
    opacity: 1;
}

/* Version mobile de la section tablette */
.tablet-screen-mobile {
    position: absolute;
    top: 2%;
    left: 2%;
    right: 2%;
    bottom: 2%;
    background: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
}
.tablet-content-mobile {
    display: none;
    text-align: center;
    padding: 20px;
}

.tablet-content-mobile h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.tablet-content-mobile p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}





/* Gestion de l'affichage selon le type d'appareil */
@media screen and (max-width: 992px) {
    .tablet-content {
        flex-direction: column;
    }
    
    .tablet-text {
        text-align: center;
    }
    
    .tablet-text h2 {
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    #tablette-preview {
        padding: 40px 0;
    }
    
    /* Masquer la version desktop sur mobile */
    .tablet-desktop {
        display: none;
    }
    
    /* Afficher la version mobile */
    .tablet-content-mobile {
        display: block;
    }
}

@media screen and (max-width: 480px) {
    #tablette-preview {
        padding: 30px 0;
    }
    
    .tablet-content-mobile h2 {
        font-size: 1.5rem;
    }
    
    .tablet-content-mobile p {
        font-size: 0.9rem;
    }
}

/* Rejoindre Communauté Section */
#rejoindre-communaute {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 100px 0;
}

#rejoindre-communaute h2 {
    color: var(--white-color);
    font-size: 3rem;
    margin-bottom: 20px;
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 50px;
    color: var(--secondary-color);
}

.community-cards {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Pour Firefox */
}

.community-cards::-webkit-scrollbar {
    display: none; /* Pour Chrome, Safari et Opera */
}

.community-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Ajout d'un indicateur de défilement */
.scroll-indicator {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.scroll-dot.active {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.community-card h3 {
    color: var(--white-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.community-card p {
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.6;
}

.card-email {
    color: var(--secondary-color) !important;
    font-size: 0.9rem !important;
    margin-bottom: 15px !important;
    font-style: italic;
    opacity: 0.9;
}

.community-card:hover .card-email {
    color: var(--white-color) !important;
}

.card-arrow {
    position: absolute;
    bottom: 0;
    right: 0;
    color: var(--secondary-color);
    font-size: 1.2rem;
            opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
        }

.community-card:hover .card-arrow {
            opacity: 1;
            transform: translateX(0);
        }

/* Styles pour le carrousel mobile */
.mobile-carousel {
    width: 100%;
    max-width: 300px;
    height: 400px; /* Hauteur fixe pour le conteneur */
    margin: 1px auto;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mobile-carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajuste l'image pour couvrir tout l'espace */
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.mobile-carousel-img.active {
    opacity: 1;
}

/* Animation du carrousel mobile */
@keyframes mobileCarousel {
    0%, 20% { opacity: 1; }
    25%, 95% { opacity: 0; }
    100% { opacity: 1; }
}

.mobile-carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    animation: mobileCarousel 16s infinite;
}

.mobile-carousel-img:nth-child(1) { animation-delay: 0s; }
.mobile-carousel-img:nth-child(2) { animation-delay: 4s; }
.mobile-carousel-img:nth-child(3) { animation-delay: 8s; }
.mobile-carousel-img:nth-child(4) { animation-delay: 12s; }

@media screen and (max-width: 768px) {
    #rejoindre-communaute h2 {
        font-size: 2.5rem;
    }
    
    .community-cards {
        grid-template-columns: 1fr;
    }
    
    .community-card {
        flex: 0 0 280px;
        padding: 25px;
    }
}

/* Témoignages Section */
#temoignages {
    background-color: var(--primary-color);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

#temoignages::before {
    content: '"';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40rem;
    color: rgba(251, 235, 202, 0.03);
    font-family: serif;
    z-index: 0;
}

#temoignages h2 {
    color: var(--white-color);
    font-size: 3rem;
    margin-bottom: 50px;
    position: relative;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

.testimonials-slider {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 20px 0;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 400px;
    scroll-snap-align: center;
    background-color: var(--secondary-color);
    border-radius: 15px;
    padding: 35px;
    position: relative;
    transition: all 0.4s ease;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
}

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

.quote-icon {
    position: absolute;
    top: 25px;
    left: 25px;
    font-size: 2.5rem;
    color: var(--primary-color);
    opacity: 0.15;
}

.testimonial-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--primary-color);
    margin: 30px 0 25px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 700;
    text-align: right;
    position: relative;
    padding-top: 15px;
    margin-top: auto;
}

.testimonial-author::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(251, 235, 202, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.nav-dot:hover {
    background-color: rgba(251, 235, 202, 0.5);
}

.nav-dot.active {
    background-color: var(--secondary-color);
    transform: scale(1.3);
}

@media screen and (max-width: 768px) {
    #temoignages {
        padding: 70px 0;
    }

    #temoignages::before {
        font-size: 20rem;
    }

    .testimonial-card {
        flex: 0 0 300px;
        padding: 25px;
        min-height: 200px;
    }

    .testimonial-text {
        font-size: 1rem;
        margin: 25px 0 20px;
    }

    .quote-icon {
        font-size: 2rem;
        top: 20px;
        left: 20px;
    }

    #temoignages h2 {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
}

.download-section {
    text-align: center;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.download-text {
    color: var(--white-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
}

#temoignages .store-buttons {
    justify-content: center;
    margin-top: 20px;
}

#temoignages .store-button {
    transition: transform 0.3s ease;
}

#temoignages .store-button:hover {
    transform: translateY(-5px);
}

#temoignages .store-button img {
    height: 48px;
}

#temoignages .store-button:last-child img {
    height: 70px;
}

@media screen and (max-width: 768px) {
    .download-section {
        margin-top: 40px;
    }

    .download-text {
        font-size: 1.3rem;
    }

    #temoignages .store-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    #temoignages .store-button img {
        height: 40px;
    }

    #temoignages .store-button:last-child img {
        height: 60px;
    }
}

#notre-catalogue {
    background-color: var(--primary-color);
    padding: 40px 0;
    overflow: hidden;
}

#notre-catalogue h2 {
    color: var(--white-color);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.logos-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px 0;
}

.logos-row {
    display: flex;
    white-space: nowrap;
    position: relative;
}

.logo-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 250px;
    height: 60px;
    margin: 0 30px;
    font-size: 1.8rem;
    font-weight: 700;
    transition: transform 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Styles spécifiques pour chaque logo */
.logo-ecotidien {
    font-family: "Times New Roman", Times, serif;
    color: #0056A0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.logo-ecotidien::after {
    content: '';
    width: 80%;
    height: 3px;
    background-color: #E53A1C;
    margin-top: 2px;
}

.logo-camerpress {
    font-family: "Cooper Black", "Arial Black", sans-serif;
    color: #E53A1C;  /* Rouge vif */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.logo-integration {
    font-family: Garamond, serif;
    color: #4CAF50;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.logo-femme {
    font-family: "Avant Garde Gothic", "Century Gothic", sans-serif;
    color: #FFB6C1;  /* Rose pâle */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.logo-item:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Animations de défilement */
.row1 {
    animation: scrollLeft 50s linear infinite;
}

.row2 {
    animation: scrollRight 50s linear infinite;
}

.row3 {
    animation: scrollLeft 50s linear infinite;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

@media screen and (max-width: 768px) {
    #notre-catalogue {
        padding: 30px 0;
    }

    #notre-catalogue h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .logos-container {
        gap: 15px;
    }

    .logo-item {
        min-width: 200px;
        height: 50px;
        font-size: 1.4rem;
        margin: 0 20px;
    }
}

.discover-app-button {
    text-align: center;
    margin-top: 50px;
}

.btn-discover {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-discover:hover {
    background-color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-discover i {
    font-size: 1.4rem;
}

/* Styles responsifs améliorés */
@media screen and (max-width: 768px) {
    /* Header */
    .container {
        padding: 0 15px;
    }

    .logo img {
        max-width: 120px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 100px;
        left: 0;
        width: 100%;
        background-color: var(--secondary-color);
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        transform: none;
    }

    .nav-links.active {
        display: block;
    }

    .nav-links li {
        display: block;
        margin: 15px 0;
        text-align: center;
        opacity: 1;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 10px;
        display: block;
    }

    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
    }

    /* Sections communes */
    section {
        padding: 40px 15px;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
        padding: 0 15px;
    }

    /* Accueil */
    #accueil {
        padding: 60px 0px;
        min-height: auto;
    }

    .hero-content {
        padding: 2px;
    }

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

    .hero-description {
        font-size: 1.1rem;
        padding: 0 15px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }

    /* Fonctionnalités */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }

    .feature-card {
        padding: 20px;
    }

    /* Avantages */
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }

    .advantage-card {
        padding: 20px;
    }

    /* Témoignages */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }

    .testimonial-card {
        padding: 20px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }

    .footer-column {
        width: 100%;
    }

    .footer-column ul {
        padding: 0;
    }

    .newsletter-form {
        max-width: 100%;
    }

    .subscribe-form {
        flex-direction: column;
        gap: 10px;
    }

    .subscribe-form input {
        width: 100%;
    }

    .subscribe-form button {
        width: 100%;
    }
}

/* Styles pour les très petits écrans */
@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-card h3,
    .advantage-card h3,
    .testimonial-card h3 {
        font-size: 1.2rem;
    }

    .feature-card p,
    .advantage-card p,
    .testimonial-card p {
        font-size: 0.9rem;
    }
}

/* Styles pour les tablettes */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .features-grid,
    .advantages-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

/* Styles pour les grands écrans */
@media screen and (min-width: 1025px) {
    .container {
        max-width: 1200px;
    }

    .features-grid,
    .advantages-grid,
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Styles responsifs pour la page de contact */
@media screen and (max-width: 768px) {
    .contact-content {
        margin: 100px 15px 40px;
        padding: 20px;
    }

    .contact-content h1 {
        font-size: 2rem;
    }

    .contact-description {
        font-size: 1rem;
        padding: 0 10px;
    }

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

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 0.95rem;
    }

    .form-group textarea {
        min-height: 120px;
    }

    .submit-button {
        padding: 12px 20px;
        font-size: 1rem;
    }

    .notification {
        width: 90%;
        right: 5%;
        padding: 15px 20px;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .contact-content {
        margin: 80px 10px 30px;
        padding: 15px;
    }

    .contact-content h1 {
        font-size: 1.8rem;
    }

    .contact-description {
        font-size: 0.9rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px;
        font-size: 0.9rem;
    }

    .submit-button {
        padding: 10px 15px;
        font-size: 0.95rem;
    }
}






