.page-id-4366 {

/* ============================================
   PREMIUM SAAS PRICING PAGE STYLES
   Brand Color: #643AF7
   ============================================ */
.mobile-scroll{
    display: block;
}
.package{
    padding-left: 8px;
    top: 9px;
    right: -27px;
    width: 123px;
    rotate: 36deg;
    position: absolute;
    color: #FFF;
    background: linear-gradient(45deg, #FF9F6C, #FF5A00);
    font-size: 13px;
}

/* =========================
   TABLE DISPLAY FIX
   ========================= */
.table-desktop {
    display: block !important;
}

.table-mobile {
    display: none !important;
}
/* Style principal du bouton Learn More */
.custom-learn-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 0;
    margin-top: 20px; /* Pousse le bouton vers le bas si la carte utilise Flexbox */
    border-top: 1px solid #e0e0e0;
    color: #FF9C66; /* Couleur de votre marque, modifiable */
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.3s ease-in-out;
    background-color: transparent;
    border-bottom-left-radius: inherit; /* S'adapte aux bords arrondis de la carte parent */
    border-bottom-right-radius: inherit;
}

/* Style de l'icône à l'intérieur */
.custom-learn-more i {
    margin-left: 8px;
    transition: transform 0.3s ease; /* Pour l'animation */
}

/* Effets au survol (Hover) */
.custom-learn-more:hover {
    color: #FF5600; /* Plus sombre au survol */
    background-color: #e7e7e7; /* Léger fond gris/bleu */
    text-decoration: none;
}

/* Animation de la flèche qui avance au survol */
.custom-learn-more:hover i {
    transform: translateX(5px); 
}
/* =========================
   BASE
   ========================= */
#main {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    min-height: 100vh;
    padding-bottom: 80px;
}

/* --- HERO SECTION --- */
.bg {
    background: #643af7 !important;
    padding: 100px 20px;
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

.bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.bg > div {
    position: relative;
    z-index: 1;
}

#main >.titre {
    font-size: 44px !important;
    font-weight: 800 !important;
    color: #000000 !important;
    letter-spacing: -0.03em;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}
 
.bg .titre,
.bg h1,
.bg h2,
.bg h3,
.bg h4,
.bg h5,
.bg h6,
.bg .text-white {
    color: #ffffff !important;
}

.souTitre {
    color: #ffffff !important;
    font-weight: 400 !important;
    font-size: 18px;
    line-height: 1.7;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
}

.souTitre i {
    margin: 0 4px;
    color: #FFF;
}

.souTitre span {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

.bg p,
.bg .souTitre {
    color: #ffffff !important;
}

/* --- TOGGLE SWITCHES --- */
.informations {
    margin-bottom: 40px;
    padding: 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(93, 72, 223, 0.08);
}

.form-check-label,
.informations span {
    font-weight: 600;
    color: #1a1f36;
    font-size: 15px;
    letter-spacing: 0.01em;
}

.form-check-input {
    width: 52px !important;
    height: 28px !important;
    background-color: #e2e8f0 !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.form-check-input:checked {
    background-color: #643AF7 !important;
    border-color: #643AF7 !important;
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(100, 58, 247, 0.15) !important;
    border-color: #643AF7 !important;
}

.form-check-input::after {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- PRODUCTS SECTION --- */
.custom-box {
    background: linear-gradient(135deg, rgba(100, 58, 247, 0.03) 0%, rgba(255, 255, 255, 1) 100%) !important;
    border-radius: 24px !important;
    padding: 40px !important;
    border: 1px solid rgba(100, 58, 247, 0.1);
    box-shadow: 0 8px 32px rgba(100, 58, 247, 0.06);
    margin-top: 30px;
}

#btnsconn h5.titre {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #1a1f36 !important;
    margin-bottom: 24px;
}

#buttonsContainer button {
    width: 100%;
    padding: 16px 24px;
    margin-bottom: 12px;
    background: #643AF7;
    border: 2px solid #643AF7;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#buttonsContainer button:hover {
    border-color: #7a59fa;
    background: #7a59fa;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(100, 58, 247, 0.25);
}

#buttonsContainer button.pressedButton {
    background: #643AF7 !important;
    color: #ffffff;
    border-color: #643AF7;
    box-shadow: 0 4px 16px rgba(93, 72, 223, 0.35) !important;
}

/* --- PRICING CARDS --- */
.pricing-border {
    background: #ffffff !important;
    border: 2px solid #f1f5f9 !important;
    border-radius: 20px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    height: 100%;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

.pricing-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #643AF7 0%, #643AF7 100%);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-border:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(100, 58, 247, 0.15), 0 0 0 1px rgba(100, 58, 247, 0.1) !important;
    border-color: #643AF7 !important;
}

.specialpack{
    box-shadow: 0 20px 40px rgba(100, 58, 247, 0.15), 0 0 0 1px rgba(100, 58, 247, 0.1) !important;
    border-color: #643AF7 !important;
}

.pricing-border:hover::before {
    transform: scaleX(1);
}

.packagename {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1a1f36;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.price {
    color: #643AF7 !important;
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    text-align: center;
    margin: 24px 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.price span {
    font-size: 0.4em;
    color: #64748b;
    font-weight: 500;
}

/* --- BUTTONS --- */
.btn-color,
.btn-color-subscribe,
.btn-color-table {
    background: linear-gradient(135deg, #FFB187 0%, #FF6A1A 100%) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 14px 32px !important;
    font-weight: 600 !important;
    font-size: 15px;
    border: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 12px rgba(255, 90, 0, 0.3);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn-color:hover,
.btn-color-subscribe:hover,
.btn-color-table:hover {
    background: linear-gradient(135deg, #643AF7 0%, #643AF7 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 90, 0, 0.4);
}

.btn-color:active,
.btn-color-subscribe:active,
.btn-color-table:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(255, 90, 0, 0.3);
}

/* --- FEATURES LIST --- */
.features {
    list-style: none;
    padding: 0;
    margin-top: 32px;
}

.features li {
    padding: 8px 0;
    font-size: 15px;
    color: #4a5568;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.features li:hover {
    color: #643AF7;
}

.features li i,
.features li .checkicon {
    color: #643AF7;
    margin-right: 12px;
    font-size: 16px;
}

#main > h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #111827;
}

/* =========================
   TABLE (SCOPED ONLY TO HAYNES TABLE)
   ========================= */
.table-responsive {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch; 
    display: block;
}

.table-responsive .haynes-table {
    min-width: 720px;
}

.haynes-table {
    width: 100%;
    border-collapse: separate !important;
    border-spacing: 0;
    background: white;
    border-radius: 22px;
    box-shadow: 0 8px 18px rgba(93, 72, 223, 0.10), 0 3px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    border: none !important;
}

.haynes-table thead {
    position: sticky;
    top: 99px;
    z-index: 9;
    box-shadow: none !important;
}

.haynes-table thead th {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 26px 30px !important;
    font-size: 22px;
    font-weight: 700;
    color: #643AF7;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
    border-left: none !important;
    border-right: none !important;
}

.haynes-table thead th:first-child {
    text-align: center;
    font-size: 25px !important;
    color: #1a1f36;
    border-top-left-radius: 22px;
}

.haynes-table thead th:last-child {
    border-top-right-radius: 22px;
}

.haynes-table thead::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #5D48DF;
    z-index: 101;
    pointer-events: none;
}

.haynes-table .category-row th {
    background: #5D48DF !important;
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 16px !important;
    letter-spacing: 0.08em;
    padding: 18px 30px !important;
    text-align: left;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.haynes-table tbody th,
.haynes-table tbody td {
    padding: 20px 30px !important;
    font-size: 15px;
    color: #4a5568;
    border-bottom: 1px solid #f1f5f9;
    border-top: none !important;
    vertical-align: middle;
    border-right: none !important;
    border-left: none !important;
}

.haynes-table tbody td {
    text-align: center;
}

.haynes-table tbody tr:nth-child(even):not(.category-row) {
    background: #FFF !important;
}

.haynes-table tbody tr:hover:not(.category-row) {
    background: rgba(100, 58, 247, 0.03);
}

.haynes-table tbody tr:last-child th {
    border-bottom-left-radius: 22px;
    border-bottom: none;
}

.haynes-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 22px;
    border-bottom: none;
}

.haynes-table .fa-circle-check {
    color: #643AF7;
    font-size: 20px;
}

.haynes-table .fa-circle-xmark {
    color: #cbd5e1;
    font-size: 20px;
}

/* --- BUTTON CLASS --- */
.btn {
    display: inline-block;
    margin-top: 14px;
    padding: 12px 26px;
    background: linear-gradient(135deg,#643AF7,#643AF7,#FF9F6C);
    color: white;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 600;
    transition: 0.25s;
    font-size: 14px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(100,58,247,0.35);
}

/* --- WARNING MESSAGE --- */
.warn {
    font-size: 14px;
    color: #64748b;
    background: linear-gradient(135deg, rgba(100, 58, 247, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid rgba(100, 58, 247, 0.1);
    margin-top: 32px;
    font-weight: 500;
}

.warn b {
    color: #643AF7;
    font-weight: 600;
}

/* --- UTILITIES --- */
.dis {
    text-decoration: line-through;
    opacity: 0.5;
    color: #94a3b8;
}

.drop {
    cursor: pointer;
    color: #643AF7;
    font-size: 20px;
    transition: all 0.2s ease;
}

.drop:hover {
    color: #643AF7;
    transform: scale(1.1);
}

/* --- RESPONSIVE DESIGN --- */
@media screen and (max-width: 991px) {
    .titre {
        font-size: 36px !important;
    }

    .souTitre {
        font-size: 16px !important;
    }
/* 1. Aligner les bénéfices en liste verticale */
    .souTitre {
        flex-wrap: wrap !important; /* Empile les spans */
        align-items: flex-start !important; /* Aligne à gauche */
       justify-self: center !important;
        font-size: 20px !important;
        gap: 15px !important;
        margin-top: 40px !important;
    }

    .souTitre span {
        margin-bottom: 10px; /* Espace entre les lignes */
        margin-right: 0;
    }

 
    .bg {
        padding: 60px 20px;
    }

    #btnsconn {
        position: sticky;
        top: 105px;
        z-index: 1;
        background: #ffffff;
        padding: 20px;
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        margin-bottom: 24px;
    }

    .pricing-border {
        margin-bottom: 24px;
    }

    .table-responsive .haynes-table {
        min-width: 720px;
    }
}

@media screen and (max-width: 576px) {
    .titre {
        font-size: 28px !important;
    }

    .price {
        font-size: 2.2rem !important;
    }

    .custom-box {
        padding: 24px !important;
    }

    #TablePosition {
        font-size: 28px !important;
    }
}
  .table-responsive {
        display: block !important;
    } 
     .table-mobile .scroll-wrapper {
      width: 100%;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }
    @media (max-width: 768px) { 

    .informations {
        padding: 18px;
        border-radius: 14px;
        margin-bottom: 25px;
        box-shadow: 0 6px 18px rgba(93, 72, 223, 0.08);
    }

    /* Stack les 2 blocs */
    .informations .col-6 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Espacement entre les 2 lignes */
    .informations .col-6:first-child {
        margin-bottom: 15px;
    }

    /* Alignement propre */
    .informations .d-flex {
        justify-content: center !important;
        align-items: center;
    }

    /* Texte */
    .form-check-label,
    .informations span {
        font-size: 14px;
        font-weight: 600;
        color: #1a1f36;
    }

    /* Switch plus visible */
    .form-check-input {
        width: 42px;
        height: 22px;
        cursor: pointer;
    }

    /* Espacement texte autour du switch */
    .custom-margin-right {
        margin-right: 8px !important;
    }

    /* Petit effet modern */
    .form-check {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    /* Option bonus: centrer le 2ème bloc si tu veux */
    .informations .col-6:last-child .d-flex {
        justify-content: center !important;
    }
}
/* =========================
   MOBILE TABLE SWITCH
   ========================= */
@media (max-width: 768px) { 
  

#btnsconn h5.titre {
    font-size: 25px !important; }
    .table-desktop {
        display: none !important;
    }
     .table-mobile  { display: block  !important; }

    .mobile-scroll {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        display: none;
    }

    .table-mobile .haynes-table {
        min-width: 650px;
        width: max-content;
    }

    /* disable sticky header on mobile */
    .table-mobile .haynes-table thead {
        position: relative !important;
        top: auto !important;
        z-index: 1 !important;
    }

    .table-mobile .haynes-table thead::after {
        display: none !important;
    }

    .table-mobile .haynes-table th,
    .table-mobile .haynes-table td {
        padding: 12px 10px !important;
        font-size: 13px;
        white-space: nowrap;
    }

    .table-mobile .haynes-table thead th {
        font-size: 14px;
    }

    .table-mobile .haynes-table thead th:first-child {
        font-size: 15px !important;
    }

    .table-mobile .haynes-table .btn-color {
        padding: 8px 14px !important;
        font-size: 12px;
    }
}

/* --- SMOOTH SCROLLING --- */
html {
    scroll-behavior: smooth;
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-border:nth-child(1) { animation-delay: 0.1s; }
.pricing-border:nth-child(2) { animation-delay: 0.2s; }
.pricing-border:nth-child(3) { animation-delay: 0.3s; }

.pricing-border.active-card {
    background: linear-gradient(135deg, rgba(100, 58, 247, 0.08) 0%, rgba(255, 255, 255, 1) 100%) !important;
    border-color: #643AF7 !important;
    box-shadow: 0 8px 24px rgba(100, 58, 247, 0.25) !important;
    transform: translateY(-4px) scale(1.01);
}

}