:root {
    --chatplus-green: #10a37f;
    --chatplus-dark: #0a0f18;
    --chatplus-gray: #4b5563;
    --chatplus-light: #f9fafb;
    --chatplus-border: #e5e7eb;
    --radius: 12px;
}
 


/* 1. RESET & BASE */
html, body { 
    margin: 0; 
    padding: 0; 
    width: 100%; 
    overflow-x: hidden; 
}


 
 
body { 
    background-color: #f9fafb !important; 
    font-family: 'Inter', sans-serif !important;
    -webkit-font-smoothing: antialiased;
     color: var(--chatplus-dark)!important;
}

.container { 
    max-width: 1240px; 
    margin: 0 auto; 
    padding: 0 24px; 
    box-sizing: border-box; 
}

/* 2. DISCLAIMER BAR */
.disclaimer-bar { 
    background: #b91c1c; 
    color: #fff; 
    text-align: center; 
    padding: 10px 0; 
    font-size: 13px; 
    font-weight: 600; 
    position: sticky; 
    top: 0; 
    z-index: 2000; 
}

/* 3. HEADER COMPLET */
.site-header { 
    background: rgba(255,255,255,0.98); 
    backdrop-filter: blur(10px); 
    border-bottom: 1px solid var(--chatplus-border); 
  
    z-index: 1000; 
    height: 80px; 
    display: flex; 
    align-items: center; 
}

.nav-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%; 
}

/* Navigation List */
.nav-list { 
    display: flex; 
    list-style: none; 
    gap: 12px; 
    padding: 0; 
    margin: 0; 
    align-items: center; 
}

.nav-list li { position: relative; }

.nav-list a { 
    text-decoration: none; 
    color: var(--chatplus-gray); 
    font-weight: 600; 
    font-size: 13px; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    padding: 8px 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-list a:hover { 
    color: var(--chatplus-green); 
    background: #f8fafc; 
}

/* Gestion des icônes Dashicons dans le menu */
.nav-list a .dashicons, 
.nav-list a [class*="dashicons-"] {
    font-size: 18px !important;
    width: 18px !important;
    height: 18px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    flex-shrink: 0;
}

/* Logo */
.logo-link { font-weight: 800; font-size: 1.7rem; text-decoration: none; color: #111827; letter-spacing: -0.8px; }
.logo-link span { color: var(--chatplus-green); }
.logo-link img, .custom-logo-link img { max-height: 55px; width: auto; display: block; }

/* Submenu & Bridge Fix */
.nav-list .sub-menu { 
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    background: #fff; 
    min-width: 200px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
    border-radius: 10px; 
    padding: 10px 0; 
    z-index: 999; 
    border: 1px solid var(--chatplus-border);
}

.nav-list .sub-menu::before { 
    content: ""; 
    position: absolute; 
    top: -20px; 
    left: 0; 
    right: 0; 
    height: 20px; 
}

.nav-list li:hover > .sub-menu { display: block; }

/* User Actions Header */
.header-user-actions { display: flex; align-items: center; gap: 15px; }
.btn-login { text-decoration: none; color: var(--chatplus-gray); font-weight: 700; font-size: 14px; }
.btn-primary {
    background: var(--chatplus-green);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
}

/* 4. FOOTER (STRUCTURE EN COLONNES) */
.footer-wrapper-full { 
    background-color: var(--chatplus-dark); 
    width: 100%; 
    margin-top: 100px; 
    padding: 80px 0 40px; 
    color: #9ca3af; 
}

.site-footer { 
    background: transparent !important; 
}

.footer-grid { 
    display: grid; 
    grid-template-columns: 1.2fr 2.8fr; 
    gap: 60px; 
}

.logo-footer { 
    margin-bottom: 25px; 
}

.logo-footer img { 
    max-height: 45px; 
    width: auto; 
}

.footer-brand p { 
    font-size: 14px; 
    line-height: 1.6; 
    margin-bottom: 25px; 
}

/* Grille des menus du footer */
.footer-links { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px; 
}

.footer-col h4 { 
    color: #fff; 
    font-size: 13px; 
    margin-bottom: 25px; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    font-weight: 800;
}

.footer-col ul { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

.footer-col li { 
    margin-bottom: 12px; 
}

.footer-col a { 
    color: #9ca3af; 
    text-decoration: none; 
    font-size: 14px; 
    transition: color 0.2s; 
}

.footer-col a:hover { 
    color: #fff; 
}

.footer-bottom { 
    margin-top: 60px; 
    padding-top: 40px; 
    border-top: 1px solid #1f2937; 
    text-align: center; 
    font-size: 12px; 
}

/* 5. SHORTCODES (MEMBRE, FORMULAIRE, TABS) */
.chatplus-member-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.chatplus-member-nav a {
    text-decoration: none;
    color: var(--chatplus-gray);
    font-weight: 600;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.2s;
}

.chatplus-member-nav a:hover { background: #f3f4f6; color: var(--chatplus-green); }

/* Business Form Expert */
.chatplus-business-form { max-width: 800px; margin: 0 auto; }
.form-section { background: #fff; border-radius: var(--radius); padding: 25px; margin-bottom: 30px; border: 1px solid var(--chatplus-border); }
.form-section h3 { margin: 0 0 20px; color: var(--chatplus-dark); font-size: 1.2rem; border-bottom: 2px solid var(--chatplus-green); display: inline-block; }
.total-bar { font-size: 1.4rem; font-weight: 800; text-align: right; color: var(--chatplus-dark); padding: 15px; background: #f0fdf4; border-radius: 8px; }
#total-display { color: var(--chatplus-green); }

/* Help Tabs Expert */
.help-tabs-container { border: 1px solid var(--chatplus-border); border-radius: 12px; overflow: hidden; background: #fff; }
.tabs-nav { display: flex; background: #f9fafb; border-bottom: 1px solid var(--chatplus-border); }
.tab-link { padding: 12px 20px; border: none; background: none; cursor: pointer; font-weight: 600; color: var(--chatplus-gray); }
.tab-link.active { color: var(--chatplus-green); border-bottom: 2px solid var(--chatplus-green); background: #fff; }
.tab-panel { display: none; padding: 20px; line-height: 1.6; }
.tab-panel.active { display: block; }

/* 6. RESPONSIVE */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; }
.menu-toggle .hamburger { display: block; width: 24px; height: 2px; background: var(--chatplus-dark); position: relative; }
.menu-toggle .hamburger::before, .menu-toggle .hamburger::after { content: ""; position: absolute; width: 24px; height: 2px; background: var(--chatplus-dark); left: 0; transition: 0.3s; }
.menu-toggle .hamburger::before { top: -8px; }
.menu-toggle .hamburger::after { top: 8px; }

@media (max-width: 1024px) {
    .menu-toggle { display: block; }
    .main-nav { display: none; position: absolute; top: 80px; left: 0; width: 100%; background: #fff; border-bottom: 1px solid var(--chatplus-border); }
    .main-nav.is-open { display: block; }
    .nav-list { flex-direction: column; height: auto; padding: 20px; gap: 10px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .footer-links { grid-template-columns: 1fr; }
}




/* 2. Style des Témoignages (Widget Custom) */
body .cp-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

body .cp-testimonial-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--cp-border);
    display: flex !important; /* Force l'affichage face au reset */
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

body .cp-testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.08);
    border-color: var(--cp-teal);
}

body .cp-stars { 
    color: var(--cp-teal); 
    margin-bottom: 15px; 
    font-size: 14px; 
    letter-spacing: 2px;
}

body .cp-text { 
    font-style: italic; 
    color: var(--cp-text-light); 
    font-size: 15px; 
    line-height: 1.6; 
    margin-bottom: 25px; 
    flex-grow: 1; 
}

/* 3. Footer des Témoignages */
body .cp-footer { 
    display: flex; 
    align-items: center; 
    gap: 12px;
    border-top: 1px solid #f3f4f6;
    padding-top: 20px;
}

body .cp-avatar { 
    width: 40px; 
    height: 40px; 
    background: var(--cp-teal); 
    color: #fff; 
    border-radius: 50px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: 700; 
    font-size: 14px;
}

body .cp-meta { display: flex; flex-direction: column; line-height: 1.2; }
body .cp-meta strong { font-size: 14px; color: var(--cp-text-main); }
body .cp-meta span { font-size: 12px; color: #9ca3af; margin-top: 2px; }

/* 4. Fix Responsive pour Elementor */
@media (max-width: 767px) {
    body .cp-testimonials-grid { 
        grid-template-columns: 1fr !important; 
        gap: 15px;
    }
    
    body .cp-testimonial-item {
        padding: 20px;
    }
}

/* 5. Corrections pour les boutons Elementor bloqués */
body .elementor-button.cp-btn-custom {
    background-color: var(--cp-teal) !important;
    border-radius: 10px !important;
    transition: 0.3s !important;
}

 .stripe-button-el  {     
    
    border: 0px solid black !important;
    
}
 .stripe-button-el span {     
    background: white!important;
    color: black !important;
    border: 1px solid black !important;
    box-shadow: none !important;
}

/* --- Grille d'Outils (Style Bento) --- */
body .cp-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

body .cp-tool-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--cp-border);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: 0.3s ease;
}

body .cp-tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

body .cp-tool-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--cp-teal);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

body .cp-tool-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--cp-text-main);
    margin-bottom: 15px;
    line-height: 1.2;
}

body .cp-tool-desc {
    font-size: 14px;
    color: var(--cp-text-light);
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1;
}

body .cp-tool-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

body .cp-tool-features li {
    font-size: 13px;
    color: var(--cp-text-main);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

body .cp-tool-features li:before {
    content: '✓';
    color: var(--cp-teal);
    font-weight: 900;
    margin-right: 10px;
}

body .cp-tool-btn {
    text-align: center;
    color: #ffffff;
    text-decoration: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    transition: filter 0.2s;
}

body .cp-tool-btn:hover {
    filter: brightness(90%);
    color: #fff;
}