/* --- ALIGNEMENT CONTENEUR GLOBALE --- */
.container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

/* --- UTILITAIRES ET ANIMATIONS --- */
.reveal, .reveal-left, .reveal-right { opacity: 0; transition: all 1s cubic-bezier(0.25, 1, 0.5, 1); }
.reveal { transform: translateY(30px); }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal.active, .reveal-left.active, .reveal-right.active { opacity: 1; transform: translate(0, 0); }

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}
.animate-float { animation: float 5s ease-in-out infinite; }

.hidden { display: none !important; }
.text-primary { color: var(--cpw-primary) !important; }
.text-dark { color: var(--cpw-text) !important; }
.text-danger { color: #ef4444 !important; }
.text-xs { font-size: 0.75rem; }
.font-bold { font-weight: bold; }
.pl-2 { padding-left: 0.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-auto { margin-top: auto; }

.bg-green { background-color: #22c55e !important; box-shadow: 0 0 8px rgba(34, 197, 94, 0.5); }
.bg-alt { background-color: var(--hover-bg); }

/* --- GLASS MORPHISM CLASSES --- */
.glass-ios {
    background-color: var(--glass-bg);
    backdrop-filter: blur(32px) saturate(180%);
    -webkit-backdrop-filter: blur(32px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-ios);
}
.glass-panel {
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}
[data-theme="dark"] .glass-panel {
    background-color: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.05);
}

/* --- HERO SECTION --- */
.services-hero { position: relative; padding-top: 10rem; padding-bottom: 6rem; overflow: hidden; text-align: center; }
@media (min-width: 1024px) { .services-hero { padding-top: 13rem; padding-bottom: 8rem; } }
.services-hero-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(0, 123, 255, 0.08) 0%, rgba(0, 123, 255, 0) 70%); border-radius: 50%; filter: blur(80px); z-index: 0; pointer-events: none; }

.hero-badge { display: inline-flex; align-items: center; gap: 0.625rem; padding: 0.5rem 1.25rem; border-radius: 9999px; background-color: var(--glass-bg); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); border: 1px solid var(--glass-border); margin-bottom: 2rem; box-shadow: var(--shadow-ios); transition: transform 0.3s ease; }
.hero-badge:hover { transform: translateY(-2px); }
.badge-dot-wrapper { position: relative; display: flex; width: 0.5rem; height: 0.5rem; }
.badge-dot { width: 100%; height: 100%; border-radius: 50%; }
.badge-text { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--cpw-text); }

.hero-title { font-size: 2.25rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 1.5rem; color: var(--cpw-text); }
.text-gradient { background: linear-gradient(135deg, var(--cpw-primary), #60a5fa); -webkit-background-clip: text; color: transparent; display: inline-block; }
@media (min-width: 768px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4rem; } }
.hero-subtitle { font-size: 1.125rem; color: var(--cpw-text); opacity: 0.8; line-height: 1.7; max-width: 48rem; margin: 0 auto; font-weight: 500; }

/* --- PRICING GRID --- */
.pricing-section { padding-bottom: 6rem; position: relative; }
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: stretch; }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.pricing-card { display: flex; flex-direction: column; padding: 2.5rem 2rem; border-radius: 2rem; border-top: 4px solid transparent; position: relative; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.pricing-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1); background-color: var(--glass-highlight); }
.border-gray { border-top-color: #94a3b8; }
.border-primary { border-top-color: var(--cpw-primary); }
.border-purple { border-top-color: #a855f7; }

.card-highlight { z-index: 10; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15); }
@media (min-width: 1024px) { 
    .card-highlight { transform: scale(1.05); } 
    .card-highlight:hover { transform: scale(1.05) translateY(-8px); } 
}

.best-seller-badge { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); background: linear-gradient(135deg, var(--cpw-primary), #2563eb); color: white; padding: 0.375rem 1.25rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3); border: 1px solid rgba(255,255,255,0.2); }

.pricing-header { text-align: center; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border-light); }
.pricing-title { font-size: 1.5rem; font-weight: 800; color: var(--cpw-text); margin-bottom: 0.5rem; }
.pricing-subtitle { color: var(--cpw-text); opacity: 0.7; font-size: 0.875rem; margin-bottom: 1.5rem; }
.pricing-amount { font-size: 2.5rem; font-weight: 900; line-height: 1; letter-spacing: -0.02em; }
.card-highlight .pricing-amount { font-size: 3rem; }
.pricing-currency { font-size: 1.125rem; font-weight: 700; color: var(--cpw-muted); }

/* --- FEATURES LISTES & BOUTONS --- */
.feature-list { list-style-type: none !important; padding-left: 0 !important; display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.5rem; font-size: 0.9375rem; color: var(--cpw-text); opacity: 0.9; }
.feature-list.no-margin { margin-bottom: 0; }
.feature-list i { margin-right: 0.75rem; font-size: 1.1em; }
.fa-check, .fa-check-circle { color: #22c55e; }

.w-full { width: 100%; display: block; text-align: center; }
.btn-primary { background: linear-gradient(135deg, var(--cpw-primary), #2563eb); color: white; border-radius: 9999px; font-weight: 700; font-size: 1rem; border: 1px solid rgba(255,255,255,0.2); transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0, 123, 255, 0.4); }

.btn-outline-primary { padding: 1rem; border-radius: 9999px; border: 1px solid var(--glass-border); color: var(--cpw-primary); font-weight: 700; transition: all 0.3s ease; background-color: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-outline-primary:hover { background-color: var(--cpw-primary); color: white; transform: translateY(-2px); }

.btn-outline-dark { padding: 1rem; border-radius: 9999px; border: 1px solid var(--glass-border); color: var(--cpw-text); font-weight: 700; transition: all 0.3s ease; background-color: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-outline-dark:hover { background-color: var(--hover-bg); transform: translateY(-2px); }

/* --- COMMUNITY MANAGEMENT SECTION --- */
.cm-section { padding-bottom: 6rem; }
.cm-box { padding: 3rem; border-radius: 2.5rem; display: flex; flex-direction: column; gap: 3rem; align-items: center; position: relative; overflow: hidden; transition: transform 0.4s ease; }
.cm-box:hover { transform: translateY(-4px); }
@media (min-width: 768px) { .cm-box { flex-direction: row; } .cm-content { width: 66%; padding-right: 2rem; } .cm-pricing { width: 33%; } }

.icon-square { width: 4rem; height: 4rem; border-radius: 1rem; display: flex; align-items: center; justify-content: center; font-size: 1.875rem; margin-bottom: 1.5rem; box-shadow: 0 10px 20px -5px rgba(0,0,0,0.1); }
.bg-primary-light { background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 0.2)); color: var(--cpw-primary); }

.cm-title { font-size: 2rem; font-weight: 800; color: var(--cpw-text); margin-bottom: 1rem; letter-spacing: -0.02em; }
.cm-desc { color: var(--cpw-text); opacity: 0.8; font-size: 1.125rem; line-height: 1.7; margin-bottom: 2rem; }

.social-icons { display: flex; gap: 1.5rem; font-size: 2rem; color: var(--cpw-muted); margin-bottom: 2rem; }
.social-icons i { cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.social-icons i:hover { transform: scale(1.15) translateY(-4px); }
.fb-hover:hover { color: #1877F2; } .ig-hover:hover { color: #E4405F; } .wa-hover:hover { color: #25D366; } 
.tk-hover:hover { color: #000; } [data-theme="dark"] .tk-hover:hover { color: #fff; }

.cm-pricing-inner { padding: 2.5rem 2rem; border-radius: 2rem; text-align: center; box-shadow: var(--shadow-ios); }
.pricing-label { font-size: 0.8125rem; font-weight: 800; color: var(--cpw-text); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; opacity: 0.7;}
.pricing-currency-sub { font-size: 0.9375rem; font-weight: 700; color: var(--cpw-text); opacity: 0.6; margin-bottom: 2rem; }

/* --- FAQ SECTION --- */
.section-header { margin-bottom: 4rem; }
.section-header.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-title { font-size: 2.25rem; font-weight: 800; color: var(--cpw-text); margin-bottom: 1rem; line-height: 1.2; letter-spacing: -0.02em; }
.section-desc { font-size: 1.125rem; color: var(--cpw-text); opacity: 0.8; max-width: 42rem; margin: 0 auto; line-height: 1.6; }
@media (min-width: 768px) { .section-title { font-size: 2.75rem; } }

.faq-box { margin-bottom: 1rem; border-radius: 1.5rem !important; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); overflow: hidden; position: relative; }
.faq-box:hover { border-color: var(--cpw-primary); box-shadow: 0 15px 30px -5px rgba(0, 123, 255, 0.15); transform: translateY(-3px); background-color: var(--glass-highlight); }
.faq-btn { width: 100%; padding: 1.5rem 2rem; text-align: left; display: flex; justify-content: space-between; align-items: center; cursor: pointer; border: none; background: transparent; }
.faq-question-text { font-size: 1.05rem; font-weight: 800; color: var(--cpw-text); }
.faq-icon { width: 2.5rem; height: 2.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.875rem; background-color: rgba(0, 123, 255, 0.1); color: var(--cpw-primary); transition: all 0.3s ease; flex-shrink: 0; }
.faq-btn:hover .faq-icon { background-color: var(--cpw-primary); color: white; }
.faq-icon i { transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-answer-inner { padding: 0 2rem 1.5rem 2rem; font-size: 0.95rem; color: var(--cpw-text); opacity: 0.8; line-height: 1.7; border-top: 1px solid var(--border-light); margin-top: -0.5rem; padding-top: 1.5rem; }

/* --- MODAL FORMULAIRE --- */
.modal-overlay { position: fixed; inset: 0; z-index: 5000; display: flex; align-items: center; justify-content: center; padding: 1rem; opacity: 0; visibility: hidden; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.modal-overlay.is-active { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background-color: rgba(0, 0, 0, 0.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

.glass-ios-modal {
    background-color: var(--panel-bg);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid var(--glass-border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
}

.modal-box { position: relative; width: 100%; max-width: 36rem; border-radius: 2rem; z-index: 10; overflow: hidden; transform: scale(0.95) translateY(20px); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.modal-overlay.is-active .modal-box { transform: scale(1) translateY(0); }

.modal-header { padding: 2rem; background-color: rgba(0,0,0,0.02); display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid var(--border-light); }
.modal-title { font-size: 1.5rem; font-weight: 800; color: var(--cpw-text); line-height: 1.2; }
.modal-subtitle { font-size: 0.9375rem; color: var(--cpw-text); opacity: 0.7; margin-top: 0.5rem; }
.modal-close { width: 2.5rem; height: 2.5rem; border-radius: 50%; background-color: var(--hover-bg); color: var(--cpw-text); border: none; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.modal-close:hover { transform: rotate(90deg) scale(1.1); background-color: rgba(239, 68, 68, 0.1); color: #ef4444; }

.modal-body { padding: 2rem; }
.form-layout { display: flex; flex-direction: column; gap: 1.5rem; }
.anti-spam-hp { opacity: 0; position: absolute; height: 0; width: 0; overflow: hidden; }

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .form-row { grid-template-columns: repeat(2, 1fr); } }
.form-label { font-size: 0.875rem; font-weight: 800; color: var(--cpw-text); padding-left: 0.25rem; }
.input-wrapper { position: relative; display: flex; align-items: center; }
.input-icon { position: absolute; left: 1.25rem; color: var(--cpw-text); opacity: 0.5; pointer-events: none; transition: all 0.3s ease; }
.align-top { top: 1.1rem; }
.input-wrapper:focus-within .input-icon { color: var(--cpw-primary); opacity: 1; }

.glass-input {
    width: 100%;
    background-color: var(--hover-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 0.875rem 1rem 0.875rem 3rem;
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--cpw-text);
    transition: all 0.3s ease;
}
.glass-input:focus { outline: none; border-color: var(--cpw-primary); background-color: var(--glass-bg); box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15); }
.glass-input::placeholder { color: var(--cpw-text); opacity: 0.4; }
textarea.glass-input { resize: none; }

/* Bouton de validation */
.btn-submit-strict {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-submit-strict:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--cpw-muted);
    box-shadow: none;
    pointer-events: none; /* Empeche tout clic/hover */
}

.form-footer { display: flex; flex-direction: column; gap: 1rem; }
.form-legal { font-size: 0.7rem; text-align: center; color: var(--cpw-text); opacity: 0.6; }
.form-legal a { font-weight: 700; transition: color 0.3s ease; }
.form-legal a:hover { color: var(--cpw-primary); text-decoration: underline; }

/* --- TOAST NOTIFICATIONS --- */
.toast-container { position: fixed; bottom: 2rem; right: 2rem; z-index: 6000; display: flex; flex-direction: column; gap: 1rem; pointer-events: none; }
.toast-item { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; border-radius: 1.25rem; color: white; min-width: 320px; max-width: 26rem; box-shadow: 0 20px 40px -10px rgba(0,0,0,0.3); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); opacity: 0; transform: translateY(30px) scale(0.95); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); border: 1px solid rgba(255, 255, 255, 0.2); }
.toast-item.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.toast-success { background: linear-gradient(135deg, rgba(22, 163, 74, 0.85), rgba(21, 128, 61, 0.95)); }
.toast-error { background: linear-gradient(135deg, rgba(220, 38, 38, 0.85), rgba(185, 28, 28, 0.95)); }
.toast-icon { font-size: 1.75rem; text-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.toast-text strong { display: block; font-size: 0.9375rem; font-weight: 800; margin-bottom: 0.25rem; }
.toast-text p { font-size: 0.8125rem; opacity: 0.9; margin: 0; line-height: 1.4; }

/* 3. Masquage du badge reCAPTCHA flottant */
.grecaptcha-badge { visibility: hidden !important; opacity: 0 !important; display: none !important; }

/* --- AJUSTEMENTS BORDURES BOUTONS PACKS --- */
.pricing-card.border-gray .btn-outline-primary {
    border: 1px solid #94a3b8 !important;
    color: #475569;
}

.pricing-card.border-gray .btn-outline-primary:hover {
    background-color: #94a3b8;
    color: white;
}

.pricing-card.border-purple .btn-outline-dark {
    border: 1px solid #a855f7 !important;
    color: #a855f7;
}

.pricing-card.border-purple .btn-outline-dark:hover {
    background-color: #a855f7;
    color: white;
}

/* --- AJUSTEMENTS MARGES FAQ --- */
.faq-section {
    padding-top: 10rem !important;
    padding-bottom: 10rem !important;
    margin-top: 4rem;
}

.faq-section .section-header {
    margin-bottom: 5rem !important;
}

.cpw-faq-group {
    margin-top: 2rem;
}

/* Amélioration visuelle du bouton désactivé */
.btn-submit-strict:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    filter: grayscale(1);
    box-shadow: none !important;
}

/* --- HARMONISATION DES BOUTONS --- */
.pricing-card .btn-outline-primary,
.pricing-card .btn-outline-dark,
.pricing-card .btn-primary {
    font-size: 1rem !important; /* Taille de texte identique pour tous les packs */
    letter-spacing: -0.01em;
}

/* --- AMÉLIORATION DARK MODE : PACK CORPORATE (GRIS) --- */
[data-theme="dark"] .pricing-card.border-gray {
    background-color: rgba(255, 255, 255, 0.06); /* Fond légèrement plus clair pour éviter le sombre sur sombre */
    border-left: 1px solid rgba(148, 163, 184, 0.2);
    border-right: 1px solid rgba(148, 163, 184, 0.2);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

/* --- BORDURES FINES DES BOUTONS (COULEURS THÉMATIQUES) --- */

/* Bouton Pack 1 (Gris) */
.pricing-card.border-gray .btn-outline-primary {
    border: 1px solid rgba(148, 163, 184, 0.5) !important;
    color: var(--cpw-text);
}

.pricing-card.border-gray .btn-outline-primary:hover {
    background-color: #94a3b8;
    border-color: #94a3b8 !important;
    color: white;
}

/* Bouton Pack 3 (Violet) */
.pricing-card.border-purple .btn-outline-dark {
    border: 1px solid rgba(168, 85, 247, 0.5) !important;
    color: #a855f7;
}

.pricing-card.border-purple .btn-outline-dark:hover {
    background-color: #a855f7;
    border-color: #a855f7 !important;
    color: white;
}

/* Ajustement du survol en mode sombre pour la lisibilité */
[data-theme="dark"] .pricing-card.border-gray .btn-outline-primary {
    color: #cbd5e1;
}