body { font-family:'Segoe UI',sans-serif; background:#f4f4f4; margin:0; padding:0; overflow-x:hidden; }

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    width: 100%;
    background: url('../images/Accueil-Coopé360Market.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Overlay sombre */
#hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6); 
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 8;
    color: white;
}

.hero-title {
    font-size: 4rem; 
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out both;
}

.hero-subtitle {
    font-size: 1.8rem; 
    font-weight: 400;
    color: #f8f9fa;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out both;
    animation-delay: 0.2s;
}

.hero-subtitle span {
    color: #007bff; 
    font-weight: 700;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeInUp 0.8s ease-out both;
    animation-delay: 0.4s;
}

.hero-btns {
    display: flex;
    gap: 15px;
    animation: fadeInUp 0.8s ease-out both;
    animation-delay: 0.6s;
}

/* Bouton Bleu */
.btn-hero-blue {
    background-color: #004aad;
    color: #ffffff;
    padding: 14px 35px;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-hero-blue:hover {
    background-color: #003580;
    color: white;
    transform: translateY(-3px);
}

/* Bouton Blanc / Transparent */
.btn-hero-white {
    background-color: transparent;
    color: #ffffff;
    padding: 14px 35px;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    border: 2px solid #ffffff;
    transition: 0.3s;
}

.btn-hero-white:hover {
    background-color: #ffffff;
    color: #000000; 
    transform: translateY(-3px);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive pour mobiles */
@media (max-width: 768px) {
    .hero-main-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.3rem; }
    .hero-btns { flex-direction: column; align-items: center; }
}

.fw-800 { font-weight: 800; }
.text-primary-blue { color: #007bff; }

/* Badge de section */
.about-badge {
    display: inline-block;
    padding: 8px 18px;
    background: #fff9e6;
    color: #F4B400;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid #ffecb3;
}

/* Feature Box (Effet Hover de ton exemple React) */
.feature-box {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.feature-box:hover {
    transform: scale(1.03) translateX(10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: #F4B400;
}

.feature-icon-box {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: #007bff;
    color: #f0f0f0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.3rem;
}

/* Mission Cards */
.card-mission {
    background: #f3f4f6;
    padding: 30px;
    text-align: center;
    transition: 0.3s;
}

.bg-yellow-soft { background: #fff9e6; }
.bg-blue-soft { background: #c8dbfd; }
.border-blue-soft { border-color: #b2cdfc !important; }

.icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.card-mission:hover { 
    transform: translateY(-3px);
}

/* Section Comment ça marche */
.step-card {
    background: #ffffff;
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    height: 100%;
    z-index: 1;
}

/* Le numéro en arrière-plan */
.step-number {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 4rem;
    font-weight: 900;
    color: #d8d9da; 
    z-index: -1;
    line-height: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    color: #004aad;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    border: 2px solid #eef4ff;
    transition: 0.3s;
}

/* Style de la carte active ou au survol */
.step-card:hover, .step-card.active-step {
    border-color: #F4B400;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.step-card:hover .step-icon, .step-card.active-step .step-icon {
    background: #F4B400;
    color: #ffffff;
    border-color: #F4B400;
}

.step-card:hover .step-number {
    color: rgba(37, 37, 37, 0.1);
}

/* Ligne de connexion entre les étapes sur grand écran */
@media (min-width: 768px) {
    #how-it-works .row {
        position: relative;
    }
}



/* testimonials */
.testimonial-section { 
    background: #0d6efd; 
    padding: 50px 0;    
    position: relative; 
    overflow: hidden; 
}

/* Cercles décoratifs flottants en arrière-plan */
.testimonial-section::before, 
.testimonial-section::after { 
    content: ""; 
    position: absolute; 
    border-radius: 50%; 
    background: rgba(255, 255, 255, 0.1); 
    animation: floatAnim 8s infinite ease-in-out; 
    z-index: 1;
}

.testimonial-section::before { 
    width: 150px; 
    height: 150px; 
    top: 5%; 
    left: 5%; 
}

.testimonial-section::after { 
    width: 120px; 
    height: 120px; 
    bottom: 5%; 
    right: 5%; 
    animation-delay: 4s; 
}

/* Carte de témoignage */
.testimonial-card { 
    background: #ffffff; 
    padding: 25px 20px; 
    border-radius: 15px; 
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); 
    text-align: center; 
    max-width: 320px; 
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

/* Image de profil */
.testimonial-card img { 
    border-radius: 50%; 
    width: 75px; 
    height: 75px; 
    object-fit: cover; 
    margin-bottom: 12px; 
    border: 3px solid #004aad; 
}

/* Étoiles de notation */
.stars {
    margin-bottom: 10px;
}

.stars i { 
    color: #F4B400;
    font-size: 0.85rem; 
    margin: 0 1px;
}

/* Texte du témoignage */
.testimonial-card p { 
    font-size: 0.95rem; 
    font-style: italic; 
    color: #444; 
    line-height: 1.5;
    margin-bottom: 15px; 
}

/* Nom du client */
.testimonial-card h6 { 
    font-weight: 700; 
    color: #004aad; 
    margin: 0; 
    font-size: 1rem;
}

/* Flèches de contrôle du carrousel */
.carousel-control-prev, 
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

.carousel-control-prev:hover, 
.carousel-control-next:hover {
    opacity: 1;
}

/* Animations */
@keyframes floatAnim {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.carousel-item.active .testimonial-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive */
@media (max-width: 576px) {
    .testimonial-card {
        max-width: 280px;
        padding: 20px 15px;
    }
}

/* Footer */
footer { background:#343a40; color:#fff; padding:50px 20px; }
footer a { color:#ffc107; text-decoration:none; }
footer a:hover { text-decoration:underline; }
/* Responsive */
@media(max-width:768px){
    .hero-title { font-size: 2.5rem; }
    .hero-btns { flex-direction: column; }
    .card img { height:180px; }
    .search-bar { flex-direction:column; }
}