/* Importer le thème principal */
@import url('theme.css');

/* Reset et base */
/* Note: les variables de couleur sont maintenant définies dans theme.css */

/* Styles pour la page d'accueil */
.hero-content {
    position: relative;
    z-index: 2;
}

.signup{
    margin-top: 5rem !important;
}
.hero-section {
    background-color: var(--white-color);
    color: var(--text-dark);
    padding-top: 120px;
    padding-bottom: 30px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-description {
    font-size: 1rem;
    opacity: 0.9;
    flex-grow: 1;
}

.benefit-stat {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
    color: var(--text-light);
}

.cta-section {
    margin-top: 3rem;
    text-align: center;
}

.cta-button {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
    background: var(--primary-dark);
    color: var(--text-light);
    text-decoration: none;
}

.solution-section {
    padding: 80px 0;
    background: var(--gray-light);
}

.gray-section {
    background: var(--gray-light);
}

.solution-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-left: 0;
    margin-right: auto;
    margin-top: 2rem;
}

.solution-card {
    background: var(--white-color);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.solution-card:hover {
    transform: translateY(-5px);
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.solution-description {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.solution-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.solution-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.solution-features li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.solution-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
}

.solution-link:hover {
    text-decoration: none;
    color: var(--primary-dark);
}

.section-title {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.text-start .section-title.text-start {
    text-align: left !important;
}

.section-subtitle, .solution-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.demo-section {
    padding: 50px 0;
    background-color: var(--white-color);
}

.demo-video-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: var(--primary-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.demo-video-icon:hover {
    background: var(--primary-dark);
    color: var(--text-light);
}

/* Navigation - Menus principaux */
.navbar-nav > li > a {
    font-weight: 1000;
    font-size: 16px;
    padding: 12px 20px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Sous-menus - Style différencié */
.navbar-nav .dropdown-menu {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 8px;
}

.navbar-nav .dropdown-menu .dropdown-item {
    font-weight: 400;
    font-size: 20px;
    padding: 8px 7px 4px;
    color: #6c757d;
    text-transform: none;
    letter-spacing: normal;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    margin-bottom: -7px;
}
.sub-item{
    font-size: 5px !important;
    padding: 5px 20px 5px !important;
    color: #6c757d;
    text-transform: none;
    letter-spacing: normal;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}
.navbar-nav .dropdown-menu .dropdown-item:hover {
    background-color: #e9ecef;
    color: #495057;
    border-left-color: #1c4532;
    padding-left: 20px;
}

.sub-item:hover {
    background-color: #e9ecef;
    color: #495057;
    border-left-color: #1c4532;
    padding-left: 40px !important;
}

.sub-item::before {
    content: "▸ ";
}

/* Indicateur visuel pour les sous-menus */
.navbar-nav .dropdown-menu .dropdown-item::before {
    color: #6c757d;
    font-size: 12px;
    margin-right: 8px;
}

/* Séparateurs entre les groupes de sous-menus */
.navbar-nav .dropdown-menu .dropdown-divider {
    margin: 8px 0;
    border-color: #dee2e6;
}


/* Responsive pour la page d'accueil */
@media (max-width: 1200px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Styles spécifiques pour tablettes (768px à 992px) */
@media (min-width: 768px) and (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 800px;
    }

    .benefit-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: left !important;
    }

    .benefit-icon {
        width: 80px;
        height: 80px;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 0;
        margin-right: 1.5rem;
        font-size: 2.5rem;
        color: white;
        flex-shrink: 0;
        align-self: center;
    }

    .benefit-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        justify-content: center;
    }

    .benefit-title {
        font-size: 1.4rem;
        font-weight: 600;
        margin-bottom: 0.75rem;
        color: var(--text-light);
        text-align: left;
        width: 100%;
    }

    .benefit-description {
        font-size: 1rem;
        opacity: 0.9;
        line-height: 1.5;
        text-align: left;
        width: 100%;
    }

    .hero-content.text-center .benefits-grid {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .benefit-card {
        padding: 1.5rem;
    }

    .benefit-title {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .benefit-stat {
        font-size: 2rem;
        margin: 0.5rem 0;
    }

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

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

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-section {
        padding-top: 90px;
        padding-bottom: 30px;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .cta-section {
        margin-top: 2rem;
    }

    .solution-section {
        padding: 50px 0;
    }

    .solution-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .solution-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .solution-card {
        padding: 1.5rem;
    }

    .solution-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        margin-bottom: 1rem;
        background: var(--primary-color);
        color: var(--text-light);
    }

    .demo-section {
        padding: 50px 0;
    }

    .demo-video {
        height: 250px;
        font-size: 3rem;
    }

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

    .section-subtitle {
        font-size: 1rem;
    }
}

/* Styles pour la page ERP */
.benefit-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #000000 120%);
    color: var(--text-light);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

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

.benefit-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 3rem;
    color: white;
}

.benefit-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
}


.module-card:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.module-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.module-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.module-description {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.module-features {
    list-style: none;
    padding-left: 0;
}

.module-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    color: var(--text-dark);
}

.module-features li i {
    color: var(--primary-color);
    margin-right: 0.8rem;
}

/* Animation pour les cartes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.demo-video {
    background: linear-gradient(135deg, var(--primary-color) 0%, #000000 120%);
    height: 400px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.demo-video:hover {
    transform: scale(1.02);
    box-shadow: var(--box-shadow);
}

/* Styles pour la page Pricing */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    max-width: 280px;
}

.toggle-label {
    font-size: 0.95rem;
    margin: 0 6px;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.discount-badge {
    font-size: 0.75rem;
    padding: 0.1rem 0.3rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 3px;
    margin-left: 5px;
    display: inline-block;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin: 0 5px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Responsive */
@media (max-width: 576px) {
    .benefit-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .demo-video {
        height: 250px;
        font-size: 3rem;
    }
    }

    /* Styles pour la page ERP */
    .pill-module {
    transition: all 0.2s ease;
        font-size: 9px;
        padding: 2px 6px;
        border-radius: 10px;
        background: rgba(28, 69, 50, 0.1);
        white-space: nowrap;
    }

    .pill-module:hover {
    background: rgba(28, 69, 50, 0.2) !important;
    transform: translateY(-1px);
    }

    .module-card:hover .module-icon {
        background: white;
        color: var(--primary-color);
        transform: scale(1.1);
    }
    .module-card:hover .module-name {
        color: white;
    }
    .module-icon, .app-icon {
    background: var(--primary-color);
    }

    .external-app {
    background: linear-gradient(135deg, rgba(28, 69, 50, 0.05) 0%, rgba(28, 69, 50, 0.1) 100%);
    color: #1c4532;
    }

    .modules-base {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        margin-top: 5px;
    }

    .up-transition-fade {
        height: 3rem;
        background: linear-gradient(to bottom, var(--white-color), var(--gray-light));
    }

    .down-transition-fade {
        height: 3rem;
        background: linear-gradient(to top, var(--white-color), var(--gray-light));
    }

    .gray-section {
        background-color: var(--gray-light);
        padding: 0px 0;
    }

    /* Styles de la page pricing responsives */
    .billing-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 300px;
        margin-top: 1rem;
    }

    .toggle-label {
        font-size: 0.9rem;
    }

    /* Style hauteur auto supprimé pour permettre l'égalisation des hauteurs */

    .card-header h3 {
        font-size: 1.3rem;
    }

    .price-amount {
        font-size: 2.2rem;
    }


/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--secondary-color);
    background-color: var(--white-color);
    margin-top: 2.5rem;
}

/* Navigation */
.custom-navbar {
    background-color: var(--primary-color) !important; /* Navbar en vert */
    padding: 1rem 0; /* Plus de hauteur */
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5); /* Ombre plus importante */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-light) !important; /* Texte blanc */
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--text-light) !important; /* Liens en blanc */
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important; /* Hover légèrement transparent */
}

/* Style spécifique pour le bouton Se connecter */
.navbar-dark .navbar-nav .btn-outline-light:hover {
    background-color: var(--white-color) !important;
    color: var(--primary-color) !important;
    border-color: var(--white-color) !important;
    text-decoration: none;
}

/* Styles pour le menu déroulant Solutions */
.dropdown-menu {
    background-color: var(--white-color);
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-top: 0.5rem;
    padding: 0.75rem 0;
    min-width: 280px;
}

/* Style spécifique pour le menu solutions */
.solutions-menu {
    padding: 0.5rem;
}

.solutions-menu .dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.solutions-menu .dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(28, 69, 50, 0.1);
    border-radius: 50%;
    margin-right: 1rem;
    color: var(--primary-color);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.dropdown-content {
    display: flex;
    flex-direction: column;
}

.dropdown-title {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: -0.75rem;
}

.dropdown-desc {
    font-size: 0.75rem;
    color: var(--gray-medium);
}

.solutions-menu .dropdown-item:hover {
    background-color: rgba(28, 69, 50, 0.05);
    text-decoration: none;
}

.solutions-menu .dropdown-item:hover .dropdown-icon {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.solutions-menu .dropdown-item:hover .dropdown-title {
    color: var(--primary-color);
}

.dropdown-divider {
    border-top: 1px solid var(--border-color);
    margin: 0.5rem 0;
    opacity: 0.1;
}

.navbar-dark .navbar-nav .dropdown-toggle::after {
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* Contenu principal */
.main-content {
    margin-top: 0;
    min-height: calc(100vh - 160px);
}

/* Section Hero */
.hero-section {
    background-color: var(--white-color);
    padding: 100px 0px 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--gray-medium);
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--text-light) !important;
}

.btn-primary:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    color: var(--text-light) !important;
}

.btn-outline-primary {
    background-color: transparent !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    color: var(--text-light) !important;
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--text-light);
}

.btn-accent {
    background-color: var(--accent-1);
    border-color: var(--accent-1);
    color: var(--text-light);
}

.btn-accent:hover {
    background-color: #E67E22;
    border-color: #E67E22;
    color: var(--text-light);
    color: var(--text-light);
}

.modules-showcase .section-title {
    color: var(--text-light);
}

.modules-showcase .section-subtitle {
    color: var(--text-light);
    opacity: 0.8;
}

.placeholder-image {
    text-align: center;
    padding: 50px;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    color: var(--gray-medium);
}

/* Section Features */
.features-section {
    padding: 80px 0;
    background-color: var(--white-color);
}

.features-section h2 {
    color: var(--primary-color);
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
    background-color: var(--gray-light);
    box-shadow: var(--box-shadow);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Section Pricing */
.pricing-section {
    padding: 20px 0;
    background-color: var(--white-color);
}

/* Conteneur pour les cartes de prix avec hauteur égale */
.pricing-cards-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.pricing-cards-row > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

.pricing-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.pricing-subtitle {
    font-size: 1.25rem;
    color: var(--gray-medium);
    margin-bottom: 3rem;
}

/* Toggle Switch */
.pricing-toggle-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.billing-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--gray-light);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.toggle-label {
    font-weight: 500;
    color: var(--gray-medium);
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Élément indenté dans le menu dropdown */
.dropdown-item-indent {
    padding-left: 1rem;
    position: relative;
}

/* Sous-menus déroulants */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.discount-badge {
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.module-card .module-description {
    flex-grow: 1;
}

/* Cartes de prix */
.pricing-card {
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: visible;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    border: 3px solid var(--primary-color);
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -36px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 0.5rem;
    border-radius: 20px 20px 0 0;
    font-size: 0.775rem;
    font-weight: bold;
}

.card-header {
    padding: 1.5rem 2rem;
    text-align: center;
    background-color: var(--gray-light);
    height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.card-subtitle {
    color: var(--gray-medium);
    font-size: 0.875rem;
}

/* Badge barre horizontale pour les plans */
.plan-badge-bar {
    width: 100%;
    height: 10px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-badge-bar-bronze {
    background: linear-gradient(135deg, #CD7F32, #B87333, #8B5A3C, #B87333, #CD7F32);
    box-shadow: 0 4px 10px rgba(205, 127, 50, 0.4);
}

.plan-badge-bar-argent {
    background: linear-gradient(135deg, #E8E8E8, #C0C0C0, #A8A8A8, #C0C0C0, #E8E8E8);
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.6);
    color: #333;
}

.plan-badge-bar-or {
    background: linear-gradient(135deg, #FFD700, #FFA500, #FFED4E, #FFA500, #FFD700);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
}

.plan-badge-bar-platine {
    background: linear-gradient(135deg, #F5F5F5, #FFFFFF, #E8E8E8, #FFFFFF, #F5F5F5);
    box-shadow: 0 4px 20px rgba(245, 245, 245, 0.8);
    color: #333;
}

.card-body {
    padding: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.price {
    text-align: center;
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
}

.price-period {
    font-size: 1rem;
    color: var(--gray-medium);
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.features-list li {
    padding: 0;
    color: var(--gray-medium);
}

.features-list i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.btn-block {
    width: 100%;
    padding: 1.2rem!important;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    margin-top: auto;
    font-weight: 600;
    font-size: 1.1rem;
}
.btn-link-link{
    color: var(--primary-color);
    text-decoration: none;
}
.btn-link-link:hover{
    color: var(--primary-dark);
    text-decoration: underline;
}
.btn-link-link:focus{
    color: var(--primary-dark);
    text-decoration: underline;
}

.guarantee-text {
    color: var(--gray-medium);
    font-size: 0.875rem;
}

/* Section Contact */
.contact-section {
    padding: 80px 0;
    background-color: var(--white-color);
}

.contact-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-subtitle {
    font-size: 1.25rem;
    color: var(--gray-medium);
    margin-bottom: 3rem;
}

.contact-form-container {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--secondary-color);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(20, 83, 45, 0.25) !important; /* Couleur d'ombre verte au focus */
}

/* Override des couleurs Bootstrap */
.alert-primary {
    background-color: var(--primary-light) !important;
    border-color: var(--primary-color) !important;
    color: var(--text-light) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}


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

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 2rem 0;
    margin-top: 1rem;
}

/* Démo thème (seulement visible en mode debug) */
.theme-demo-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--text-light) !important;
    padding: 10px 15px;
    border-radius: var(--border-radius);
    text-decoration: none !important;
    z-index: 1000;
    box-shadow: var(--box-shadow);
    display: none; /* Caché par défaut, sera affiché conditionnellement */
}

.theme-demo-link:hover {
    background: var(--primary-dark);
    text-decoration: none !important;
}

/* Afficher seulement en mode DEBUG */
body.debug .theme-demo-link {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

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

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

    .contact-form-container {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 30px 0;
    }
    .signup{
        margin-top: 20% !important;
    }
    .hero-title {
        font-size: 2rem;
    }
}

/* Suppression complète des puces dans la navigation */
.navbar-nav,
.dropdown-menu,
.dropdown-menu ul {
    list-style: none !important;
    list-style-type: none !important;
}

.navbar-nav li,
.dropdown-menu li {
    list-style: none !important;
    list-style-type: none !important;
}

/* Suppression des pseudo-éléments */
.dropdown-menu li::before,
.dropdown-menu li::after {
    content: none !important;
    display: none !important;
}

/* Style pour les titres de sections dans le dropdown */
.dropdown-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1C4532FF;
    display: block;
    margin-bottom: -5px;
}

/* Espacement des éléments indentés */
.dropdown-item.ps-4 {
    font-size: 0.875rem;
}

/* Séparateur dans le menu dropdown */
.dropdown-separator {
    height: 1px;
    background-color: #e9ecef;
    margin: 8px 0;
    border: none;
}


/* Schéma d'architecture ERP - Version horizontale stylée */
.architecture-schema {
    margin: 0 auto;
    padding-top: 1rem;
    padding-bottom: 3rem;
    padding-left: 3rem;
    padding-right: 3rem;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.architecture-schema::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.schema-flow {
    display: flex;
    align-items: stretch;
    gap: 2rem; /* Réduit de 3rem à 2rem */
    position: relative;
    z-index: 2;
    min-height: 250px; /* Réduit de 300px à 250px */
}


.schema-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    animation: slideInUp 1.2s ease-out forwards; /* Plus lent: 0.8s → 1.2s */
    opacity: 0;
    transform: translateY(50px);
}

/* Délais d'animation plus lents */
.schema-step:nth-child(1) { animation-delay: 0.5s; } /* 0.2s → 0.5s */
.schema-step:nth-child(2) { animation-delay: 1.0s; } /* 0.4s → 1.0s */
.schema-step:nth-child(3) { animation-delay: 1.5s; } /* 0.6s → 1.5s */
.schema-step:nth-child(4) { animation-delay: 2.0s; } /* 0.8s → 2.0s */

.step-header {
    text-align: center;
    margin-bottom: 2rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    box-shadow: 0 8px 20px rgba(28, 69, 50, 0.3);
    animation: pulse 2s infinite;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.step-subtitle {
    font-size: 0.9rem;
    color: var(--secondary-color);
    opacity: 0.8;
}

.step-content {
    flex: 1;
    background: white;
    border-radius: 20px;
    padding: 1rem; /* Réduit de 1.5rem à 1rem */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(28, 69, 50, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 150px; /* Réduit de 200px à 150px */
}


.step-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.module-icon-circle {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.pricing-card:hover .module-icon-circle {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

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

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.benefit-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.demo-video {
    background: #eeeeee;
    height: 350px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.demo-video:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.demo-video-icon {
    font-size: 5rem;
    color: white;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.demo-video:hover .demo-video-icon {
    transform: scale(1.1);
    opacity: 1;
}

.step-content:hover::before {
    transform: scaleX(1);
}

.step-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

/* Contenu spécifique à chaque étape */
.core-components {
    display: flex;
    flex-direction: column;
    gap: 0.6rem; /* Réduit de 1rem à 0.6rem */
    height: 100%;
}

.core-item {
    display: flex;
    align-items: center;
    padding: 0.6rem; /* Réduit de 0.8rem à 0.6rem */
    background: linear-gradient(135deg, rgba(28, 69, 50, 0.05) 0%, rgba(28, 69, 50, 0.1) 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.core-item:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    transform: scale(1.05);
}

.core-icon {
    width: 40px; /* Réduit de 50px à 40px */
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem; /* Réduit de 1.5rem à 1.2rem */
    margin-right: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}


.core-item:hover .core-icon {
    background: white;
    color: var(--primary-color);
    /* Supprimé la rotation à 360deg */
}

.core-info h4 {
    font-size: 0.9rem; /* Réduit de 1rem à 0.9rem */
    font-weight: 600;
    margin-bottom: 0.3rem;
    transition: color 0.3s ease;
}

.core-info p {
    font-size: 0.75rem; /* Réduit de 0.8rem à 0.75rem */
    opacity: 0.8;
    margin: 0;
    transition: color 0.3s ease;
}

/* Modules grid - Module 2 avec icônes blanches sur fond vert */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem; /* Réduit de 0.8rem à 0.6rem */
    height: 100%;
    justify-items: center;
}

.module-card {
    background: linear-gradient(135deg, rgba(28, 69, 50, 0.05) 0%, rgba(28, 69, 50, 0.1) 100%);
    color: white;
    border-radius: 12px;
    padding: 0.6rem; /* Réduit de 0.8rem à 0.6rem */
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.module-card:hover::before {
    left: 100%;
}

.module-icon {
    font-size: 1.2rem; /* Légèrement réduit de 1.5rem à 1.3rem */
    margin-bottom: 0.4rem; /* Réduit de 0.5rem à 0.4rem */
    transition: all 0.3s ease;
    color: white; /* Icônes blanches */
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-name {
    font-size: 0.75rem; /* Réduit de 0.8rem à 0.75rem */
    font-weight: 500;
    color: var(--primary-color);
}

/* Applications externes */
.external-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem; /* Réduit de 0.8rem à 0.6rem */
    height: 100%;
}

.external-app {
    background: linear-gradient(135deg, rgba(28, 69, 50, 0.05) 0%, rgba(28, 69, 50, 0.1) 100%);
    border-radius: 12px;
    padding: 0.6rem; /* Réduit de 0.8rem à 0.6rem */
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.external-app:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    transform: translateY(-5px) rotateY(10deg);
}

.app-icon {
    width: 50px; /* Réduit de 35px à 30px */
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.3rem; /* Réduit de 0.4rem à 0.3rem */
    /*font-size: 1rem; !* Réduit de 1.1rem à 1rem *!*/
    transition: all 0.3s ease;
}


.external-app:hover .app-icon {
    background: white;
    color: var(--primary-color);
    transform: scale(1.2); /* Supprimé la rotation à 360deg */
}

.app-name {
    font-size: 0.75rem; /* Réduit de 0.8rem à 0.75rem */
    font-weight: 500;
}

/* Flèches de connexion - MIEUX CENTRÉES */
.connection-arrow {
    position: absolute;
    top: 50%;
    right: -1.5rem;
    transform: translateY(-50%);
    z-index: 3;
    background: white;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
    /* Ajustement pour centrer au milieu du step-content */
    margin-top: calc(1rem + 25px); /* Compense le header */
}

.step-content:last-child .connection-arrow {
    display: none;
}

.arrow-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    animation: bounce-horizontal 2s infinite;
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes float {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(5px); }
}

@keyframes bounce-horizontal {
    0%, 20%, 50%, 80%, 100% { transform: translateX(0); }
    40% { transform: translateX(5px); }
    60% { transform: translateX(3px); }
}

/* Version mobile responsive */
@media (max-width: 1024px) {
    .schema-flow {
        flex-direction: column;
        gap: 2rem;
        min-height: auto;
    }

    .connection-arrow {
        position: relative;
        right: auto;
        top: auto;
        transform: rotate(90deg);
        margin: 1rem auto;
        margin-top: 1rem;
    }

    .modules-grid,
    .external-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .architecture-schema {
        padding: 2rem 1rem;
    }

    .step-content {
        padding: 1.2rem;
        min-height: 150px;
    }

    .modules-grid,
    .external-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .core-components {
        gap: 0.8rem;
    }

    .core-item {
        padding: 0.6rem;
    }

    .core-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .step-title {
        font-size: 1rem;
    }

    .modules-grid,
    .external-grid {
        grid-template-columns: 1fr;
    }

    .core-components {
        gap: 0.6rem;
    }

    .step-content {
        min-height: 120px;
    }
}

/* Effet de survol global pour le schéma */
.architecture-schema:hover .step-content {
    transform: perspective(1000px) rotateY(2deg);
}

.architecture-schema:hover .step-content:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

