/* ========================================
   HOME PAGE — Styles spécifiques à index.php
   Extrait du <style> inline le 2026-04-23
   ======================================== */

.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 40px;
    background: url('../hero.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

/* Force le blanc sur tous les éléments texte du hero (écrase Bootstrap + thèmes globaux) */
.hero-content h1,
.hero-content .display-4,
.hero-content .slogan,
.hero-content .lead,
.hero-content p {
    color: white !important;
}

.hero .display-4 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Mention livraison sous les boutons du hero */
.hero-delivery {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}
/* !important requis pour battre `body * { color: #000000 !important }` de theme-global.css */
.hero-content .hero-delivery i {
    color: #00E676 !important;
}
.hero-content .hero-delivery strong {
    color: #00E676 !important;
    font-weight: 700;
}

/* Bouton secondaire du hero — blanc opaque, visible sur n'importe quel fond */
.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a !important;
    border: 2px solid white;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-hero-secondary:hover {
    background: white;
    color: var(--primary-green, #00C853) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hero .lead {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
}

.slogan {
    font-size: 1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.bg-gradient-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00C853, #00E676);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1rem;
    color: #64748B;
}

/* ========================================
   PRODUCT CARDS — Design Moderne
   ======================================== */
.modern-product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.04);
    cursor: pointer;
}
/* ========================================
   BESTSELLER CARDS — Style éditorial premium
   ======================================== */
.bestseller-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.06);
    cursor: pointer;
    position: relative;
}
.bestseller-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}
/* Pas d'overlay "Voir détails" sur les bestsellers — design différent des nouveautés */
.bestseller-card .card-overlay { display: none; }
.bestseller-card .card-image-wrapper img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.bestseller-card:hover .card-image-wrapper img {
    transform: scale(1.06);
}

/* Médaille de rang — sur l'image, en haut à gauche */
.bestseller-rank {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    min-width: 52px;
    height: 52px;
    padding: 0 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    font-weight: 900;
    font-family: Georgia, 'Playfair Display', serif;
    letter-spacing: -1px;
    background: rgba(17, 17, 17, 0.88);
    color: white !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
/* Top 1 — OR + couronne */
.bestseller-rank.top-1 {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1a1a !important;
    border-color: #FFD700;
    box-shadow: 0 8px 28px rgba(255, 175, 0, 0.55);
    height: 58px;
    min-width: 58px;
    font-size: 1.25rem;
}
.bestseller-rank.top-1::before {
    content: '\f521'; /* fa-crown */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%) rotate(-10deg);
    font-size: 1.1rem;
    color: #FFD700;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
/* Top 2 — ARGENT */
.bestseller-rank.top-2 {
    background: linear-gradient(135deg, #E8E8E8 0%, #B0B0B0 100%);
    color: #1a1a1a !important;
    border-color: #E8E8E8;
    box-shadow: 0 8px 22px rgba(160, 160, 160, 0.5);
}
/* Top 3 — BRONZE */
.bestseller-rank.top-3 {
    background: linear-gradient(135deg, #E3A063 0%, #8B4513 100%);
    color: white !important;
    border-color: #E3A063;
    box-shadow: 0 8px 22px rgba(139, 69, 19, 0.45);
}

/* Accent latéral coloré selon le rang top 3 */
.bestseller-card:has(.top-1) { border-top: 3px solid #FFD700; }
.bestseller-card:has(.top-2) { border-top: 3px solid #B0B0B0; }
.bestseller-card:has(.top-3) { border-top: 3px solid #CD7F32; }

/* Typographie épurée (différent des nouveautés colorées) */
.bestseller-card .card-category {
    color: #94a3b8 !important;
    letter-spacing: 1.5px;
    font-size: 0.6rem;
}
.bestseller-card .card-title {
    font-family: Georgia, serif;
    font-weight: 700;
    font-size: 1rem;
}
.modern-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 200, 83, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 200, 83, 0.15);
}

.card-image-wrapper {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}
.card-image-wrapper img,
.card-image-wrapper .card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.modern-product-card:hover .card-image-wrapper img,
.modern-product-card:hover .card-image-wrapper .card-image {
    transform: scale(1.08);
}

/* Overlay "Voir détails" au survol de l'image */
.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.modern-product-card:hover .card-overlay {
    opacity: 1;
}
.card-overlay .btn-view {
    background: white;
    color: #111 !important;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.82rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(10px);
    transition: transform 0.35s ease, background 0.2s ease;
}
.modern-product-card:hover .card-overlay .btn-view {
    transform: translateY(0);
}
.card-overlay .btn-view:hover {
    background: #00C853;
    color: white !important;
}

/* Badges — plus modernes, glassmorphism */
.card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 2;
}
.badge-promo, .badge-nouveau, .badge-recent {
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.badge-promo {
    background: linear-gradient(135deg, #ff4757, #c82333);
    color: white;
}
.badge-nouveau {
    background: linear-gradient(135deg, #00C853, #00E676);
    color: white;
}
.badge-recent {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
}

/* Contenu */
.card-content {
    padding: 0.85rem 1rem 0.9rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.card-category {
    font-size: 0.65rem;
    color: #00C853 !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0.2rem;
    font-weight: 700;
}
.card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.45rem;
    line-height: 1.25;
    min-height: 2.4rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    letter-spacing: -0.2px;
}

/* Prix */
.card-pricing {
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    row-gap: 2px;
}
.price-regular,
.price-promo {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.3px;
}
.price-regular { color: #1a1a1a !important; }
.price-promo { color: #00C853 !important; }
.price-old {
    font-size: 0.85rem;
    color: #94a3b8 !important;
    text-decoration: line-through;
    font-weight: 500;
}
.discount {
    background: #ff4757;
    color: white !important;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* Badges — protéger les couleurs blanches contre theme-global.css */
.badge-promo, .badge-nouveau, .badge-recent { color: white !important; }

/* ========================================
   BOUTON AJOUTER AU PANIER — UX unifiée
   ======================================== */
.card-actions {
    margin-top: auto;
}
.card-actions button {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
    position: relative;
    overflow: hidden;
}
/* État disponible */
.card-actions button:not(:disabled) {
    background: linear-gradient(135deg, #00C853 0%, #00E676 100%);
    color: white !important;
    box-shadow: 0 4px 12px rgba(0, 200, 83, 0.25);
}
.card-actions button:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 200, 83, 0.4);
}
.card-actions button:not(:disabled):active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 200, 83, 0.3);
}
/* État rupture — gris sobre, clairement inactif */
.card-actions button:disabled {
    background: #f1f3f5;
    color: #868e96 !important;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 1;
}
.card-actions button:disabled i {
    color: #adb5bd !important;
}

/* ========================================
   CTA DE SECTION — Nouveautés & Promotions
   ======================================== */
.section-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}
.btn-section {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-decoration: none !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    position: relative;
}
.btn-section .btn-arrow {
    font-size: 0.75rem;
    transition: transform 0.25s ease;
}
.btn-section:hover .btn-arrow {
    transform: translateX(4px);
}

/* Variante outline — "Nouveautés" */
.btn-section-outline {
    background: white;
    color: #00C853 !important;
    border: 2px solid #00C853;
    box-shadow: 0 2px 8px rgba(0, 200, 83, 0.08);
}
.btn-section-outline i {
    color: #00C853 !important;
}
.btn-section-outline:hover {
    background: linear-gradient(135deg, #00C853, #00E676);
    color: white !important;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 200, 83, 0.35);
}
.btn-section-outline:hover i {
    color: white !important;
}

/* Variante primary — "Promotions" */
.btn-section-primary {
    background: linear-gradient(135deg, #00C853, #00E676);
    color: white !important;
    border: 2px solid transparent;
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.3);
}
.btn-section-primary i {
    color: white !important;
}
.btn-section-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 200, 83, 0.45);
    background: linear-gradient(135deg, #00B248, #00C853);
}

.btn-add-cart {
    width: 100%;
    background: #34d058;
    color: white;
    border: none;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: auto;
}

.btn-add-cart:hover {
    background: #2ea44f;
}

.btn-view-details {
    width: 100%;
    background: transparent;
    color: #28a745;
    border: 1px solid #28a745;
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    margin-bottom: 0.4rem;
}

.btn-view-details:hover {
    background: #28a745;
    color: white;
    text-decoration: none;
}

/* Responsive Fixes */
@media (max-width: 576px) {
    .col-sm-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding: 0 6px !important;
    }

    .card-image-wrapper {
        height: 170px;
    }

    .card-title {
        font-size: 0.75rem;
    }

    .price-regular, .price-promo {
        font-size: 0.8rem;
    }

    .row.g-3 {
        margin: 0 -6px !important;
    }
}

@media (max-width: 375px) {
    .col-sm-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding: 0 4px !important;
    }

    .card-image-wrapper {
        height: 160px;
    }
}

/* ========================================
   SECTION MARQUES — Cartes élégantes
   ======================================== */
.brand-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    padding: 1.8rem 1rem 1.4rem;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, #00C853);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.brand-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0, 200, 83, 0.12);
    border-color: rgba(0, 200, 83, 0.25);
}
.brand-card:hover::before { transform: scaleX(1); }

.brand-card .brand-logo {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-family: Georgia, serif;
    font-weight: 700;
    color: #1a1a1a !important;
    transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
    letter-spacing: -1px;
}
.brand-card:hover .brand-logo {
    background: linear-gradient(135deg, #00C853 0%, #00E676 100%);
    color: white !important;
    transform: scale(1.08) rotate(-3deg);
}
.brand-card .brand-logo i {
    color: inherit !important;
}
.brand-card h6 {
    font-weight: 700 !important;
    font-size: 0.95rem;
    color: #1a1a1a !important;
    letter-spacing: 0.3px;
}
.brand-card .small {
    font-size: 0.75rem !important;
    color: #94a3b8 !important;
}

/* ========================================
   SECTION TÉMOIGNAGES
   ======================================== */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem 1.75rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}
.testimonial-card::before {
    content: '\201C'; /* Big quote mark */
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 8rem;
    font-family: Georgia, serif;
    color: rgba(0, 200, 83, 0.08);
    line-height: 1;
    pointer-events: none;
}
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 200, 83, 0.1);
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00C853 0%, #00E676 100%);
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(0, 200, 83, 0.35);
    flex-shrink: 0;
}

.testimonial-author {
    font-weight: 700 !important;
    font-size: 0.95rem;
    color: #1a1a1a !important;
}

.testimonial-rating {
    margin-bottom: 0.75rem;
    color: #FFC107 !important;
    font-size: 0.9rem;
    letter-spacing: 2px;
}
.testimonial-rating i { color: #FFC107 !important; }

.testimonial-text {
    color: #475569 !important;
    font-style: italic;
    line-height: 1.6;
    font-size: 0.92rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

/* ========================================
   SECTION CATÉGORIES
   ======================================== */
.categories-wrapper {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    justify-content: stretch;
    flex-wrap: unset !important;
}
@media (max-width: 991px) {
    .categories-wrapper { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575px) {
    .categories-wrapper { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
.category-link { display: block; height: 100%; }
.category-modern-card {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    padding: 1.8rem 0.8rem 1.4rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}
.category-modern-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 200, 83, 0.08));
    transition: height 0.35s ease;
}
.category-modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 200, 83, 0.18);
    border-color: rgba(0, 200, 83, 0.3);
}
.category-modern-card:hover::after { height: 60%; }

.category-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #00C853 !important;
    transition: transform 0.35s ease, background 0.35s ease;
    position: relative;
    z-index: 1;
}
.category-icon-wrapper i { color: #00C853 !important; }
.category-modern-card:hover .category-icon-wrapper {
    background: linear-gradient(135deg, #00C853 0%, #00E676 100%);
    transform: scale(1.1) rotate(6deg);
}
.category-modern-card:hover .category-icon-wrapper i { color: white !important; }

.category-name {
    font-size: 1.05rem;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 0.3rem;
    position: relative;
    z-index: 1;
}
.category-count {
    font-size: 0.78rem;
    color: #94a3b8 !important;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* ========================================
   SECTION AVANTAGES (features)
   ======================================== */
.feature-box {
    background: white;
    border-radius: 20px;
    padding: 2.2rem 1.5rem 1.8rem;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}
.feature-box::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(0, 200, 83, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transition: transform 0.5s ease;
}
.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0, 200, 83, 0.12);
}
.feature-box:hover::before {
    transform: scale(1.5);
}
.feature-box > i {
    font-size: 2.6rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, #00C853 0%, #00E676 100%);
    color: white !important;
    box-shadow: 0 8px 20px rgba(0, 200, 83, 0.3);
    margin: 0 auto 1.2rem;
    transition: transform 0.35s ease;
    position: relative;
    z-index: 1;
}
.feature-box:hover > i { transform: scale(1.08) rotate(-6deg); }
.feature-box.text-center { text-align: center; }
.feature-box h4 {
    font-size: 1.2rem;
    font-weight: 800 !important;
    color: #1a1a1a !important;
    margin-bottom: 0.6rem;
    letter-spacing: -0.3px;
    position: relative;
    z-index: 1;
}
.feature-box p {
    color: #64748b !important;
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* Features mini (ligne secondaire) */
.feature-mini {
    background: white;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    padding: 1.2rem 0.8rem !important;
}
.feature-mini:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 200, 83, 0.08);
}
.feature-mini i {
    color: #00C853 !important;
}
.feature-mini h6 {
    font-weight: 700 !important;
    color: #1a1a1a !important;
    font-size: 0.88rem;
    margin-bottom: 0.15rem;
}
.feature-mini p {
    font-size: 0.72rem !important;
    color: #94a3b8 !important;
}

/* ========================================
   NEWSLETTER — Section hero compacte
   ======================================== */
.newsletter-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1f2937 100%);
    border-radius: 0;
    position: relative;
    overflow: hidden;
}
.newsletter-section::before,
.newsletter-section::after {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.4;
    pointer-events: none;
}
.newsletter-section::before {
    background: radial-gradient(circle, #00C853 0%, transparent 70%);
    top: -140px;
    left: -100px;
}
.newsletter-section::after {
    background: radial-gradient(circle, #00E676 0%, transparent 70%);
    bottom: -140px;
    right: -100px;
}
.newsletter-section .container { position: relative; z-index: 1; }

.newsletter-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #00C853 0%, #00E676 100%);
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 10px 30px rgba(0, 200, 83, 0.4);
}
.newsletter-title {
    color: white !important;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}
.newsletter-subtitle {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 1rem;
    margin-bottom: 1.8rem;
}

.newsletter-form {
    display: flex;
    max-width: 520px;
    margin: 0 auto;
    background: white;
    border-radius: 50px;
    padding: 6px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    gap: 4px;
}
.newsletter-form input[type="email"] {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 0 1.25rem !important;
    font-size: 0.95rem;
    color: #1a1a1a !important;
    outline: none !important;
}
.newsletter-form input[type="email"]::placeholder {
    color: #94a3b8 !important;
}
.newsletter-form button {
    border: none;
    background: linear-gradient(135deg, #00C853 0%, #00E676 100%);
    color: white !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
}
.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 200, 83, 0.5);
}
.newsletter-form button i { color: white !important; }

.newsletter-note {
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 0.8rem;
    margin-top: 1rem;
}

@media (max-width: 576px) {
    .newsletter-form { flex-direction: column; padding: 10px; }
    .newsletter-form input[type="email"] { padding: 12px 1rem !important; text-align: center; }
    .newsletter-form button { justify-content: center; }
    .newsletter-title { font-size: 1.5rem; }
}

/* ========================================
   FOOTER — Design moderne sombre
   ======================================== */
footer.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    color: rgba(255, 255, 255, 0.75) !important;
    position: relative;
    overflow: hidden;
}
footer.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00C853 20%, #00E676 50%, #00C853 80%, transparent);
}

/* Partie haute du footer */
.footer-top {
    padding: 3.5rem 0 2rem;
    background: radial-gradient(ellipse at top left, rgba(0, 200, 83, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at bottom right, rgba(0, 230, 118, 0.05) 0%, transparent 50%);
}

/* Marque + logo */
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    color: white !important;
    margin-bottom: 1rem;
}
.footer-brand img {
    height: 48px;
    width: auto;
    mix-blend-mode: screen;
}
.footer-brand span {
    font-family: Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: white !important;
    line-height: 1.1;
    letter-spacing: -0.3px;
}
.footer-brand span small {
    font-size: 0.7rem;
    color: #00E676 !important;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: inherit;
    font-weight: 500;
}
.footer-tagline {
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 320px;
}

/* Réseaux sociaux — cercles avec couleur au hover */
.footer-socials {
    display: flex;
    gap: 10px;
}
.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    text-decoration: none !important;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.social-btn i { color: white !important; }
.social-btn:hover {
    transform: translateY(-3px);
    border-color: transparent;
}
.social-btn.social-facebook:hover { background: #1877F2; box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4); }
.social-btn.social-snapchat:hover { background: #FFFC00; color: #111 !important; box-shadow: 0 8px 20px rgba(255, 252, 0, 0.4); }
.social-btn.social-snapchat:hover i { color: #111 !important; }
.social-btn.social-tiktok:hover { background: linear-gradient(135deg, #25F4EE 0%, #FE2C55 100%); box-shadow: 0 8px 20px rgba(254, 44, 85, 0.4); }
.social-btn.social-whatsapp:hover { background: #25D366; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4); }

/* Titres des colonnes */
.footer-title {
    color: white !important;
    font-size: 0.95rem;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.75rem;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, #00C853, #00E676);
    border-radius: 2px;
}

/* Listes de liens */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a {
    color: rgba(255, 255, 255, 0.65) !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    transition: color 0.2s ease, padding-left 0.25s ease;
    position: relative;
    padding-left: 0;
    display: inline-block;
}
.footer-links a::before {
    content: '›';
    position: absolute;
    left: -8px;
    opacity: 0;
    color: #00E676 !important;
    transition: all 0.25s ease;
    font-weight: 700;
}
.footer-links a:hover {
    color: #00E676 !important;
    padding-left: 14px;
}
.footer-links a:hover::before { opacity: 1; left: 0; }

/* Contact — icônes dans cercles verts */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.9rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75) !important;
}
/* Le texte simple (sans lien) de l'adresse — !important pour battre theme-global.css `body * { color:#000 !important }` */
.footer-contact li > span:not(.contact-icon) {
    color: rgba(255, 255, 255, 0.75) !important;
}
.footer-contact a {
    color: rgba(255, 255, 255, 0.75) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}
.footer-contact a:hover { color: #00E676 !important; }
.contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.15) 0%, rgba(0, 230, 118, 0.1) 100%);
    border: 1px solid rgba(0, 200, 83, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #00E676 !important;
    font-size: 0.9rem;
}
.contact-icon i { color: #00E676 !important; }

/* Partie basse du footer */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 0;
    background: rgba(0, 0, 0, 0.3);
}
.footer-bottom-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.82rem;
}
.footer-copyright strong {
    color: rgba(255, 255, 255, 0.75) !important;
    font-weight: 600;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
}
.footer-legal a {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}
.footer-legal a:hover { color: #00E676 !important; }
.footer-legal .sep { color: rgba(255, 255, 255, 0.3); }

/* Paiements */
.footer-payments {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5) !important;
    flex-wrap: wrap;
}
.payments-label { color: rgba(255, 255, 255, 0.5) !important; }
.footer-payments i {
    font-size: 1.7rem;
    color: rgba(255, 255, 255, 0.7) !important;
    transition: color 0.2s ease;
}
.footer-payments i:hover { color: white !important; }
.payment-badge {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.payment-badge.payment-wave {
    background: #1DC7F9;
    color: white !important;
    box-shadow: 0 2px 8px rgba(29, 199, 249, 0.3);
}
.payment-badge.payment-orange {
    background: #FF7900;
    color: white !important;
    box-shadow: 0 2px 8px rgba(255, 121, 0, 0.3);
}

@media (max-width: 768px) {
    .footer-bottom-grid { justify-content: center; text-align: center; }
    .footer-payments { justify-content: center; }
}
