/* c:\Users\aalex\Desktop\axeo.weclain\style.css */

:root {
    --primary: #6366f1;
    --bg-body: #020617;
    --bg-card: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: #1e293b;
    --accent: #38bdf8;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    background-color: var(--bg-body);
    color: var(--text-main);
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.page-header {
    width: 100%;
    max-width: 1000px;
    margin-bottom: 40px;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-logo {
    font-size: 1.8em;
    font-weight: 800;
    margin: 0;
}


.brand-logo img{
    margin-bottom: -5px;
}


.app-container {
    z-index: 10;
    width: 100%;
    max-width: 600px;
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    position: relative;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .app-container {
        margin: 40px auto;
        border-radius: 24px;
        min-height: auto;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        border: 1px solid var(--border-color);
    }
}

#welcome-screen,
#quiz-container,
#result-container {
    padding: 30px 20px;
    display: none;
    animation: slideUp 0.4s ease-out;
    flex-grow: 1;
}

.active-screen {
    display: block !important;
}

.premium-title, .result-title {
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.premium-subtitle {
    font-size: 1.05em;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 18px 24px;
    width: 100%;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.1s, background 0.2s;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:active {
    transform: scale(0.98);
}

.progress-bar-container {
    height: 6px;
    background: var(--border-color);
    border-radius: 10px;
    margin-bottom: 25px;
    overflow: hidden;
}

#progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    width: 0%;
    transition: width 0.3s ease;
}

.question-meta {
    font-size: 0.85em;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.question-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 25px;
}

.option {
    display: block;
    width: 100%;
    padding: 20px;
    margin: 12px 0;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    cursor: pointer;
    text-align: left;
    background: rgba(30, 41, 59, 0.5);
    font-size: 1.05em;
    font-weight: 500;
    color: var(--text-main);
    transition: all 0.2s;
}

.option:active {
    background: var(--border-color);
}

@media (hover: hover) {
    .option:hover {
        border-color: var(--primary);
        background: rgba(99, 102, 241, 0.1);
    }
}

.method-result {
    background: rgba(30, 41, 59, 0.5);
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent);
}

.tag {
    display: inline-block;
    background: rgba(99, 102, 241, 0.2);
    color: var(--accent);
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
    margin: 4px 6px 4px 0;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styles moved from inline HTML */
.result-subtitle {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.chart-title {
    font-size: 1.2em;
    margin-bottom: 15px;
    text-align: center;
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
    margin-bottom: 30px;
}

.method-result .method-name {
    color: var(--text-main);
    font-size: 1.6em;
    margin-bottom: 10px;
}

.method-result .method-principle {
    color: var(--text-muted);
    font-size: 1em;
    margin-bottom: 15px;
}

.method-result .method-section {
    margin-bottom: 15px;
}

.method-result .method-section:last-of-type {
    margin-bottom: 0;
}

.method-result .method-section-title {
    font-size: 0.85em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 5px;
}

/* --- Section "How it works" --- */
.how-it-works {
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 80px auto;
}

.how-it-works h2 {
    color: var(--text-main);
    font-size: 2em;
    margin-bottom: 40px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    font-size: 1.5em;
    font-weight: 600;
    margin: 0 auto 20px auto;
}

.step-card h3 {
    color: var(--accent);
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 10px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0;
}

/* --- Boutons de scroll --- */
.scroll-cta-container {
    text-align: center;
    margin: 60px 0;
}

.btn-scroll-top {
    background: var(--primary);
    color: white;
    border: none;
    padding: 18px 30px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

/* --- SEO Content Styles --- */
.seo-content {
    max-width: 750px;
    width: 100%;
    margin: 80px auto;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.1em;
}

.seo-content h2 {
    color: var(--text-main);
    font-size: 2em;
    margin-top: 50px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.seo-content h3 {
    color: var(--accent);
    font-size: 1.4em;
    margin-top: 40px;
    margin-bottom: 15px;
}

.seo-content p { margin-bottom: 20px; }
.seo-content ul { margin-bottom: 25px; padding-left: 25px; list-style: none; }
.seo-content li { margin-bottom: 15px; position: relative; }
.seo-content li::before {
    content: '✓';
    position: absolute;
    left: -25px;
    color: var(--accent);
    font-weight: 600;
}
.seo-content strong { color: var(--text-main); font-weight: 600; }

/* --- Section Aperçu des Méthodes --- */
.methods-overview {
    margin-top: 60px;
    text-align: center;
}

.methods-overview p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    text-align: left;
    margin-top: 30px;
}

.method-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 16px;
}

.method-card h4 {
    color: var(--accent);
    margin: 0 0 10px 0;
    font-size: 1.2em;
}

.method-card p {
    font-size: 0.9em;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 0;
}

.seo-cta {
    text-align: center;
    margin-top: 80px;
    padding: 40px 30px;
    background-color: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}
.seo-cta h3 { margin-top: 0; color: var(--text-main); }
.seo-cta p { margin-bottom: 25px; }
.seo-cta .btn-scroll-top { font-size: 1.2em; padding: 20px 35px; }

/* --- Footer --- */
.site-footer {
    width: 100%;
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 40px 20px;
    margin-top: auto; /* Permet de pousser le footer tout en bas */
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9em;
}

.site-footer .footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.site-footer p {
    margin: 10px 0;
}

.site-footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: var(--primary);
    text-decoration: underline;
}