/* ═══════════════════════════════════════════════
   CASHIFY — faqs.css
   Design : Dark Premium, sans framework
═══════════════════════════════════════════════ */

:root {
    --bg-deep: #080e1a;
    --bg-base: #0f172a;
    --bg-surface: #1e293b;
    --bg-surface2: #263348;
    --border: rgba(51, 65, 85, 0.7);
    --border-light: rgba(99, 102, 241, 0.25);

    --blue: #3b82f6;
    --blue-light: #60a5fa;
    --indigo: #6366f1;
    --indigo-light: #818cf8;
    --purple: #8b5cf6;
    --green: #10b981;

    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --white: #ffffff;

    --radius: 14px;
    --radius-lg: 20px;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --font: 'Poppins', sans-serif;
    --container: 1160px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font);
    background-color: var(--bg-base);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.faq-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ══ HERO ══ */
.faq-hero {
    position: relative;
    overflow: hidden;
    padding: 6rem 0 5rem;
    background: var(--bg-deep);
}

.faq-hero::before,
.faq-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
}

.faq-hero::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--indigo), transparent 70%);
    top: -200px;
    left: -150px;
}

.faq-hero::after {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--blue), transparent 70%);
    bottom: -150px;
    right: -100px;
}

.faq-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

.faq-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--indigo-light);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 5px 14px;
    border-radius: 99px;
    margin-bottom: 1.5rem;
}

.faq-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.faq-hero-title span {
    background: linear-gradient(135deg, var(--blue-light), var(--indigo-light), #c7d2fe);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ══ STATS CARDS ══ */
.faq-stats {
    padding: 4rem 0;
}

.faq-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.faq-stat-card {
    background: linear-gradient(160deg, var(--bg-surface), var(--bg-base));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.faq-stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-light);
    box-shadow: var(--shadow);
}

.faq-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue-light), var(--indigo-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.faq-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ══ SECTION HEADER ══ */
.faq-section {
    padding: 4rem 0;
}

.faq-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.faq-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--indigo-light);
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 99px;
    padding: 3px 12px;
    margin-bottom: 1rem;
}

.faq-section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* ══ ACCORDÉON ══ */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--border-light);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
}

.faq-question span {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.faq-q-icon {
    flex-shrink: 0;
    color: var(--indigo-light);
}

.faq-question:hover .faq-q-icon {
    color: var(--blue-light);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--indigo-light);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: var(--bg-base);
    border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
    border-top-color: var(--border-light);
}

.faq-answer-inner {
    padding: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.faq-answer-inner strong {
    color: var(--text);
}

.faq-answer-inner li {
    margin-left: 1.2rem;
    margin-bottom: 0.3rem;
}

.faq-list-decimal {
    padding-left: 1.5rem;
    margin: 0.5rem 0;
}

/* ══ TABLEAU DES GRADES ══ */
.faq-table-responsive {
    overflow-x: auto;
    margin-top: 0.5rem;
}

.faq-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.faq-table th,
.faq-table td {
    border: 1px solid var(--border);
    padding: 0.7rem 1rem;
    text-align: left;
}

.faq-table th {
    background: linear-gradient(135deg, var(--blue), var(--indigo));
    color: white;
    font-weight: 600;
}

.faq-table tr:hover {
    background: rgba(99, 102, 241, 0.05);
}

/* ══ CTA FINAL ══ */
.faq-cta {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    background: linear-gradient(135deg, #0d1a3a 0%, #0f172a 50%, #130d2e 100%);
}

.faq-cta::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--indigo), transparent 70%);
    top: -150px;
    right: -100px;
    filter: blur(100px);
    opacity: 0.4;
    pointer-events: none;
}

.faq-cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.faq-cta-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.faq-cta-sub {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.faq-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--blue), var(--indigo));
    color: white;
    font-weight: 700;
    padding: 0.8rem 2rem;
    border-radius: 99px;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
    transition: var(--transition);
}

.faq-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.6);
}

/* ══ FOOTER ══ */
.faq-footer {
    background: #05080f;
    padding: 2.5rem 0;
    border-top: 1px solid rgba(51, 65, 85, 0.5);
}

.faq-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.faq-footer-brand {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.01em;
    margin-bottom: 0.2rem;
}

.faq-footer-sub {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.faq-footer-links {
    display: flex;
    gap: 1.75rem;
    list-style: none;
    flex-wrap: wrap;
}

.faq-footer-links a {
    font-size: 0.83rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.faq-footer-links a:hover {
    color: var(--indigo-light);
}

.faq-footer-copy {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-dim);
    padding-top: 1rem;
    border-top: 1px solid rgba(51, 65, 85, 0.4);
}

/* ══ SCROLL ANIMATION ══ */
.hidden-section {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══ RESPONSIVE ══ */
@media (max-width: 768px) {
    .faq-stats-grid {
        grid-template-columns: 1fr;
    }

    .faq-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .faq-section {
        padding: 3rem 0;
    }

    .faq-hero {
        padding: 4rem 0;
    }

    .faq-cta {
        padding: 4rem 0;
    }

    .faq-question {
        font-size: 0.9rem;
        padding: 1rem;
    }
}
.penguin-icon {
    position: absolute;
    z-index: 10;
    height: auto;
    pointer-events: none;
    transition: all 0.3s ease;
}

@media (min-width: 1400px) {
    .penguin-icon {
        width: 250px;
        top: 100px;
        left: 60px;
    }
}

@media (max-width: 1399px) {
    .penguin-icon {
        width: 180px;
        top: 100px;
        left: 30px;
    }
}

@media (max-width: 1199px) {
    .penguin-icon {
        width: 120px;
        top: 110px;
        left: 20px;
    }
}

@media (max-width: 991px) {
    .penguin-icon {
        width: 80px;
        top: 120px;
        left: 10px;
        opacity: 0.7;
    }
}

@media (max-width: 767px) {
    .penguin-icon {
        display: none;
    }
}