/* Variables globales */
:root {
    --brand-color: #3B82F6;
    /* Bleu */
    --brand-hover: #2563EB;
    --acadyo-violet: #4338ca;
    /* Violet Questionnaire */
    --acadyo-violet-hover: #3730a3;
    --text-dark: #0F172A;
    --text-muted: #475569;
    --bg-icon: #EEF2FF;
    --icon-color: #4F46E5;
}

body {
    background-color: #F8FAFC;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
}

.landing-container {
    max-width: 520px;
    margin: 40px auto;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 24px;
    padding: 32px 24px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    position: relative;
    overflow: hidden;
}
.landing-container-analyse {
    max-width: 520px;
    margin: 40px auto;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 24px;
    padding: 32px 4px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    position: relative;
    overflow: hidden;
}

/* En-tête */
.app-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none;
}

.btn-about {
    border: 1px solid #E2E8F0;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-about:hover {
    background-color: #F1F5F9;
    color: var(--text-dark);
}

/* Landing Page Component */
.main-title {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-top: 32px;
}

.text-highlight {
    color: var(--brand-color);
}

.description {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.5;
    margin-top: 16px;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.icon-box {
    width: 44px;
    height: 44px;
    background-color: var(--bg-icon);
    color: var(--icon-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.feature-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 2px;
    color: var(--text-dark);
}

.feature-desc {
    color: var(--text-muted);
    font-size: 13.5px;
    margin: 0;
}

.btn-cta {
    background-color: var(--brand-color);
    color: #FFFFFF;
    font-weight: 600;
    font-size: 16px;
    padding: 14px;
    border-radius: 14px;
    width: 100%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.btn-cta:hover {
    background-color: var(--brand-hover);
    color: #FFFFFF;
}

.footer-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Questionnaire Components */
.question-count {
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
}

.progress {
    height: 6px;
    background-color: #e9ecef;
    border-radius: 3px;
}

.progress-bar {
    background-color: var(--acadyo-violet);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.question-title {
    font-size: 17px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 24px;
}

.equation {
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
}

.option-card {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    background-color: #ffffff;
}

.option-card:hover {
    border-color: var(--acadyo-violet);
}

.option-card.selected {
    border: 2px solid var(--acadyo-violet);
}

.custom-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    margin-right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.selected .custom-radio {
    border-color: var(--acadyo-violet);
}

.selected .custom-radio::after {
    content: "";
    width: 10px;
    height: 10px;
    background-color: var(--acadyo-violet);
    border-radius: 50%;
}

.btn-next {
    background-color: var(--acadyo-violet);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-weight: 500;
    width: 100%;
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-next:hover {
    background-color: var(--acadyo-violet-hover);
}

.btn-skip {
    background: none;
    border: none;
    color: var(--acadyo-violet);
    font-weight: 500;
    font-size: 14px;
    display: block;
    margin: 16px auto 24px auto;
    text-decoration: none;
    text-align: center;
}

.info-box {
    background-color: #eedffc;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.info-icon {
    font-size: 22px;
    color: var(--acadyo-violet);
    line-height: 1;
}

.info-text {
    font-size: 13px;
    color: #312e81;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

/* Result Page Components */
.analysis-illustration {
    text-align: center;
    margin: 32px 0 20px 0;
}

.analysis-illustration img {
    max-width: 200px;
    height: auto;
}

.analysis-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 12px;
}

.analysis-subtitle {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 28px;
    padding: 0 10px;
}

.analysis-features {
    margin-bottom: 32px;
    padding-left: 8px;
}

.analysis-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14.5px;
    font-weight: 500;
    color: #334155;
}

.analysis-feature-item i {
    color: #10B981;
    font-size: 18px;
}

.input-email-container {
    position: relative;
    margin-bottom: 16px;
}

.input-email-container i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    font-size: 18px;
}

.input-email {
    width: 100%;
    padding: 14px 16px 14px 46px;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    font-size: 15px;
    color: var(--text-dark);
}

.input-email:focus {
    outline: none;
    border-color: var(--acadyo-violet);
}

.btn-submit-analysis {
    background-color: var(--acadyo-violet);
    color: #FFFFFF;
    font-weight: 500;
    font-size: 15px;
    padding: 14px;
    border-radius: 12px;
    width: 100%;
    border: none;
    margin-bottom: 24px;
}

.btn-submit-analysis:hover {
    background-color: var(--acadyo-violet-hover);
}

.test-phase-box {
    background-color: #EFF6FF;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.test-phase-box i {
    font-size: 22px;
    color: var(--acadyo-violet);
    line-height: 1;
}

.test-phase-text {
    font-size: 13px;
    color: #1E3A8A;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

/* Utilities */
.img-responsive_60 {
    max-width: 60%;
    height: auto;
}
.img-responsive_75 {
    max-width: 75%;
    height: auto;
}
.img-responsive_8 {
    max-width: 8%;
    height: auto;
}

.nowrap {
    white-space: nowrap;
}


// page resultat

/* =====================================================
   ACADYO2.CSS â€” Styles page rÃ©sultat positionnement
   Ã€ inclure dans templates/positionnement/resultat.html.twig
   ===================================================== */

/* ===== WRAPPER GLOBAL ===== */
.res-wrap {
    max-width: 780px;
    margin: 32px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: 'Inter', sans-serif;
}

/* ===== CARTE DE BASE ===== */
.res-card {
    background: var(--bg-surface, #fff);
    border: 1px solid var(--border, #E8EEF7);
    border-radius: 20px;
    padding: 28px 32px;
}

/* ===== SECTION 1 : SCORE GLOBAL ===== */
.res-section1 {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    flex-wrap: wrap;
}

/* Cercle SVG */
.res-circle-wrap {
    position: relative;
    flex-shrink: 0;
    width: 140px;
    height: 140px;
}

.res-circle-svg {
    width: 140px;
    height: 140px;
    transform: rotate(0deg);
}

.res-circle-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--text-primary, #111827);
}

/* Partie droite */
.res-right {
    flex: 1;
    min-width: 240px;
}

.res-score-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-surface2, #F1F3F8);
    border: 1px solid var(--border, #E8EEF7);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 12px;
    color: var(--text-secondary, #4B5563);
    font-weight: 500;
    margin-bottom: 10px;
}

.res-main-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary, #111827);
    line-height: 1.3;
    margin: 0 0 6px;
}

.res-main-sub {
    font-size: 14px;
    color: var(--text-muted, #9CA3AF);
    margin: 0 0 16px;
    line-height: 1.6;
}

.res-divider {
    border: none;
    border-top: 1px solid var(--border, #E8EEF7);
    margin: 16px 0;
}

.res-barres-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary, #111827);
    margin-bottom: 14px;
}

/* Barres de progression par domaine */
.res-barre-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.res-barre-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.res-barre-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary, #111827);
    width: 160px;
    flex-shrink: 0;
}

.res-barre-track {
    flex: 1;
    background: var(--bg-surface2, #F1F3F8);
    border-radius: 6px;
    height: 10px;
    overflow: hidden;
}

.res-barre-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 1s ease;
}

.res-barre-pct {
    font-size: 14px;
    font-weight: 700;
    width: 40px;
    text-align: right;
    flex-shrink: 0;
}

/* ===== SECTION 2 : ILLUSTRATION + COMPÃ‰TENCES ===== */
.res-section2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0;
    overflow: hidden;
}

.res-illus-wrap {
    width: 100%;
    background: var(--bg-surface, #fff);
    border-radius: 20px 20px 0 0;
    padding: 20px 20px 0;
    display: flex;
    justify-content: center;
}

.res-illus-svg {
    width: 100%;
    max-width: 340px;
    height: auto;
}

.res-competences {
    width: 100%;
    background: var(--bg-surface2, #F1F3F8);
    border-radius: 0 0 20px 20px;
    padding: 18px 24px;
}

.res-competences-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary, #111827);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.res-competences-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.res-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 10px;
    border: 1px solid;
    font-size: 13px;
    font-weight: 500;
}

/* ===== SECTION 3 : RAPPORT EMAIL ===== */
.res-section3 {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    background: var(--bg-surface, #fff);
}

.res-rapport-left {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
    min-width: 200px;
}

.res-rapport-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-surface2, #F1F3F8);
    border: 1px solid var(--border, #E8EEF7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #4F8EF7;
    flex-shrink: 0;
}

.res-rapport-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary, #111827);
    margin-bottom: 4px;
}

.res-rapport-sub {
    font-size: 13px;
    color: var(--text-muted, #9CA3AF);
    line-height: 1.5;
}

.res-rapport-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    flex: 1;
    min-width: 240px;
}

.res-rapport-input-wrap {
    position: relative;
    flex: 1;
    min-width: 180px;
}

.res-rapport-input {
    width: 100%;
    background: var(--bg-surface2, #F1F3F8);
    border: 1px solid var(--border, #E8EEF7);
    border-radius: 10px;
    padding: 11px 14px 11px 38px;
    font-size: 14px;
    color: var(--text-primary, #111827);
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.15s;
}

.res-rapport-input:focus {
    border-color: #4F8EF7;
}

.res-rapport-input::placeholder {
    color: #B0BAC9;
}

.res-rapport-btn {
    background: #4F8EF7;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 11px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: background 0.15s, transform 0.15s;
    font-family: 'Inter', sans-serif;
}

.res-rapport-btn:hover {
    background: #3B7DE8;
    transform: translateY(-1px);
}

.res-rapport-feedback {
    font-size: 14px;
    padding: 10px 0;
    font-weight: 500;
}

/* ===== ASSURANCES ===== */
.res-assurances {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    padding: 4px 0 8px;
}

.res-assurance-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--text-muted, #9CA3AF);
}

.res-assurance-item i {
    color: #4F8EF7;
}

/* ===== GRAPHIQUE SVG ===== */
.graphique-wrap {
    background: var(--bg-surface, #fff);
    border: 1.5px solid #061e4f;
    border-radius: 16px;
    padding: 20px 16px 12px;
    margin-bottom: 20px;
    width: 100%;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.graphique-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
    .res-section1 {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .res-barre-label {
        width: 100px;
        font-size: 12px;
    }

    .res-section3 {
        flex-direction: column;
    }

    .res-rapport-left {
        flex-direction: column;
    }

    .res-assurances {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}