/* ============================================================================
   CTA FIXE EN BAS DE PAGE
   ============================================================================ */

.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 29, 40, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-subtle);
    padding: 1rem 0;
    z-index: 999;
    transform: translateY(0);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.fixed-cta.hidden {
    transform: translateY(100%);
}

.fixed-cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.fixed-cta-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.fixed-cta-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.01em;
}

.fixed-cta-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.fixed-cta-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.fixed-cta-btn {
    padding: 0.75rem 2rem;
    background: var(--accent-primary);
    color: white;
    border: 1px solid #00d4aa;
    border-radius: 2px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.02em;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(0, 212, 170, 0.25), 0 2px 6px rgba(0, 212, 170, 0.15);
    white-space: nowrap;
}

.fixed-cta-btn:hover {
    background: var(--accent-primary);
    transform: translateY(-1px);
    border-color: #00ffc8;
    box-shadow: 0 6px 20px rgba(0, 212, 170, 0.35), 0 3px 10px rgba(0, 212, 170, 0.2);
}

.fixed-cta-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fixed-cta-close:hover {
    color: var(--text-primary);
}

/* Responsive Tablette */
@media (max-width: 900px) {
    .fixed-cta-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 1.5rem;
    }

    .fixed-cta-content {
        text-align: center;
        width: 100%;
    }

    .fixed-cta-actions {
        width: 100%;
        justify-content: center;
    }

    .fixed-cta-title {
        font-size: 1rem;
    }

    .fixed-cta-text {
        font-size: 0.85rem;
    }
}

/* Responsive Mobile */
@media (max-width: 600px) {
    .fixed-cta {
        padding: 0.75rem 0;
    }

    .fixed-cta-container {
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }

    .fixed-cta-content {
        gap: 0.15rem;
    }

    .fixed-cta-title {
        font-size: 0.95rem;
    }

    .fixed-cta-text {
        font-size: 0.8rem;
    }

    .fixed-cta-btn {
        padding: 0.65rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }

    .fixed-cta-actions {
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
    }

    .fixed-cta-close {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        font-size: 1.25rem;
        padding: 0.25rem;
    }
}

/* Espacement pour éviter que le contenu soit caché par le CTA */
body.has-fixed-cta {
    padding-bottom: 90px;
}

@media (max-width: 900px) {
    body.has-fixed-cta {
        padding-bottom: 140px;
    }
}

@media (max-width: 600px) {
    body.has-fixed-cta {
        padding-bottom: 160px;
    }
}
