/*
    Projet  : Start-Elite
    Fichier : assets/css/faq.css
    Page    : FAQ - START-ELITE
*/

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

        :root {
            --gold: #ffb648;
            --gold-light: #ffd089;

            /* Palette contenu clair */
            --c-dark: #1a2235;
            --c-body: #374151;
            --c-muted: #6b7a99;
            --c-accent: #b87513;
            --c-bg: #f0f4f8;
            --c-white: #ffffff;
            --c-border: rgba(0,0,0,0.08);
        }

        html { scroll-behavior: smooth; }

        body {
            font-family: 'Barlow', sans-serif;
            color: var(--c-dark);
            background: var(--c-bg);
            overflow-x: hidden;
        }

        
    /* Fil d'Ariane (breadcrumb) : indique la position dans le site */
        .breadcrumb {
            background: var(--c-white);
            border-bottom: 1px solid var(--c-border);
            padding: 14px 0;
        }

        .breadcrumb-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 30px;
            font-family: 'Barlow Condensed', sans-serif;
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: var(--c-muted);
        }

        .breadcrumb-content a {
            color: var(--c-accent);
            text-decoration: none;
            transition: color 0.2s;
        }

        .breadcrumb-content a:hover { color: var(--gold); }

        
        /* === CONTENU PRINCIPAL === */

        .main-content {
            max-width: 1200px;
            margin: 70px auto;
            padding: 0 20px;
        }

        .page-title {
            text-align: center;
            font-family: 'Bebas Neue', sans-serif;
            font-size: clamp(38px, 5vw, 64px);
            font-weight: 400;
            letter-spacing: 4px;
            text-transform: uppercase;
            color: var(--c-dark);
            margin-bottom: 50px;
        }

        .page-subtitle {
            text-align: center;
            font-size: 16px;
            color: var(--c-body);
            margin-bottom: 50px;
            font-style: italic;
        }

        /* FAQ */
        .faq-container {
            max-width: 900px;
            margin: 0 auto;
        }

        .faq-item {
            background: var(--c-white);
            border: 2px solid var(--c-border);
            border-radius: 10px;
            margin-bottom: 20px;
            overflow: hidden;
            transition: box-shadow 0.3s, border-color 0.3s;
        }

        .faq-item:hover {
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            border-color: var(--c-accent);
        }

        .faq-question {
            padding: 25px 30px;
            cursor: pointer;
            font-weight: 600;
            font-size: 18px;
            color: var(--c-dark);
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background 0.3s, color 0.3s;
            user-select: none;
        }

        .faq-question:hover {
            background: var(--c-bg);
            color: var(--c-accent);
        }

        .faq-question::after {
            content: '+';
            font-size: 28px;
            font-weight: 300;
            color: var(--c-accent);
            transition: transform 0.3s;
            flex-shrink: 0;
            margin-left: 16px;
        }

        .faq-item.active .faq-question::after { transform: rotate(45deg); }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.4s ease;
            padding: 0 30px;
        }

        .faq-item.active .faq-answer {
            max-height: 2000px;
            padding: 0 30px 25px;
        }

        .faq-answer p {
            margin-bottom: 15px;
            line-height: 1.8;
            color: var(--c-body);
        }

        .faq-answer ul {
            margin: 15px 0;
            padding-left: 30px;
        }

        .faq-answer li {
            margin-bottom: 10px;
            color: var(--c-body);
            line-height: 1.7;
        }

        .faq-answer a {
            color: var(--c-accent);
            text-decoration: none;
            font-weight: 500;
        }

        .faq-answer a:hover { text-decoration: underline; }

        /* Bouton "Afficher le numéro" inline dans les réponses FAQ */
        .btn-tel-faq {
            display: inline-flex;
            align-items: center;
            padding: 4px 12px;
            border: 1px solid var(--c-accent);
            color: var(--c-accent);
            border-radius: 5px;
            cursor: pointer;
            font-weight: 700;
            user-select: none;
            background: transparent;
            transition: all 0.3s;
            font-size: 0.95em;
            vertical-align: middle;
        }

        .btn-tel-faq:hover {
            background: rgba(0,119,170,0.08);
        }

        .tel-faq-content {
            display: none;
            font-weight: 700;
            letter-spacing: 1.5px;
            color: var(--c-dark);
        }

        
    /* Bouton retour en haut de page (apparaît après 300px de scroll) */
        #scroll-top-btn {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: var(--gold);
            color: #1a1530;
            width: 46px;
            height: 46px;
            border-radius: 3px;
            display: none;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 20px rgba(255,182,72,0.4);
            z-index: 999;
            transition: all 0.3s;
        }
        #scroll-top-btn.visible,
        #scroll-top-btn.show { display: flex; }
        #scroll-top-btn:hover { background: var(--gold-light); transform: translateY(-3px); }

        
        /* === RESPONSIVE — MEDIA QUERIES · ≤ 768px : mobile paysage === */

        @media (max-width: 768px) {
            .main-content { padding: 0 15px; margin: 40px auto; }
            .faq-question { font-size: 15px; padding: 20px; }
            .faq-answer { padding: 0 20px; }
            .faq-item.active .faq-answer { padding: 0 20px 20px; }
        }
