/* ═══════════════════════════════════════════════════════════════════════
   Captain FAQ — Section Page d'Accueil (displayHome)
   Design sur-mesure harmonisé pour squale-systeme.com (#009ad0 / fond clair)
   @author CaptainLinux
   ═══════════════════════════════════════════════════════════════════════ */

.cf-home-faq-section {
    background: transparent !important;
    border: none !important;
    border-radius: 0;
    padding: 0;
    margin: 32px 0 24px;
    box-shadow: none !important;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-sizing: border-box;
    clear: both;
}

.cf-home-faq-inner {
    width: 100%;
}

.cf-home-header-top {
    margin-bottom: 18px;
}

.cf-home-section-heading {
    color: #0f172a !important;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 10px 0 0 !important;
    padding: 0 !important;
    border: none !important;
}

.cf-home-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(0, 154, 208, 0.12);
    color: #007aa6;
    border: 1px solid rgba(0, 154, 208, 0.28);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 5px 13px;
    border-radius: 99px;
}

/* ── Grille 2 Colonnes Responsive (compatible avec la colonne gauche PrestaShop) ── */
.cf-home-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 26px;
    align-items: start;
}

@media (max-width: 991.98px) {
    .cf-home-grid {
        grid-template-columns: 1fr;
    }
    .cf-home-faq-section {
        padding: 0;
    }
    .cf-home-col-info {
        order: -1;
    }
}

/* ── Colonne Gauche : Accordéon Questions ── */
.cf-home-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cf-faq-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.cf-faq-card:hover {
    border-color: #94a3b8;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.cf-faq-card.is-open {
    border-color: #009ad0;
    box-shadow: 0 8px 24px rgba(0, 154, 208, 0.14);
}

.cf-faq-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-align: left;
    color: #1e293b;
    font-size: 0.96rem;
    font-weight: 700;
    cursor: pointer;
    line-height: 1.4;
}

.cf-faq-q-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.cf-faq-num {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #009ad0;
    font-size: 0.78rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}

.cf-faq-card.is-open .cf-faq-num {
    background: #009ad0;
    color: #ffffff;
}

.cf-faq-q-title {
    color: #0f172a;
    font-weight: 700;
}

.cf-faq-card.is-open .cf-faq-q-title {
    color: #007aa6;
}

.cf-faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.cf-faq-card.is-open .cf-faq-icon {
    transform: rotate(180deg);
    background: #009ad0;
    color: #ffffff;
}

.cf-faq-body-wrap {
    display: none;
    padding: 0 20px 18px 58px;
    border-top: 1px solid #f1f5f9;
}

@media (max-width: 575.98px) {
    .cf-faq-body-wrap {
        padding: 0 16px 16px 16px;
    }
}

.cf-faq-card.is-open .cf-faq-body-wrap {
    display: block;
}

.cf-faq-body {
    padding-top: 12px;
    color: #334155;
    font-size: 0.9rem;
    line-height: 1.65;
}

.cf-faq-body p {
    margin: 0 0 8px;
    color: #334155;
}

.cf-faq-body p:last-child {
    margin-bottom: 0;
}

.cf-faq-body ul {
    margin: 8px 0;
    padding-left: 18px;
}

.cf-faq-body strong {
    color: #0f172a;
}

/* ── Colonne Droite : Carte Bleue Marine / Cyan Squale Système ── */
.cf-home-faq-info {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    border-radius: 14px;
    padding: 28px 26px;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
    position: relative;
    overflow: hidden;
}

.cf-home-faq-info::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 154, 208, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

.cf-home-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 154, 208, 0.2);
    border: 1px solid rgba(0, 154, 208, 0.4);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.cf-home-faq-title {
    color: #ffffff !important;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 12px;
    border: none !important;
    padding: 0 !important;
}

.cf-home-faq-desc {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0 0 18px;
}

.cf-home-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cf-home-highlights li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.9);
}

.cf-home-highlights li svg {
    flex-shrink: 0;
    color: #009ad0;
}

.cf-home-faq-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(135deg, #009ad0 0%, #0284c7 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 13px 22px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0, 154, 208, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
}

.cf-home-faq-cta:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #00b0ff 0%, #009ad0 100%);
    box-shadow: 0 8px 22px rgba(0, 154, 208, 0.55);
    color: #ffffff !important;
}

/* ── Séparateur élégant en fin de section Home ── */
.cf-home-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 34px auto 8px;
    max-width: 680px;
}

.cf-home-divider-line {
    flex: 1;
    height: 1.5px;
    background: linear-gradient(90deg, transparent 0%, #cbd5e1 50%, rgba(0, 154, 208, 0.45) 100%);
    border-radius: 99px;
}

.cf-home-divider-line:last-child {
    background: linear-gradient(90deg, rgba(0, 154, 208, 0.45) 0%, #cbd5e1 50%, transparent 100%);
}

.cf-home-divider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #009ad0;
    box-shadow: 0 0 0 4px rgba(0, 154, 208, 0.15);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   THÈME SOMBRE AUTOMATIQUE — ALARM-DISCOUNT.COM (body.bg_black / #e31d27)
   S'active automatiquement lorsque le thème AngarTheme a la classe .bg_black
   ═══════════════════════════════════════════════════════════════════════ */
body.bg_black .cf-home-pill {
    background: rgba(227, 29, 39, 0.16);
    color: #ff6b72;
    border-color: rgba(227, 29, 39, 0.4);
}

body.bg_black .cf-faq-card {
    background: #1c1c1c;
    border-color: #2d2d2d;
}

body.bg_black .cf-faq-card:hover {
    border-color: #444444;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

body.bg_black .cf-faq-card.is-open {
    border-color: #e31d27;
    box-shadow: 0 8px 26px rgba(227, 29, 39, 0.22);
}

body.bg_black .cf-faq-btn {
    color: #f5f5f5;
    background: transparent !important;
}

body.bg_black .cf-faq-q-title {
    color: #ffffff;
}

body.bg_black .cf-faq-card.is-open .cf-faq-q-title {
    color: #ff525b;
}

body.bg_black .cf-faq-num {
    background: #292929;
    color: #e31d27;
}

body.bg_black .cf-faq-card.is-open .cf-faq-num {
    background: #e31d27;
    color: #ffffff;
}

body.bg_black .cf-faq-icon {
    background: #292929;
    color: #cbd5e1;
}

body.bg_black .cf-faq-card.is-open .cf-faq-icon {
    background: #e31d27;
    color: #ffffff;
}

body.bg_black .cf-faq-body-wrap {
    border-top-color: #2d2d2d;
}

body.bg_black .cf-faq-body,
body.bg_black .cf-faq-body p,
body.bg_black .cf-faq-body li {
    color: #d4d4d8;
}

body.bg_black .cf-faq-body strong {
    color: #ffffff;
}

body.bg_black .cf-home-faq-info {
    background: linear-gradient(145deg, #1b1b1b 0%, #242424 100%);
    border: 1px solid #333333;
    border-top: 4px solid #e31d27;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

body.bg_black .cf-home-faq-info::before {
    background: radial-gradient(circle, rgba(227, 29, 39, 0.28) 0%, transparent 70%);
}

body.bg_black .cf-home-highlights li svg {
    color: #e31d27;
}

body.bg_black .cf-home-faq-cta {
    background: linear-gradient(135deg, #e31d27 0%, #c91420 100%);
    box-shadow: 0 4px 16px rgba(227, 29, 39, 0.4);
}

body.bg_black .cf-home-faq-cta:hover {
    background: linear-gradient(135deg, #ff2a35 0%, #e31d27 100%);
    box-shadow: 0 8px 22px rgba(227, 29, 39, 0.55);
}

body.bg_black .cf-home-divider-line {
    background: linear-gradient(90deg, transparent 0%, #2d2d2d 50%, rgba(227, 29, 39, 0.55) 100%);
}

body.bg_black .cf-home-divider-line:last-child {
    background: linear-gradient(90deg, rgba(227, 29, 39, 0.55) 0%, #2d2d2d 50%, transparent 100%);
}

body.bg_black .cf-home-divider-dot {
    background: #e31d27;
    box-shadow: 0 0 0 4px rgba(227, 29, 39, 0.2);
}
