/* ═══════════════════════════════════════════════════════════════════════
   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: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 34px 30px;
    margin: 32px 0 24px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
    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-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: 24px 18px;
    }
}

/* ── 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;
}

.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;
}
