# 🏍️ Défi MotoGP : Pouvez-vous obtenir 10/10 sur Fabio Quartararo ?

Testez vos connaissances sur Fabio Quartararo, le premier champion du monde français de MotoGP, avec ce quiz interactif. Découvrez son parcours, ses victoires et son surnom légendaire.

---

import ArticleScript from '@/components/ArticleScript';
import ArticleStyle from '@/components/ArticleStyle';


{/* Hero Section Premium */}
<div className="article-container" style={{textAlign: 'center', padding: '40px 20px'}}>
    <div style={{display: 'inline-block', background: 'linear-gradient(135deg, #4db2ec 0%, #00f3ff 100%)', padding: '8px 20px', borderRadius: '20px', marginBottom: '20px'}}>
        <span style={{color: 'white', fontWeight: '700', fontSize: '0.9em'}}>🏍️ MOTOGP LEGEND</span>
    </div>
    
    <h1 style={{fontSize: '2.5em', lineHeight: '1.2', marginBottom: '20px', background: 'linear-gradient(135deg, #ffffff 0%, #94a3b8 100%)', WebkitBackgroundClip: 'text', WebkitTextFillColor: 'transparent', backgroundClip: 'text'}}>
        Défi Fabio Quartararo
    </h1>
    
    <p style={{fontSize: '1.2em', color: '#cbd5e1', maxWidth: '700px', margin: '0 auto 30px', lineHeight: '1.6'}}>
        Testez vos connaissances sur <strong style={{color: '#00f3ff'}}>El Diablo</strong>, le champion du monde MotoGP 2021. 10 questions pour prouver que vous êtes un vrai fan !
    </p>
    
    <img src="/images/articles/fabio-yamaha-action.webp" alt="Fabio Quartararo sur sa Yamaha MotoGP" style={{width: '100%', maxWidth: '800px', borderRadius: '20px', margin: '30px auto', display: 'block', boxShadow: '0 20px 60px rgba(77, 178, 236, 0.3)'}} />
    
    <div className="hero-info-grid">
        <div className="hero-info-card">
            <div style={{fontSize: '2em', marginBottom: '5px'}}>⚡</div>
            <div className="hero-info-text">2 min chrono</div>
        </div>
        <div className="hero-info-card">
            <div style={{fontSize: '2em', marginBottom: '5px'}}>🏆</div>
            <div className="hero-info-text">10 questions</div>
        </div>
        <div className="hero-info-card">
            <div style={{fontSize: '2em', marginBottom: '5px'}}>😈</div>
            <div className="hero-info-text">El Diablo</div>
        </div>
    </div>
    
    <button id="start-quiz-fabio" style={{background: 'linear-gradient(135deg, #4db2ec, #00f3ff)', color: 'white', border: 'none', padding: '18px 50px', borderRadius: '50px', fontSize: '1.3em', fontWeight: '700', cursor: 'pointer', boxShadow: '0 10px 30px rgba(77, 178, 236, 0.4)', marginTop: '40px', transition: 'all 0.3s'}}>
        🚀 COMMENCER LE QUIZ
    </button>
</div>

{/* Progress Bar */}
<div id="quiz-progress-container-fabio" style={{position: 'sticky', top: '0', zIndex: '100', background: 'rgba(2, 6, 23, 0.95)', backdropFilter: 'blur(10px)', padding: '15px 20px', borderBottom: '1px solid rgba(255,255,255,0.1)', display: 'none'}}>
    <div style={{maxWidth: '800px', margin: '0 auto'}}>
        <div style={{display: 'flex', justifyContent: 'space-between', marginBottom: '8px'}}>
            <span style={{fontSize: '0.9em', color: '#94a3b8'}} id="quiz-progress-text-fabio">Question 1/10</span>
            <span style={{fontSize: '0.9em', color: '#00f3ff', fontWeight: '600'}} id="quiz-timer-fabio">0:00</span>
        </div>
        <div style={{height: '6px', background: 'rgba(255,255,255,0.1)', borderRadius: '10px', overflow: 'hidden'}}>
            <div id="quiz-progress-bar-fabio" style={{height: '100%', width: '10%', background: 'linear-gradient(90deg, #4db2ec, #00f3ff)', transition: 'width 0.3s ease', borderRadius: '10px'}}></div>
        </div>
    </div>
</div>

{/* Quiz Container */}
<div id="quiz-container-fabio" style={{display: 'none', maxWidth: '800px', margin: '40px auto', padding: '0 20px'}}>
    {/* Filled dynamically by JS */}
</div>

{/* Result Panel */}
<div id="quiz-result-fabio" style={{display: 'none', maxWidth: '800px', margin: '60px auto', padding: '0 20px'}}>
    <div style={{background: 'linear-gradient(135deg, rgba(77, 178, 236, 0.1), rgba(0, 243, 255, 0.1))', border: '2px solid rgba(77, 178, 236, 0.3)', borderRadius: '24px', padding: '50px 40px', textAlign: 'center'}}>
        <div style={{fontSize: '4em', marginBottom: '20px'}} id="quiz-emoji-fabio">🏆</div>
        <h2 style={{fontSize: '2.2em', marginBottom: '15px'}}>Résultat Final</h2>
        <div id="score-fabio" style={{fontSize: '3.5em', fontWeight: '800', background: 'linear-gradient(135deg, #4db2ec, #00f3ff)', WebkitBackgroundClip: 'text', WebkitTextFillColor: 'transparent', backgroundClip: 'text', marginBottom: '20px'}}></div>
        <p id="score-message-fabio" style={{fontSize: '1.2em', color: '#cbd5e1', marginBottom: '10px'}}></p>
        <div id="profile-badge-fabio" style={{display: 'inline-block', background: 'rgba(77, 178, 236, 0.2)', padding: '12px 30px', borderRadius: '20px', marginTop: '20px'}}>
            <span style={{color: '#00f3ff', fontWeight: '700', fontSize: '1.1em'}}></span>
        </div>

        <div style={{display: 'flex', gap: '15px', justifyContent: 'center', marginTop: '40px', flexWrap: 'wrap'}}>
            <button id="restart-btn-fabio" style={{background: 'linear-gradient(135deg, #4db2ec, #00f3ff)', color: 'white', border: 'none', padding: '16px 35px', borderRadius: '12px', fontSize: '1.05em', fontWeight: '700', cursor: 'pointer'}}>
                🔄 Recommencer
            </button>
            <a href="/dashboard" style={{background: 'rgba(255,255,255,0.05)', color: 'white', border: '2px solid rgba(255,255,255,0.2)', padding: '16px 35px', borderRadius: '12px', fontSize: '1.05em', fontWeight: '600', textDecoration: 'none', display: 'inline-block'}}>
                📊 Mon profil
            </a>
            <a href="#" id="whatsapp-share-fabio" style={{background: 'linear-gradient(135deg, #25D366, #128C7E)', color: 'white', border: 'none', padding: '16px 35px', borderRadius: '12px', fontSize: '1.05em', fontWeight: '600', textDecoration: 'none', display: 'inline-block'}}>
                📱 Partager
            </a>
        </div>
        
        <div id="answers-summary-fabio" style={{marginTop: '40px', textAlign: 'left', maxHeight: '400px', overflowY: 'auto', padding: '20px', background: 'rgba(0,0,0,0.2)', borderRadius: '12px'}}></div>
    </div>
</div>

{/* Content Section */}
<div className="article-container" style={{maxWidth: '800px', margin: '60px auto', padding: '0 20px'}}>
    <img src="/images/articles/fabio-el-diablo.webp" alt="Fabio Quartararo El Diablo" style={{width: '100%', borderRadius: '20px', marginBottom: '30px', boxShadow: '0 10px 40px rgba(0,0,0,0.3)'}} />
    
    <div style={{background: 'rgba(255,255,255,0.02)', border: '1px solid rgba(255,255,255,0.1)', borderRadius: '20px', padding: '40px', marginBottom: '30px'}}>
        <h2 style={{display: 'flex', alignItems: 'center', gap: '15px', marginBottom: '20px', color: '#00f3ff'}}>
            <span style={{fontSize: '2em'}}>😈</span>
            L'Ascension d'El Diablo
        </h2>
        <p style={{lineHeight: '1.8', color: '#cbd5e1'}}>
            Né à Nice en France, <strong>Fabio Quartararo</strong> a commencé sa carrière très jeune, montrant un talent exceptionnel dès ses débuts. Arrivé en MotoGP en 2019 avec <strong>Petronas Yamaha SRT</strong>, il a étonné le monde avec des performances incroyables, décrochant poles et podiums dès sa première saison.
        </p>
        <p style={{lineHeight: '1.8', color: '#cbd5e1', marginTop: '15px'}}>
            Son titre de champion du monde en <strong>2021</strong> a marqué le retour d'un champion français en catégorie reine. Son surnom "El Diablo" reflète sa nature compétitive et sa soif de victoire.
        </p>
    </div>
</div>


<ArticleStyle content={`

/* Fix text overflow in results */
#quiz-result-fabio,
#quiz-result-fabio p,
h3 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}
li, label, .quiz-page-fabio label {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

/* Hero Info Cards */
.hero-info-grid { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero-info-card { background: rgba(255,255,255,0.05); padding: 12px 20px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); text-align: center; min-width: 120px; }
.hero-info-text { font-size: 0.9em; color: #94a3b8; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .article-container { padding: 20px 10px; }
    h1 { font-size: 1.8em; }
    h2 { font-size: 1.5em; }
    p { font-size: 1em; }

    .hero-info-grid { gap: 8px; }
    .hero-info-card { padding: 8px 5px; flex: 1; min-width: 80px; }
    .hero-info-card div:first-child { font-size: 1.4em; margin-bottom: 2px; }
    .hero-info-text { font-size: 0.75em; line-height: 1.2; }
    
    label, .quiz-page-fabio label {
        padding: 12px;
        font-size: 0.95em;
    }
    
    button, a, #start-quiz-fabio {
        width: 100%;
        padding: 18px 20px;
        box-sizing: border-box;
        margin-bottom: 10px;
        display: block;
        text-align: center;
        white-space: normal;
    }
    
    .next-btn-fabio, .prev-btn-fabio {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .quiz-page-fabio > div > div:last-child {
        flex-direction: column;
    }
}

`} />

<ArticleScript src="/scripts/quizzes/defi-motogp-pouvez-vous-obtenir-12-12-sur-fabio-qu-fr.js" />

