/* ULTIMATE OVERRIDE - SPÉCIFICITÉ MAXIMALE POUR FORCER LES STYLES MODERNES */

/* Variables avec spécificité maximale */
html body,
html body *,
body,
body * {
    --primary-color: #F3324C !important;
    --text-primary: #1a1a1a !important;
    --text-secondary: #6b7280 !important;
    --text-muted: #9ca3af !important;
    --background-light: #f9fafb !important;
    --border-color: #e5e7eb !important;
    --border-radius: 12px !important;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !impo/* Fix scroll indicator positioning avec spécificité maximale - en bas de la section, mieux positionné */
html body main section div.scroll-indicator-container,
html body section div.scroll-indicator-container,
body main section div.scroll-indicator-container,
body section div.scroll-indicator-container,
main section div.scroll-indicator-container,
section div.scroll-indicator-container,
div.scroll-indicator-container,
.scroll-indicator-container {
    position: absolute !important;
    bottom: 1rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 10 !important;
    width: auto !important;
    box-sizing: border-box !important;
}lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Hero Section avec spécificité maximale - hauteur augmentée */
html body main section.modern-hero-section,
html body section.modern-hero-section,
body main section.modern-hero-section,
body section.modern-hero-section,
main section.modern-hero-section,
section.modern-hero-section,
.modern-hero-section {
    min-height: 90vh !important;
    display: flex !important;
    align-items: center !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    position: relative !important;
    padding: 4rem 0 6rem 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    overflow: visible !important;
}

/* Titre hero avec spécificité maximale */
html body main section.modern-hero-section h1.modern-hero-title,
html body section.modern-hero-section h1.modern-hero-title,
body main section h1.modern-hero-title,
body section h1.modern-hero-title,
main section h1.modern-hero-title,
section h1.modern-hero-title,
h1.modern-hero-title,
.modern-hero-title {
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    line-height: 1.1 !important;
    margin-bottom: 1.5rem !important;
    margin-top: 0 !important;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    text-align: center !important;
    letter-spacing: -0.025em !important;
}

/* Sous-titre hero */
html body main section.modern-hero-section p.modern-hero-subtitle,
html body section.modern-hero-section p.modern-hero-subtitle,
body main section p.modern-hero-subtitle,
body section p.modern-hero-subtitle,
main section p.modern-hero-subtitle,
section p.modern-hero-subtitle,
p.modern-hero-subtitle,
.modern-hero-subtitle {
    font-size: 1.25rem !important;
    color: #6b7280 !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    text-align: center !important;
}

/* Container de recherche avec spécificité maximale */
html body main section .modern-search-container,
html body section .modern-search-container,
body main section .modern-search-container,
body section .modern-search-container,
main section .modern-search-container,
section .modern-search-container,
div.modern-search-container,
.modern-search-container {
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    padding: 2rem !important;
    margin: 3rem auto !important;
    border: 1px solid #e5e7eb !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Formulaire de recherche */
html body main section .modern-search-container form.modern-search-form,
html body section .modern-search-container form.modern-search-form,
body main section form.modern-search-form,
body section form.modern-search-form,
main section form.modern-search-form,
section form.modern-search-form,
form.modern-search-form,
.modern-search-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Wrapper des inputs */
html body main section .search-inputs-wrapper,
html body section .search-inputs-wrapper,
body main section .search-inputs-wrapper,
body section .search-inputs-wrapper,
main section .search-inputs-wrapper,
section .search-inputs-wrapper,
div.search-inputs-wrapper,
.search-inputs-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 1rem !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    grid-template-columns: unset !important; /* Override any grid settings */
}

/* Groupe d'input */
html body main section .search-input-group,
html body section .search-input-group,
body main section .search-input-group,
body section .search-input-group,
main section .search-input-group,
section .search-input-group,
div.search-input-group,
.search-input-group {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    flex: 1 !important;
    min-width: 0 !important;
    margin: 0 !important;
}

/* Icônes des inputs */
html body main section .input-icon,
html body section .input-icon,
body main section .input-icon,
body section .input-icon,
main section .input-icon,
section .input-icon,
div.input-icon,
.input-icon {
    position: absolute !important;
    left: 1rem !important;
    z-index: 12 !important;
    pointer-events: none !important;
    color: #9ca3af !important;
    font-size: 1rem !important;
}

/* Inputs modernes */
html body main section input.modern-input,
html body main section select.modern-select,
html body section input.modern-input,
html body section select.modern-select,
body main section input.modern-input,
body main section select.modern-select,
body section input.modern-input,
body section select.modern-select,
main section input.modern-input,
main section select.modern-select,
section input.modern-input,
section select.modern-select,
input.modern-input,
select.modern-select,
.modern-input,
.modern-select {
    width: 100% !important;
    padding: 1rem 1rem 1rem 3rem !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
    background: white !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    outline: none !important;
    box-sizing: border-box !important;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #1a1a1a !important;
    min-height: 50px !important;
}

/* Focus states */
html body main section input.modern-input:focus,
html body main section select.modern-select:focus,
html body section input.modern-input:focus,
html body section select.modern-select:focus,
body main section input.modern-input:focus,
body main section select.modern-select:focus,
body section input.modern-input:focus,
body section select.modern-select:focus,
main section input.modern-input:focus,
main section select.modern-select:focus,
section input.modern-input:focus,
section select.modern-select:focus,
input.modern-input:focus,
select.modern-select:focus,
.modern-input:focus,
.modern-select:focus {
    border-color: #F3324C !important;
    box-shadow: 0 0 0 3px rgba(243, 50, 76, 0.1) !important;
}

/* Bouton de recherche */
html body main section button.modern-search-btn,
html body section button.modern-search-btn,
body main section button.modern-search-btn,
body section button.modern-search-btn,
main section button.modern-search-btn,
section button.modern-search-btn,
button.modern-search-btn,
.modern-search-btn {
    background: #F3324C !important;
    color: white !important;
    border: none !important;
    padding: 1rem 2rem !important;
    border-radius: 12px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 60px !important;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    width: 100% !important;
    margin: 0 !important;
    box-shadow: 0 2px 4px rgba(243, 50, 76, 0.2) !important;
}

/* Hover du bouton */
html body main section button.modern-search-btn:hover,
html body section button.modern-search-btn:hover,
body main section button.modern-search-btn:hover,
body section button.modern-search-btn:hover,
main section button.modern-search-btn:hover,
section button.modern-search-btn:hover,
button.modern-search-btn:hover,
.modern-search-btn:hover {
    background: #e02a42 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

/* Section restaurants en vedette */
html body main section.featured-restaurants-section,
html body section.featured-restaurants-section,
body main section.featured-restaurants-section,
body section.featured-restaurants-section,
main section.featured-restaurants-section,
section.featured-restaurants-section,
.featured-restaurants-section {
    background: #f9fafb !important;
    padding: 5rem 0 !important;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Titres de section */
html body main section h2.section-title,
html body section h2.section-title,
body main section h2.section-title,
body section h2.section-title,
main section h2.section-title,
section h2.section-title,
h2.section-title,
.section-title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 1rem !important;
    margin-top: 0 !important;
    text-align: center !important;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    line-height: 1.2 !important;
}

/* Sous-titres de section */
html body main section p.section-subtitle,
html body section p.section-subtitle,
body main section p.section-subtitle,
body section p.section-subtitle,
main section p.section-subtitle,
section p.section-subtitle,
p.section-subtitle,
.section-subtitle {
    font-size: 1.125rem !important;
    color: #6b7280 !important;
    text-align: center !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    line-height: 1.6 !important;
}

/* Grille des restaurants */
html body main section .restaurants-grid,
html body section .restaurants-grid,
body main section .restaurants-grid,
body section .restaurants-grid,
main section .restaurants-grid,
section .restaurants-grid,
div.restaurants-grid,
.restaurants-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
    gap: 2rem !important;
    margin-top: 3rem !important;
    width: 100% !important;
    padding: 0 !important;
}

/* Cartes restaurant */
html body main section .restaurant-card,
html body section .restaurant-card,
body main section .restaurant-card,
body section .restaurant-card,
main section .restaurant-card,
section .restaurant-card,
div.restaurant-card,
.restaurant-card {
    background: white !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    border: 1px solid #e5e7eb !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Hover des cartes */
html body main section .restaurant-card:hover,
html body section .restaurant-card:hover,
body main section .restaurant-card:hover,
body section .restaurant-card:hover,
main section .restaurant-card:hover,
section .restaurant-card:hover,
div.restaurant-card:hover,
.restaurant-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

/* Stats hero */
html body main section .hero-stats,
html body section .hero-stats,
body main section .hero-stats,
body section .hero-stats,
main section .hero-stats,
section .hero-stats,
div.hero-stats,
.hero-stats {
    margin-top: 3rem !important;
    width: 100% !important;
}

html body main section .stat-item,
html body section .stat-item,
body main section .stat-item,
body section .stat-item,
main section .stat-item,
section .stat-item,
div.stat-item,
.stat-item {
    text-align: center !important;
    padding: 0 !important;
    margin: 0 !important;
}

html body main section .stat-number,
html body section .stat-number,
body main section .stat-number,
body section .stat-number,
main section .stat-number,
section .stat-number,
div.stat-number,
.stat-number {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    display: block !important;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    line-height: 1 !important;
    margin: 0 !important;
}

html body main section .stat-label,
html body section .stat-label,
body main section .stat-label,
body section .stat-label,
main section .stat-label,
section .stat-label,
div.stat-label,
.stat-label {
    font-size: 0.875rem !important;
    color: #6b7280 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-top: 0.5rem !important;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    line-height: 1 !important;
    margin-bottom: 0 !important;
}

/* CORRECTIONS POUR LA BARRE DE NAVIGATION FIXE - SPÉCIFICITÉ MAXIMALE */

/* Fix pour empêcher la navbar fixe de cacher le titre hero */
html body main section.modern-hero-section,
html body section.modern-hero-section,
body main section.modern-hero-section,
body section.modern-hero-section,
main section.modern-hero-section,
section.modern-hero-section,
.modern-hero-section {
    margin-top: 80px !important;
    padding-top: 60px !important;
}

/* Fix spécifique pour le titre hero */
html body main section.modern-hero-section h1.modern-hero-title,
html body section.modern-hero-section h1.modern-hero-title,
body main section h1.modern-hero-title,
body section h1.modern-hero-title,
main section h1.modern-hero-title,
section h1.modern-hero-title,
h1.modern-hero-title,
.modern-hero-title {
    margin-top: 20px !important;
    padding-top: 20px !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Fix pour la première section hero */
html body main section.modern-hero-section:first-of-type,
html body section.modern-hero-section:first-of-type,
body main section.modern-hero-section:first-of-type,
body section.modern-hero-section:first-of-type,
main section.modern-hero-section:first-of-type,
section.modern-hero-section:first-of-type {
    margin-top: 80px !important;
    padding-top: 60px !important;
}

/* CONTENEUR DE RECHERCHE À 100% - SPÉCIFICITÉ MAXIMALE */

/* Conteneur de recherche utilise toute la largeur disponible */
html body main section .modern-search-container,
html body section .modern-search-container,
body main section .modern-search-container,
body section .modern-search-container,
main section .modern-search-container,
section .modern-search-container,
div.modern-search-container,
.modern-search-container {
    width: 100% !important;
    max-width: none !important;
    padding: 2.5rem !important;
    margin: 3rem auto 0 auto !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Améliorer la grille responsive des inputs */
html body main section .search-inputs-wrapper,
html body section .search-inputs-wrapper,
body main section .search-inputs-wrapper,
body section .search-inputs-wrapper,
main section .search-inputs-wrapper,
section .search-inputs-wrapper,
div.search-inputs-wrapper,
.search-inputs-wrapper {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 1.2rem !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    html body main section .modern-search-container,
    html body section .modern-search-container,
    body main section .modern-search-container,
    body section .modern-search-container,
    main section .modern-search-container,
    section .modern-search-container,
    div.modern-search-container,
    .modern-search-container {
        width: 100% !important;
        padding: 2rem !important;
        margin: 2rem auto 0 auto !important;
    }
    
    html body main section .search-inputs-wrapper,
    html body section .search-inputs-wrapper,
    body main section .search-inputs-wrapper,
    body section .search-inputs-wrapper,
    main section .search-inputs-wrapper,
    section .search-inputs-wrapper,
    div.search-inputs-wrapper,
    .search-inputs-wrapper {
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    html body main section .search-inputs-wrapper,
    html body section .search-inputs-wrapper,
    body main section .search-inputs-wrapper,
    body section .search-inputs-wrapper,
    main section .search-inputs-wrapper,
    section .search-inputs-wrapper,
    div.search-inputs-wrapper,
    .search-inputs-wrapper {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

/* Ajustements responsifs pour mobile */
@media (max-width: 768px) {
    html body main section.modern-hero-section,
    html body section.modern-hero-section,
    body main section.modern-hero-section,
    body section.modern-hero-section,
    main section.modern-hero-section,
    section.modern-hero-section,
    .modern-hero-section {
        margin-top: 70px !important;
        padding-top: 50px !important;
    }
    
    html body main section.modern-hero-section h1.modern-hero-title,
    html body section.modern-hero-section h1.modern-hero-title,
    body main section h1.modern-hero-title,
    body section h1.modern-hero-title,
    main section h1.modern-hero-title,
    section h1.modern-hero-title,
    h1.modern-hero-title,
    .modern-hero-title {
        margin-top: 15px !important;
        padding-top: 15px !important;
    }
    
    html body main section.modern-hero-section:first-of-type,
    html body section.modern-hero-section:first-of-type,
    body main section.modern-hero-section:first-of-type,
    body section.modern-hero-section:first-of-type,
    main section.modern-hero-section:first-of-type,
    section.modern-hero-section:first-of-type {
        margin-top: 70px !important;
        padding-top: 50px !important;
    }
}

/* Fix pour s'assurer que le contenu est visible au-dessus de la navbar */
html body main,
body main,
main {
    position: relative !important;
    z-index: 1 !important;
}

html body nav.navbar.fixed-top,
body nav.navbar.fixed-top,
nav.navbar.fixed-top {
    z-index: 1030 !important;
}

/* Fix scroll indicator positioning avec spécificité maximale - en bas de la section, plus espacé */
html body main section div.scroll-indicator-container,
html body section div.scroll-indicator-container,
body main section div.scroll-indicator-container,
body section div.scroll-indicator-container,
main section div.scroll-indicator-container,
section div.scroll-indicator-container,
div.scroll-indicator-container,
.scroll-indicator-container {
    position: absolute !important;
    bottom: -1rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 10 !important;
    width: auto !important;
    box-sizing: border-box !important;
}

html body main section a.scroll-indicator,
html body section a.scroll-indicator,
body main section a.scroll-indicator,
body section a.scroll-indicator,
main section a.scroll-indicator,
section a.scroll-indicator,
a.scroll-indicator,
.scroll-indicator {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 50px !important;
    height: 50px !important;
    background-color: var(--primary-color) !important;
    color: white !important;
    border-radius: 50% !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 15px rgba(243, 50, 76, 0.3) !important;
    position: relative !important;
    animation: bounce 2s infinite !important;
    border: none !important;
    outline: none !important;
    cursor: pointer !important;
}

html body main section a.scroll-indicator:hover,
html body section a.scroll-indicator:hover,
body main section a.scroll-indicator:hover,
body section a.scroll-indicator:hover,
main section a.scroll-indicator:hover,
section a.scroll-indicator:hover,
a.scroll-indicator:hover,
.scroll-indicator:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(243, 50, 76, 0.4) !important;
    color: white !important;
    text-decoration: none !important;
    background-color: var(--primary-color) !important;
}

html body main section a.scroll-indicator i,
html body section a.scroll-indicator i,
body main section a.scroll-indicator i,
body section a.scroll-indicator i,
main section a.scroll-indicator i,
section a.scroll-indicator i,
a.scroll-indicator i,
.scroll-indicator i {
    font-size: 16px !important;
    color: white !important;
    line-height: 1 !important;
}

/* Animation bounce pour l'indicateur */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Assurer que la section hero a position relative pour l'indicateur */
html body main section.modern-hero-section,
html body section.modern-hero-section,
body main section.modern-hero-section,
body section.modern-hero-section,
main section.modern-hero-section,
section.modern-hero-section,
.modern-hero-section {
    position: relative !important;
    overflow: visible !important;
}

/* Ajouter plus d'espacement en bas de la section hero pour l'indicateur */
html body main section.modern-hero-section,
html body section.modern-hero-section,
body main section.modern-hero-section,
body section.modern-hero-section,
main section.modern-hero-section,
section.modern-hero-section,
.modern-hero-section {
    padding-bottom: 5rem !important;
    margin-bottom: 2rem !important;
}

/* ========== AMÉLIORATIONS SECTION BENEFITS ========== */

/* Background amélioré pour la section */
html body main section.modern-benefits-section,
html body section.modern-benefits-section,
body main section.modern-benefits-section,
body section.modern-benefits-section,
main section.modern-benefits-section,
section.modern-benefits-section,
.modern-benefits-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%) !important;
    padding: 8rem 0 6rem 0 !important; /* Plus d'espacement en haut */
    position: relative !important;
    overflow: hidden !important;
}

.modern-benefits-section::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23F3324C" fill-opacity="0.03"><circle cx="30" cy="30" r="2"/></g></svg>') !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

.modern-benefits-section .container {
    position: relative !important;
    z-index: 1 !important;
}

/* Décoration du titre */
.title-decoration {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    margin-top: 1rem !important;
}

.decoration-line {
    width: 40px !important;
    height: 2px !important;
    background: linear-gradient(90deg, transparent, #F3324C, transparent) !important;
}

.decoration-dot {
    width: 8px !important;
    height: 8px !important;
    background: #F3324C !important;
    border-radius: 50% !important;
}

/* Cartes d'avantages améliorées */
.benefit-card.modern-card {
    background: white !important;
    border-radius: 20px !important;
    padding: 2.5rem 2rem !important;
    text-align: center !important;
    position: relative !important;
    border: none !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden !important;
    height: 100% !important;
}

.benefit-card.modern-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 4px !important;
    background: linear-gradient(90deg, #F3324C, #ff6b6b) !important;
    transform: scaleX(0) !important;
    transition: transform 0.3s ease !important;
}

.benefit-card.modern-card:hover::before {
    transform: scaleX(1) !important;
}

.benefit-card.modern-card:hover {
    transform: translateY(-12px) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

/* Icônes avec gradients */
.benefit-icon.gradient-primary {
    background: linear-gradient(135deg, #F3324C, #ff6b6b) !important;
}

.benefit-icon.gradient-success {
    background: linear-gradient(135deg, #10b981, #34d399) !important;
}

.benefit-icon.gradient-warning {
    background: linear-gradient(135deg, #f59e0b, #fbbf24) !important;
}

.benefit-icon.gradient-info {
    background: linear-gradient(135deg, #3b82f6, #60a5fa) !important;
}

.benefit-icon {
    width: 90px !important;
    height: 90px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 2rem !important;
    color: white !important;
    font-size: 2.5rem !important;
    transition: all 0.4s ease !important;
    position: relative !important;
    z-index: 2 !important;
}

.benefit-card.modern-card:hover .benefit-icon {
    transform: scale(1.15) rotate(10deg) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

/* Numéros d'étapes */
.benefit-number {
    position: absolute !important;
    top: 1rem !important;
    right: 1rem !important;
    width: 30px !important;
    height: 30px !important;
    background: rgba(243, 50, 76, 0.1) !important;
    color: #F3324C !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    font-family: 'Poppins', sans-serif !important;
}

/* Statistiques */
.benefits-stats {
    margin-top: 4rem !important;
    padding: 3rem 2rem !important;
    background: rgba(243, 50, 76, 0.05) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(243, 50, 76, 0.1) !important;
}

.benefits-stats .stat-item {
    text-align: center !important;
    padding: 1rem !important;
}

.benefits-stats .stat-number {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: #F3324C !important;
    display: block !important;
    font-family: 'Poppins', sans-serif !important;
    line-height: 1 !important;
}

.benefits-stats .stat-label {
    font-size: 0.875rem !important;
    color: #6b7280 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-top: 0.5rem !important;
    font-weight: 600 !important;
}

/* Témoignage amélioré */
.testimonial-card.modern-testimonial {
    background: white !important;
    border-radius: 24px !important;
    padding: 3rem !important;
    position: relative !important;
    border: 1px solid rgba(243, 50, 76, 0.1) !important;
    overflow: hidden !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
}

.testimonial-pattern {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 100px !important;
    height: 100px !important;
    background: linear-gradient(135deg, rgba(243, 50, 76, 0.1), rgba(255, 107, 107, 0.1)) !important;
    border-radius: 0 24px 0 100px !important;
}

.testimonial-quote {
    font-size: 3rem !important;
    color: #F3324C !important;
    margin-bottom: 1.5rem !important;
    opacity: 0.3 !important;
}

.testimonial-text {
    font-size: 1.125rem !important;
    line-height: 1.8 !important;
    color: #374151 !important;
    font-style: italic !important;
    margin-bottom: 2rem !important;
    position: relative !important;
    z-index: 1 !important;
}

.testimonial-author {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
}

.author-avatar {
    position: relative !important;
}

.author-avatar img {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    border: 3px solid white !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.avatar-badge {
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 24px !important;
    height: 24px !important;
    background: #10b981 !important;
    color: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.75rem !important;
    border: 2px solid white !important;
}

.author-info {
    flex: 1 !important;
}

.author-name {
    font-weight: 700 !important;
    color: #1f2937 !important;
    font-size: 1.1rem !important;
    margin-bottom: 0.25rem !important;
}

.author-role {
    color: #6b7280 !important;
    font-size: 0.9rem !important;
}

.testimonial-rating {
    display: flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    color: #fbbf24 !important;
    font-size: 1.1rem !important;
}

.rating-text {
    color: #1f2937 !important;
    font-weight: 600 !important;
    margin-left: 0.5rem !important;
}

/* ========== SECTION DEMO AMÉLIORÉE ========== */

.demo-section-enhanced {
    position: relative !important;
    padding-top: 8rem !important;
    padding-bottom: 5rem !important;
}

.demo-title-enhanced {
    margin-top: 2rem !important;
    padding-top: 1.5rem !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    text-align: center !important;
    position: relative !important;
    font-family: 'Poppins', sans-serif !important;
}

.demo-title-enhanced::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 60px !important;
    height: 4px !important;
    background: linear-gradient(90deg, #F3324C, #ff6b6b) !important;
    border-radius: 2px !important;
}

/* ========== ANIMATIONS AVANCÉES POUR BENEFITS ========== */

/* Animation pour les compteurs de statistiques */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.counter {
    animation: countUp 0.6s ease-out forwards;
}

/* Animation de l'indicateur de progression */
@keyframes progressBar {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

/* Animation des cartes d'avantages */
.benefit-card.modern-card {
    opacity: 0 !important;
    transform: translateY(30px) !important;
    animation: cardFadeIn 0.6s ease-out forwards !important;
}

.benefit-card.modern-card:nth-child(1) {
    animation-delay: 0.1s !important;
}

.benefit-card.modern-card:nth-child(2) {
    animation-delay: 0.2s !important;
}

.benefit-card.modern-card:nth-child(3) {
    animation-delay: 0.3s !important;
}

.benefit-card.modern-card:nth-child(4) {
    animation-delay: 0.4s !important;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation des icônes flottantes */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.benefit-icon {
    animation: float 3s ease-in-out infinite !important;
}

.benefit-icon.gradient-primary {
    animation-delay: 0s !important;
}

.benefit-icon.gradient-success {
    animation-delay: 0.7s !important;
}

.benefit-icon.gradient-warning {
    animation-delay: 1.4s !important;
}

.benefit-icon.gradient-info {
    animation-delay: 2.1s !important;
}

/* Animation de pulsation pour les numéros */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.benefit-number {
    animation: pulse 2s ease-in-out infinite !important;
}

/* Animation de la section témoignage */
.testimonial-card.modern-testimonial {
    opacity: 0 !important;
    transform: scale(0.95) !important;
    animation: testimonialZoom 0.8s ease-out 0.6s forwards !important;
}

@keyframes testimonialZoom {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation des étoiles de notation */
.testimonial-rating i {
    animation: starTwinkle 1.5s ease-in-out infinite alternate !important;
}

.testimonial-rating i:nth-child(1) { animation-delay: 0s !important; }
.testimonial-rating i:nth-child(2) { animation-delay: 0.1s !important; }
.testimonial-rating i:nth-child(3) { animation-delay: 0.2s !important; }
.testimonial-rating i:nth-child(4) { animation-delay: 0.3s !important; }
.testimonial-rating i:nth-child(5) { animation-delay: 0.4s !important; }

@keyframes starTwinkle {
    from {
        transform: scale(1);
        opacity: 1;
    }
    to {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Animation de la décoration du titre */
.decoration-line {
    width: 0 !important;
    animation: lineExpand 0.8s ease-out 0.3s forwards !important;
}

@keyframes lineExpand {
    to {
        width: 40px !important;
    }
}

.decoration-dot {
    transform: scale(0) !important;
    animation: dotAppear 0.4s ease-out 0.8s forwards !important;
}

@keyframes dotAppear {
    to {
        transform: scale(1) !important;
    }
}

/* Animation de shimmer pour les statistiques */
.benefits-stats .stat-number::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent) !important;
    animation: shimmer 2s infinite !important;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Désactiver les animations si l'utilisateur préfère réduire le mouvement */
@media (prefers-reduced-motion: reduce) {
    .benefit-card.modern-card,
    .benefit-icon,
    .benefit-number,
    .testimonial-card.modern-testimonial,
    .testimonial-rating i,
    .decoration-line,
    .decoration-dot,
    .counter {
        animation: none !important;
    }
    
    .benefit-card.modern-card {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .testimonial-card.modern-testimonial {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Animation du pattern du témoignage */
.testimonial-pattern::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><g fill="%23F3324C" fill-opacity="0.1"><circle cx="20" cy="20" r="1"/></g></svg>') !important;
    animation: patternMove 20s linear infinite !important;
}

@keyframes patternMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(20px, 20px);
    }
}

/* ========== SCRIPT JAVASCRIPT INTÉGRÉ POUR ANIMATIONS ========== */
/* Ce script sera exécuté quand la page se charge */

document.addEventListener('DOMContentLoaded', function() {
    
    // Fonction pour animer les compteurs
    function animateCounters() {
        const counters = document.querySelectorAll('.benefits-stats .counter');
        
        const animateNumber = (element, target, duration = 2000) => {
            const start = 0;
            const increment = target / (duration / 16);
            let current = start;
            
            const timer = setInterval(() => {
                current += increment;
                if (current >= target) {
                    current = target;
                    clearInterval(timer);
                }
                
                // Extraire le nombre du texte
                const originalText = element.textContent;
                const numMatch = originalText.match(/\d+/);
                const suffix = originalText.replace(/\d+/, '');
                
                element.textContent = Math.floor(current) + suffix;
            }, 16);
        };
        
        // Observer d'intersection pour démarrer l'animation quand visible
        const observer = new IntersectionObserver((entries) => {
            entries.forEach(entry => {
                if (entry.isIntersecting && !entry.target.classList.contains('animated')) {
                    entry.target.classList.add('animated');
                    
                    const text = entry.target.textContent;
                    const numMatch = text.match(/\d+/);
                    
                    if (numMatch) {
                        const target = parseInt(numMatch[0]);
                        animateNumber(entry.target, target, 1500);
                    }
                }
            });
        }, { threshold: 0.5 });
        
        counters.forEach(counter => {
            observer.observe(counter);
        });
    }
    
    // Fonction pour ajouter des effets de parallaxe subtiles
    function initParallaxEffects() {
        const benefitIcons = document.querySelectorAll('.benefit-icon');
        
        window.addEventListener('scroll', () => {
            const scrolled = window.pageYOffset;
            
            benefitIcons.forEach((icon, index) => {
                const rate = scrolled * -0.1 * (index + 1);
                icon.style.transform = `translateY(${rate}px)`;
            });
        });
    }
    
    // Fonction pour les effets de hover améliorés
    function initHoverEffects() {
        const benefitCards = document.querySelectorAll('.benefit-card.modern-card');
        
        benefitCards.forEach(card => {
            card.addEventListener('mouseenter', function() {
                this.style.transform = 'translateY(-15px) scale(1.02)';
                
                const icon = this.querySelector('.benefit-icon');
                if (icon) {
                    icon.style.transform = 'scale(1.2) rotate(10deg)';
                }
            });
            
            card.addEventListener('mouseleave', function() {
                this.style.transform = 'translateY(0) scale(1)';
                
                const icon = this.querySelector('.benefit-icon');
                if (icon) {
                    icon.style.transform = 'scale(1) rotate(0deg)';
                }
            });
        });
    }
    
    // Fonction pour les effets de typing sur le titre de démo
    function initTypingEffect() {
        const demoTitle = document.querySelector('.demo-title-enhanced');
        
        if (demoTitle) {
            const text = demoTitle.textContent;
            demoTitle.textContent = '';
            
            let index = 0;
            const typeInterval = setInterval(() => {
                demoTitle.textContent += text[index];
                index++;
                
                if (index >= text.length) {
                    clearInterval(typeInterval);
                }
            }, 50);
        }
    }
    
    // Initialiser toutes les fonctions
    try {
        animateCounters();
        initHoverEffects();
        
        // Ajouter un délai pour l'effet typing
        setTimeout(initTypingEffect, 500);
        
        // Effects de parallaxe désactivés sur mobile pour les performances
        if (window.innerWidth > 768) {
            initParallaxEffects();
        }
        
        console.log('✅ Animations des sections améliorées initialisées');
    } catch (error) {
        console.log('⚠️ Erreur lors de l\'initialisation des animations:', error);
    }
});

/* Fin du script JavaScript intégré */

/* ========== FIX BENEFITS GRID - CARTES SUR LA MÊME LIGNE ========== */

/* Grille benefits avec largeur minimum augmentée pour forcer 4 cartes sur la même ligne */
html body main section .benefits-grid,
html body section .benefits-grid,
body main section .benefits-grid,
body section .benefits-grid,
main section .benefits-grid,
section .benefits-grid,
div.benefits-grid,
.benefits-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important; /* Forcer 4 colonnes égales */
    gap: 2rem !important;
    margin-top: 3rem !important;
    width: 100% !important;
    padding: 0 !important;
}

/* Responsive pour tablets - SEULEMENT EN DESSOUS DE 992px (tablets) */
@media (max-width: 991px) {
    html body main section .benefits-grid,
    html body section .benefits-grid,
    body main section .benefits-grid,
    body section .benefits-grid,
    main section .benefits-grid,
    section .benefits-grid,
    div.benefits-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* 2 colonnes sur tablet */
        gap: 1.5rem !important;
    }
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    html body main section .benefits-grid,
    html body section .benefits-grid,
    body main section .benefits-grid,
    body section .benefits-grid,
    main section .benefits-grid,
    section .benefits-grid,
    div.benefits-grid,
    .benefits-grid {
        grid-template-columns: 1fr !important; /* 1 colonne sur mobile */
        gap: 1.5rem !important;
    }
}

/* S'assurer que les cartes ont une hauteur égale */
html body main section .benefit-card,
html body section .benefit-card,
body main section .benefit-card,
body section .benefit-card,
main section .benefit-card,
section .benefit-card,
div.benefit-card,
.benefit-card {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* ========== FIN FIX BENEFITS GRID ========== */
