@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');


/* ===================================================================================
   STYLE.CSS - v3.5 - Finition de la sphère
   =================================================================================== */

/* --- CSS GLOBAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    display: flex;
    flex-direction: column; /* Changé pour permettre au footer de se placer en bas */
    justify-content: flex-start; /* Aligne le container en haut */
    align-items: center;
    padding: 20px;
}

.container {
	position: relative; /* AJOUTEZ CECI */
    max-width: 900px;
    width: 100%; /* S'assure que le conteneur prend la largeur disponible */
    margin-top: 20px;
    margin-bottom: 20px; /* Ajoute un peu d'espace avant le footer */
    padding: 20px;
    background: #FFFFFF; 
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

  .header {
        text-align: center;
        margin-bottom: 50px;
        padding-top: 20px;
    }
    
    .main-title {
        font-family: 'Lora', serif;
        font-size: 3.2rem;
        font-weight: 600;
        /* La couleur est retirée d'ici */
        letter-spacing: -1px;
        margin: 15px 0 10px 0;
        display: inline-block;
        position: relative;
    }
    
      /* NOUVELLE CLASSE POUR LE TEXTE EN DÉGRADÉ */
    .gradient-text {
        /* On applique le dégradé comme une image de fond */
        background: linear-gradient(45deg, #8c7851, #764ba2);
        /* On dit au navigateur de "couper" le fond pour qu'il ne soit visible qu'à travers le texte */
        -webkit-background-clip: text;
        background-clip: text;
        /* On rend le texte lui-même transparent pour voir le fond à travers */
        color: transparent;
    }
    
    .main-title-logo {
        position: absolute;
        right: 100%;
        margin-right: 10px;
        top: 50%;
        transform: translateY(-50%);
        display: inline-flex;
        align-items: center;
    }
    
    .main-subtitle {
        font-family: 'Lora', serif;
        font-size: 1.15rem;
        color: #7B6A48;
        font-style: italic;
        letter-spacing: 0.3px;
        margin: 0;
    }

.card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

/* Style pour la nouvelle accroche de la section de sélection des tests */
.section-hook-title {
    font-family: 'Lora', serif; /* Police élégante pour un ton plus posé et introspectif */
    text-align: center;
    color: #4A56B8; /* MODIFIÉ : Même couleur que les titres des tests pour la cohérence */
    margin-bottom: 15px; /* On réduit l'espace avec le sous-titre */
    font-weight: 500; /* Moins agressif qu'un gras traditionnel */
    font-size: 1.6rem; /* Plus grand pour plus d'impact */
    line-height: 1.4; /* Améliore la lisibilité */
}

.section-hook-subtitle {
    font-family: 'Lora', serif;           /* AJOUT : Police Lora */
    font-size: 1.17rem;                  /* AJOUT : Même taille que l'accroche des cartes */
    font-weight: 580;                   /* AJOUT : Même graisse */
    color: #4a3a60;                     /* AJOUT : Même couleur */
    font-style: italic;                 /* AJOUT : Style italique */
    text-align: center;
    margin-top: 0;
    margin-bottom: 40px;                /* AJUSTÉ : Un peu plus d'espace pour que ça respire */
}

/* --- GRILLE DE SÉLECTION DES TESTS --- */
.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.test-card {
    background: linear-gradient(145deg, #f0f2f5, #ffffff);
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.test-card:not(.coming-soon):not(.completed):hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    border-color: #4A56B8;
}

.test-card.coming-soon {
    filter: grayscale(80%);
    opacity: 0.7;
    cursor: not-allowed;
    background: #e9ecef;
}

.test-card.coming-soon .btn {
    background: #bdc3c7;
    cursor: not-allowed;
    box-shadow: none;
}

.test-icon {
    font-size: 3.5rem;
    margin-bottom: 18px;
    display: block;
    color: #764ba2;
}

.test-card h3 {
    color: #4A56B8;
    margin-bottom: 12px;
    font-size: 1.5rem;
    line-height: 1.2;
    font-weight: 600;
}

.test-meta {
    color: #4A5568;
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.test-description {
    line-height: 1.7; 
    margin-bottom: 25px;
    flex-grow: 1;
    padding: 0 10px; 
    display: block; /* On s'assure que c'est un bloc pour que les spans aillent à la ligne */
}

/* Le style pour l'accroche principale (la question) */
.description-hook {
    font-family: 'Lora', serif;
    font-size: 1.2rem; 
    font-weight: 600; 
    color: #4a3a60; 
    display: block; /* Force le retour à la ligne après */
    font-style: italic;
}

/* Le style pour la promesse (le sous-titre) AVEC L'ESPACEMENT */
.description-sub {
    font-family: 'Segoe UI', sans-serif; 
    font-size: 0.95rem; 
	font-weight: 400;
    color: #6a6a7c; 
    display: block; 
    margin-top: 15px; /* <-- Voici l'espacement que vous souhaitiez ! */
}

/* --- NOUVEAUX STYLES POUR LES CARTES COMPLÉTÉES --- */
.test-card.completed {
    background: linear-gradient(145deg, #e6e9ed, #f5f7fa);
    border-color: #28a745; /* Bordure verte de succès */
}

.test-card.completed:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(40, 167, 69, 0.2); /* Ombre verte subtile */
}

.test-card.completed .test-description,
.test-card.completed .btn-start-test {
    display: none;
}

.completed-actions {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    align-items: center;
}

.btn-view-results {
    background: #6c757d;
    color: white !important;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%;
    border: none;
    cursor: pointer;
}
.btn-view-results:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-retake {
    background: transparent;
    color: #4A56B8;
    border: 2px solid #667eea;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%;
    cursor: pointer;
}
.btn-retake:hover {
    background: #667eea;
    color: white;
}


/* --- BOUTONS --- */
.btn {
    background: linear-gradient(45deg, #4A56B8, #5f3a80);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    margin-top: 20px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    opacity: 0.95;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: #aab8c2;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-secondary:hover {
    background: #8b969d;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* --- SECTIONS DE L'APPLICATION --- */
.hidden {
    display: none !important;
}

.question-container, .results-container {
    position: relative;
}

.test-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #4A56B8, #5f3a80);
    color: white;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.test-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.test-header p {
    font-size: 1rem;
    opacity: 0.9;
}

.question {
    margin-bottom: 25px;
}

.question h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.35rem;
    line-height: 1.5;
}

.options {
    display: grid;
    gap: 15px;
}

.option {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1.05rem;
    color: #444;
    text-align: left;
}

.option:hover {
    background: #e3f2fd;
    border-color: #4A56B8;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.1);
}

.option.selected {
    background: linear-gradient(45deg, #4A56B8, #5f3a80);
    color: white;
    border-color: #4A56B8;
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.3);
}

.option:focus-visible {
    outline: 3px solid #4A56B8;
    outline-offset: 2px;
    border-color: #667eea;
}

.visually-hidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.progress-bar {
    background: #e9ecef;
    border-radius: 10px;
    height: 10px;
    margin-bottom: 25px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.progress-fill {
    background: linear-gradient(45deg, #4A56B8, #5f3a80);
    height: 100%;
    border-radius: 10px;
    transition: width 0.4s ease-out;
    width: 0%;
}

.navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

/* --- SECTION DES RÉSULTATS --- */
.results-container {
    padding: 35px;
}

.results-container h4 {
    color: #4A56B8;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: bold;
}

.result-section {
    margin-bottom: 25px;
    padding: 25px;
    background: #ffffff;
    border-radius: 12px;
    border-left: 5px solid #667eea;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.result-section.dominant-trait {
    background-color: #f4f6ff;
    border-left-color: #4338ca;
}

.result-title {
    color: #764ba2;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.result-summary {
    font-style: italic;
    color: #555;
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.6;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.result-details {
    margin-top: 20px;
}

.result-details h6 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.result-details p {
    line-height: 1.7;
    color: #4a5568;
}

.result-details p strong {
    color: #4A56B8;
    font-weight: 600;
}

.premium-blur {
    filter: blur(4px);
    opacity: 0.4;
    pointer-events: none;
    user-select: none;
    position: relative;
}

.premium-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(102, 126, 234, 0.8);
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: bold;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* --- STYLES POUR LE FLOU ET L'OVERLAY CTA (VERSION FINALE) --- */

.tabs-content-wrapper {
    position: relative; /* Indispensable pour permettre la superposition */
}

.tabs-content.blurred {
    filter: blur(8px);
    -webkit-filter: blur(8px);
    pointer-events: none;
    user-select: none;
    transition: filter 0.3s ease;
    min-height: 300px; /* Assure que l'overlay a une taille même si le contenu est vide au début */
}

/* Ceci est le conteneur de notre "bandeau flottant" */
/* Ceci est le conteneur de notre "bandeau flottant" */
.premium-overlay-tabs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* <-- On l'aligne en haut */
    background: rgba(244, 246, 255, 0.7); /* Fond légèrement transparent pour voir le flou derrière */
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 10;
    padding: 20px;
	 padding-top: 50px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    border-radius: 10px; /* Important pour les coins arrondis */
}

.premium-overlay-tabs.hidden {
    display: none;
}

/* Ceci est le style du "beau bandeau" que vous aimiez */
.premium-overlay-tabs-content {
    background: white;
    border-radius: 12px;
    padding: 30px 35px;
    text-align: center;
    border: 1px solid #d9dff0;
    box-shadow: 0 10px 35px rgba(102, 126, 234, 0.25);
    max-width: 550px;
    width: 100%;
}

.premium-overlay-tabs-content h4 {
    font-family: 'Lora', serif;
    color: #4a3a60;
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.premium-overlay-tabs-content p {
    color: #5a6268;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 450px;
    margin: 0 auto 25px auto;
}

.premium-overlay-tabs-content .btn {
    margin-top: 0;
}

/* --- MODALE --- */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    animation: fadeIn 0.3s ease forwards;
    justify-content: center;
    
    /* MODIFICATIONS CI-DESSOUS */
    align-items: flex-start;  /* On aligne en haut au lieu de centrer */
    overflow-y: auto;         /* ON AUTORISE LE DÉFILEMENT VERTICAL ! */
    padding-top: 50px;        /* On ajoute une marge en haut pour l'esthétique */
    padding-bottom: 50px;     /* Et en bas pour la sécurité */
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 35px;
    max-width: 550px;
    width: 90%;
    text-align: center;
    animation: slideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.flash-offer {
    background: linear-gradient(75deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(238, 90, 36, 0.4);
    position: relative;
    overflow: hidden;
}
.flash-offer::before {
    content: '✨';
    position: absolute;
    top: 5px; right: 5px;
    font-size: 2em;
    transform: rotate(20deg);
    opacity: 0.6;
    animation: pulse-icon 1.5s infinite alternate;
}
.flash-offer h3 {
    margin-bottom: 12px;
    font-size: 1.8rem;
    text-transform: uppercase;
}

.price-strike {
    text-decoration: line-through;
    opacity: 0.7;
    font-size: 1.3rem;
    margin-right: 10px;
}

.price-flash {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffff00;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.modal-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.btn-accept {
    background: linear-gradient(45deg, #28a745, #218838);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}
.btn-decline {
    background: linear-gradient(45deg, #dc3545, #c82333);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

/* --- STYLE POUR LE BOUTON RETOUR GLOBAL --- */
#global-back-button {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 10; /* S'assure qu'il est au-dessus du contenu */
}

/* On s'assure que l'ancien bouton ne pose plus de problème */
.dashboard-header .back-button {
    display: none;
}

.back-button {
    background: #f0f2f5;
    color: #4A56B8;
    border: 1px solid #e0e4e8;
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.back-button:hover {
    background: #e3f2fd;
    border-color: #4A56B8;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.2);
}

.back-button svg {
    margin-right: 6px;
    stroke: #667eea;
    width: 18px;
    height: 18px;
}

/* On supprime la position relative qui n'est plus nécessaire sur le conteneur principal */
.question-container {
    position: static;
}

/* ===================================== */
/* =================================================================== */
/* --- NOUVEAUX STYLES SECTION SYNERGIE V3 : LE FOLIO PRÉCIEUX --- */
/* =================================================================== */


.synergy-main-header {
    text-align: center;
    font-size: 1.8rem;
    font-family: 'Lora', serif;
    color: #4a3a60;
    margin: 40px auto 35px auto;
    padding: 20px; /* On réduit un peu le padding vertical */
    background: linear-gradient(175deg, #f9f6f2, #f5f3ef);
    border-top: 1px solid #e0d9cf;
    border-bottom: 1px solid #e0d9cf;
    border-radius: 12px;
    display: flex;
    justify-content: center; /* On s'assure que tout est bien centré */
    align-items: center;
    gap: 20px; /* Espace entre les icônes et le texte */
    max-width: 700px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.synergy-main-header span {
    /* Le texte du titre est maintenant dans un span pour un meilleur contrôle */
    flex-shrink: 0; /* Empêche le texte de se compresser */
}

.synergy-main-header svg {
    width: 28px;
    height: 28px;
    stroke: #8c7851; /* NOTRE COULEUR DORÉE */
    stroke-width: 1.5; /* Trait un peu plus fin pour l'élégance */
    fill: #8c7851; /* On remplit l'étoile avec la même couleur */
    flex-shrink: 0; /* Empêche les icônes de se compresser */
}

/* NOUVEAU code corrigé */
.synergy-folio {
    background: transparent; /* TRÈS IMPORTANT : On rend la carte transparente */
    border: 1px solid #e0d9cf;
    border-radius: 12px;
    padding: 35px 40px;
    margin-bottom: 35px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    z-index: 1; /* Pour que le contenu soit bien au-dessus */
}

/* C'EST LA MAGIE : On déplace le fond ici, sur un pseudo-élément "après" */
.synergy-folio::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(175deg, #fdfcf8, #f5f3ef);
    border-radius: 12px;
    z-index: -2; /* On le place tout en dessous */
}

/* On ajuste le fil d'or pour qu'il soit au-dessus du fond mais sous le texte */
.synergy-folio::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    right: -10px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #8c7851, transparent); /* Dégradé Or */
    transform: translateY(-50px);
    opacity: 0.6;
    z-index: -1; /* Le fil d'or vient se placer PAR-DESSUS le fond ! */
}

/* Le texte reste au-dessus de tout, pas besoin de le changer */
.folio-header, .folio-content {
    position: relative; 
    z-index: 1;
}

.folio-header h4 {
    text-align: center;
    color: #764ba2; /* Violet profond */
    font-size: 1.7rem;
    font-family: 'Lora', serif; /* Police premium */
    margin-bottom: 20px;
    line-height: 1.4;
    font-weight: 600;
}

.synergy-bridge {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 25px 0 35px 0;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
}

.trait-pill {
    background-color: #ede8e1; /* Un beige chaud */
    color: #5a4e46; /* Un marron doux */
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid #dcd3c8;
}

.bridge-icon {
    color: #8c7851; /* Couleur Or */
    margin: 0 15px;
    display: inline-flex;
    align-items: center;
}

.bridge-icon svg {
    width: 24px;
    height: 24px;
}

.folio-content p {
    line-height: 1.8;
    color:  #5a4e46;/* Un marron/gris foncé, plus doux que le noir */
    margin-bottom: 30px;
    text-align: justify;
    font-size: 1.1rem;
}

.folio-growth {
    background-color: #f7f3e9; /* Fond parchemin clair */
    border: 1px solid #eaddc0;
    border-radius: 10px;
    padding: 25px;
}

.folio-growth h5 {
    color: #7b6234; /* Un bronze foncé */
    font-weight: 700;
    margin: 0 0 12px 0;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
}

.folio-growth h5 svg {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    stroke: #a08458;
}

.folio-growth p {
    line-height: 1.7;
    color: #5a4e46;
    font-size: 1.05rem;
    margin-bottom: 0; /* On enlève la marge du bas pour ce paragraphe */
}

.synergy-empty {
    text-align:center;
    opacity: 0.8;
    font-style: italic;
    background: #fdfcf8;
    padding: 30px;
    border-radius: 12px;
    color: #5a4e46;
    border: 1px dashed #e0d9cf;
}

#synergy-btn {
    background: linear-gradient(45deg, #8c7851, #764ba2); /* Un dégradé doré/bronze */
    box-shadow: 0 6px 20px rgba(192, 160, 98, 0.4);
    color: white;
}

#synergy-btn:hover {
    box-shadow: 0 8px 25px rgba(192, 160, 98, 0.6);
}

/* --- ANIMATIONS --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-80px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes pulse-icon {
    0% { transform: scale(1) rotate(20deg); opacity: 0.6; }
    50% { transform: scale(1.1) rotate(20deg); opacity: 1; }
    100% { transform: scale(1) rotate(20deg); opacity: 0.6; }
}
/* Style de base pour toutes les icônes SVG dans la section synergie */
#synergy-results-content svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* --- RESPONSIVE DESIGN --- */

/* ---- 1. Ajustements pour Tablettes (en dessous de 992px) ---- */
@media (max-width: 992px) {
    .container {
        padding: 20px;
    }
    .main-title {
        font-size: 2.8rem;
    }
    .test-grid {
        /* On passe à 2 colonnes au lieu de 3 sur les tablettes */
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}


/* ===================================== */
/* --- STYLES POUR LE FOOTER V2 (Corrigé) --- */
/* ===================================== */

.app-footer {
    width: 100%;
    max-width: 900px;
    text-align: center;
    margin: 40px auto 20px auto;
    padding-top: 25px;
    border-top: 1px solid #e0e4e8; 
}

.footer-links {
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* <-- MODIFIÉ : Les liens commencent à gauche */
    gap: 15px 30px;
}

.footer-links a {
    /* MODIFICATION : Couleur changée pour un gris lisible */
    color: #4A5568;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    /* MODIFICATION : Couleur de survol issue de notre palette principale */
    color: #4A56B8;
    text-decoration: underline;
}

.app-footer p {
    font-size: 0.85rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    /* MODIFICATION : Gris encore plus doux pour le disclaimer */
    color: #4A5568; 
    line-height: 1.6;
}

.app-footer p strong {
    /* MODIFICATION : Le "Avertissement" ressort en gris foncé */
    color: #4a5568; 
}

.app-footer p.copyright {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #4A5568;
}

/* --- STYLES POUR LE TEASER DE SYNERGIE --- */

.synergy-teaser {
    display: flex; /* On utilise flexbox pour aligner l'icône et le texte */
    align-items: flex-start; /* Aligne les éléments en haut */
    gap: 20px; /* Espace entre l'icône et le texte */
    background: linear-gradient(135deg, #f7f8ff, #eef1f9);
    border: 1px solid rgba(102, 126, 234, 0.4);
    border-radius: 12px;
    padding: 20px 25px; /* On ajuste le padding */
    margin: 0 auto 30px auto;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.2);
}

.synergy-teaser-icon {
    font-size: 2rem; /* On grossit l'icône */
    color: #764ba2;
    padding-top: 2px; /* Petit ajustement vertical */
}

.synergy-teaser-text p {
    text-align: left; /* C'est la modification que vous vouliez ! */
    font-size: 1rem;
    color: #343a40;
    line-height: 1.6;
    margin: 0;
}

.synergy-teaser-text p strong {
    color: #764ba2;
}

/* --- STYLES POUR LES ICÔNES DES RAPPORTS --- */

.result-details h6 .report-icon {
    font-size: 1.3rem;      /* Contrôle la taille de l'émoji */
    margin-right: 10px;     /* Crée un espace entre l'icône et le texte */
    vertical-align: -2px;   /* Ajustement fin pour un alignement parfait à l'œil */
}

/* ===================================== */
/* --- ÉCRAN DE CALCUL --- */
/* ===================================== */

.calculation-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(244, 247, 249, 0.95); /* Fond semi-transparent pour garder le contexte */
    backdrop-filter: blur(5px); /* Effet de flou moderne */
    z-index: 2000; /* Au-dessus de tout le reste */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #343a40;
}

.calculation-content .spinner {
    font-size: 4rem;
    margin-bottom: 25px;
    display: inline-block;
    animation: spin 4s linear infinite; /* Animation de rotation */
}

.calculation-content h2 {
    font-family: 'Lora', serif;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.calculation-content p {
    font-size: 1.1rem;
    color: #555;
    transition: opacity 0.5s ease; /* Transition douce pour le changement de texte */
}

/* Animation de rotation pour le spinner */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ===================================== */
/* --- STYLES POUR LE FOLIO DE RÉSULTATS V2 --- */
/* ===================================== */

.results-dashboard {
    padding: 10px;
}

.dashboard-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.profile-pic-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2rem;
    margin-right: 20px;
}

.dashboard-title h2 {
    margin: 0;
    color: #333;
    font-size: 1.8rem;
}

.dashboard-title p {
    margin: 0;
    color: #4A5568;
    font-size: 1rem;
}



.summary-card {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
}

.summary-card h4 {
    color: #764ba2;
    margin-bottom: 15px;
}

/* --- Styles pour la navigation par onglets --- */
.tabs-container {
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
}

.tabs-nav {
    display: flex;
    overflow-x: auto;
    margin-bottom: 20px;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 5px;
}

.tab-link {
    padding: 12px 20px;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1rem;
    color: #555;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-link:hover {
    color: #4A56B8;
}

.tab-link.active {
    color: #4A56B8;
    border-bottom-color: #4A56B8;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-content.active {
    display: block;
}

.dimension-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.dimension-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 20px;
}

.dimension-title {
    color: #764ba2;
    font-size: 1.6rem;
    font-weight: 700;
}

.score-gauge {
    width: 100px;
    height: 50px;
    position: relative;
    overflow: hidden;
}

.score-gauge-bg, .score-gauge-fill {
    width: 100%;
    height: 200%;
    border-radius: 100px 100px 0 0;
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: 50% 100%;
}

.score-gauge-bg {
    background: #e9ecef;
}

.score-gauge-fill {
    background: linear-gradient(135deg, #4A56B8, #5f3a80);
    transition: transform 0.8s ease-out;
    transform: rotate(0.5turn); /* Position initiale à 0 */
}

.score-gauge-text {
    position: absolute;
    bottom: -5px;
    width: 100%;
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
}

.results-actions {
    text-align: center;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}


/* --- Styles pour le blur et l'overlay sur les onglets --- */

.question-text {
    color: #333;
    margin-top: 10px; /* Espace après "Question X sur Y" */
    margin-bottom: 20px;
    font-size: 1.35rem;
    line-height: 1.5;
    font-weight: 500;
}
/* On ajuste le style du h3 pour qu'il soit plus un titre de section */
.question h3 {
    color: #764ba2;
    margin-bottom: 0;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===================================== */
/* --- STYLES POUR LE TEASER DE RÉSULTAT --- */
/* ===================================== */

.result-teaser {
    margin-top: 20px;
    padding: 15px;
    background-color: #e3f2fd; /* Un bleu très clair et apaisant */
    border-radius: 12px;
    border: 2px solid #a5d8ff;
    text-align: center;
}

.teaser-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0d47a1; /* Un bleu plus soutenu */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.teaser-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0d47a1; /* Un bleu nuit */
    line-height: 1.3;
    margin: 0;
}

.completed-actions {
    /* Ajustement pour mieux s'intégrer avec le teaser */
    margin-top: 15px;
}

.btn-view-results {
    /* Amélioration visuelle pour plus d'impact */
    background: #1F7A34;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-view-results:hover {
    background: #218838;
}



/* ================================================================= */
/* --- STYLES POUR LE SAS D'ANALYSE V7 : LA SPHÈRE D'ÉNERGIE --- */
/* ================================================================= */

.calculation-content h2 {
    font-size: 1.8rem;
    color: #444;
    margin-bottom: 15px;
    font-weight: 600;
}

.calculation-content p {
    font-size: 1.1rem;
    color: #4A56B8;
    font-weight: 500;
    height: 1.5em; /* Garde l'espace pour éviter les sauts de page */
    transition: opacity 0.4s ease-out;
}

.pulsing-orb {
    width: 80px;
    height: 80px;
    margin: 40px auto;
    position: relative; /* Crucial pour les pseudo-éléments */
    border-radius: 50%;
    
    /* Le coeur de la sphère */
    background: radial-gradient(circle at 65% 35%, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(220, 225, 255, 0.3) 40%, 
        rgba(118, 75, 162, 0.4) 90%),
        linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    /* L'ombre intérieure pour le volume et le halo extérieur pour la lueur */
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.4),
        inset 0 -3px 6px rgba(255, 255, 255, 0.2),
        0 0 20px 0px rgba(120, 89, 207, 0.6); /* Le halo principal */
        
    animation: pulse 3s infinite ease-in-out;
}

/* Pseudo-élément pour le halo de particules en pointillés */
.pulsing-orb::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    animation: rotate 20s linear infinite; /* Animation de rotation lente */
}

/* Pseudo-élément pour un second halo plus doux et statique */
.pulsing-orb::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.5;
}

/* Animation de la pulsation principale (légèrement ajustée) */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 
            inset 0 2px 4px rgba(0, 0, 0, 0.4),
            inset 0 -3px 6px rgba(255, 255, 255, 0.2),
            0 0 20px 0px rgba(120, 89, 207, 0.6);
    }
    50% {
        transform: scale(1.3); /* Dilatation un peu réduite pour la subtilité */
        box-shadow: 
            inset 0 3px 6px rgba(0, 0, 0, 0.3),
            inset 0 -4px 8px rgba(255, 255, 255, 0.25),
            0 0 40px 5px rgba(120, 89, 207, 0.8); /* Halo plus intense au maximum */
    }
    100% {
        transform: scale(1);
        box-shadow: 
            inset 0 2px 4px rgba(0, 0, 0, 0.4),
            inset 0 -3px 6px rgba(255, 255, 255, 0.2),
            0 0 20px 0px rgba(120, 89, 207, 0.6);
    }
}

/* Animation pour la rotation du halo de particules */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* --- Fin des styles pour le sas d'analyse --- */


.synergy-main-header svg {
    vertical-align: -5px; /* Ajuste finement l'alignement vertical */
    margin-right: 12px;  /* Crée un espace avec le texte */
}

/* --- AMÉLIORATION BONUS : FOLIO DE SYNERGIE VIVANT --- */
.synergy-folio {
    position: relative; /* Nécessaire pour le pseudo-élément */
    z-index: 1;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.synergy-folio:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}

.synergy-folio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 18px; /* Doit être légèrement plus grand que le border-radius de la carte */
    border: 2px solid transparent;
    background: linear-gradient(135deg, #667eea, #764ba2) border-box;
    -webkit-mask:
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.synergy-folio:hover::before {
    opacity: 1;
}

/* ===================================== */
/* --- STYLES POUR LE BADGE DE SYNERGIE --- */
/* ===================================== */

#synergy-badge-container {
    background: linear-gradient(135deg, #f4f6ff, #eef1f9);
    border-radius: 12px;
    padding: 20px 25px;
    margin: 0 auto 30px auto;
    max-width: 800px;
    width: 100%;
    border: 1px solid #d9dff0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

#synergy-badge-container.hidden {
    display: none;
}

.synergy-badge {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.synergy-badge:last-child {
    margin-bottom: 0;
}

.synergy-badge .badge-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #764ba2;
    background-color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.synergy-badge .badge-text {
    flex-grow: 1;
}

.synergy-badge .badge-text p {
    margin: 0;
    font-size: 0.8rem;
    color: #54545c;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.synergy-badge .badge-text h5 {
    margin: 0;
    font-size: 1.1rem;
    color: #343a40;
    font-weight: 700;
}

/* --- STYLE POUR LE TEST RECOMMANDÉ --- */
.test-card.recommended {
    border-color: #ffc107; /* Une bordure dorée pour attirer l'œil */
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.3);
    position: relative;
    overflow: hidden; /* Important pour le ruban */
}

.test-card.recommended::after {
    content: 'Recommandé';
    position: absolute;
    top: 15px;
    right: -30px;
    background-color: #ffc107;
    color: white;
    padding: 5px 30px;
    font-size: 0.85rem;
    font-weight: bold;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* --- STYLE POUR LES MESSAGES D'ENCOURAGEMENT --- */
.milestone-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(45deg, #28a745, #218838);
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 3000;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    animation: fadeInThenOut 2.5s ease-in-out forwards;
}

@keyframes fadeInThenOut {
    0% { opacity: 0; transform: translate(-50%, -30%); }
    20% { opacity: 1; transform: translate(-50%, -50%); }
    80% { opacity: 1; transform: translate(-50%, -50%); }
    100% { opacity: 0; transform: translate(-50%, -70%); }
}

/* ===================================== */
/* --- STYLES POUR LE FOOTER V2 --- */
/* ===================================== */

.app-footer {
    border-top: 1px solid #e0e4e8;
    padding-top: 25px;
    margin-top: 40px; 
}

.footer-links {
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 30px;
}

.footer-links a {
    color: #4A5568;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #4A56B8;
    text-decoration: underline;
}

.app-footer p {
    font-size: 0.85rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #4A5568; /* Gris encore plus doux pour le disclaimer */
}

.app-footer p.copyright {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #4A5568;
}



/* ===================================== */
/* --- STYLES POUR LA LISTE DES BÉNÉFICES --- */
/* ===================================== */

#discovery-offer h3 {
    font-family: 'Lora', serif;
    font-size: 1.7rem;
    color: #4a3a60;
    font-weight: 600;
}

.offer-subtitle {
    font-style: italic;
    color: #6c757d;
    margin-top: 6px;
    margin-bottom: 25px;
}

.benefit-list {
    list-style-type: none;
    padding: 0;
    margin: 0 auto;
    text-align: left;
    max-width: 400px; /* Centre la liste si la modale est large */
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    line-height: 1.5;
}

.benefit-icon {
    font-size: 1.4rem;
    margin-right: 15px;
    margin-top: -2px; /* Petit ajustement pour un alignement vertical parfait */
}

.benefit-text {
    font-size: 1rem;
    color: #343a40;
}

/* ===================================== */
/* --- AMÉLIORATION OFFRE FLASH --- */
/* ===================================== */

.flash-offer-title {
    font-family: 'Lora', serif;
    font-size: 1.8rem;
    color: white;
    font-weight: 600;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.flash-offer-subtitle {
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.flash-offer-value-prop {
     background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px 20px;
    text-align: left;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.flash-offer-value-prop p {
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
}

.flash-offer-value-prop ul {
    list-style-type: none;
    padding-left: 0;
    color: white;
}

.flash-offer-value-prop li {
    margin-bottom: 8px;
}

.flash-offer-price-container {
    margin-bottom: 15px;
}

.flash-offer-price-container .price-label {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-right: 15px;
}

.flash-offer-price-container .price-flash {
    color: #ffff00;
    font-weight: bold;
    font-size: 1.8rem;
}

/* ===================================== */
/* --- EFFET SCINTILLEMENT OFFRE FLASH --- */
/* ===================================== */

.flash-offer {
    position: relative; /* Nécessaire pour le pseudo-élément */
    overflow: hidden;   /* Empêche le scintillement de déborder */
}

.flash-offer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 75%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: shimmer 5s infinite;
    z-index: 1; /* Pour être au-dessus du fond mais sous le texte */
}

/* On s'assure que le texte reste bien au-dessus */
.flash-offer > * {
    position: relative;
    z-index: 2;
}


@keyframes shimmer {
    0% {
        left: -150%;
    }
    70% {
        left: -150%;
    }
    100% {
        left: 150%;
    }
}

/* =================================================== */
/* --- STYLE FINAL OFFRE REGULAR (CÔTE À CÔTE) V3 --- */
/* =================================================== */

/* Style du titre principal dans la modale */
#regular-offer h3 {
    font-family: 'Lora', serif;
    color: #4a3a60;
    font-size: 1.6rem;
    margin-bottom: 20px; /* Espace après le titre */
    font-weight: 600;
    text-align: center;
}

/* On s'assure que la liste à puce est bien espacée AVANT les choix */
#regular-offer .benefit-list {
    margin-bottom: 30px; 
}

/* Conteneur pour les deux cartes côte à côte */
.upgrade-offer-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: stretch; /* Assure que les cartes ont la même hauteur */
}

/* Style de base pour chaque carte de choix */
.offer-choice-card {
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 25px;
    flex-basis: 50%; /* Chaque carte prend la moitié de l'espace */
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: all 0.3s ease;
}

.offer-choice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.offer-choice-card h4 {
    font-size: 1.4rem;
    color: #343a40;
    margin-bottom: 10px;
}

.offer-price {
    font-size: 2.2rem;
    font-weight: bold;
    color: #4A56B8;
    margin-bottom: 15px;
}

.offer-description {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
    flex-grow: 1; /* Pousse le bouton vers le bas */
    margin-bottom: 20px;
}

.btn-purchase {
    width: 100%;
    margin-top: auto; /* Aligne le bouton en bas */
}

/* Mise en avant de la meilleure offre */
.recommended-offer {
    border-color: #764ba2;
    background-color: #fdfcff;
    position: relative;
    transform: scale(1.05); /* La met légèrement en avant */
}

.best-value-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #764ba2, #667eea);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
}

/* On s'assure que le bouton "Décliner" est bien centré sous les offres */
.modal-buttons {
    margin-top: 35px; /* On ajoute de l'espace au-dessus */
}


/* ======================================================================== */
/* --- BLOC FINAL ET COMPLET POUR AFFICHAGE MOBILE (< 600px) --- */
/* ======================================================================== */
@media (max-width: 600px) {

    /* --- 1. MISE EN PAGE "PLEIN ÉCRAN" (CORRIGÉ ET ROBUSTE) --- */
    body {
        padding: 0;
        background: #f8f9fa; /* Fond uni sur mobile pour une impression d'app */
    }
    .container {
        padding: 0;
        margin: 0;
        box-shadow: none;
        border-radius: 0;
        min-height: 100vh;
        background: #FFFFFF;
    }
    /* On ré-applique un padding uniquement là où c'est nécessaire */
    #test-selection > .card {
        padding: 15px;
        background: transparent;
        box-shadow: none;
    }
    #test-section.card {
        padding: 15px;
        background: transparent;
        box-shadow: none;
    }
    .results-container.card {
        padding: 0; /* Aucun padding pour le conteneur des résultats */
        background: transparent;
        box-shadow: none;
    }
    .results-dashboard {
        padding: 15px 10px; /* Marges internes pour le contenu des résultats */
    }


    /* --- 2. CONTRÔLE DES ÉLÉMENTS DE L'ACCUEIL --- */

	.header {
  text-align: center;
  margin-bottom: 20px;
  padding-top: 12px;
}

        .main-title { font-size: 1.35rem; }
 
   .main-subtitle { font-size: 0.85rem; }
   
 .section-hook-title { font-size: 1.2rem; margin-bottom: 12px; }
   
.section-hook-subtitle { font-size: 0.95rem; 
				margin-bottom: 25px;
}
  
	  .test-card { padding: 20px; border-radius: 18px; }
    .test-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
   
 .description-hook { font-size: 1.0rem; }
    .description-sub { font-size: 0.92rem; margin-top: 8px; }

	.test-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
	
.test-meta { font-size: 0.75rem; margin-bottom: 25px;}

	.teaser-label { 
			font-size: 0.80rem;
			margin-bottom: 8px;
}
			
	teaser-title {font-size: 0.95rem;}

	.result-teaser {
 			 margin-top: 10px;
 			 padding: 6px;
}

.synergy-badge-container { padding: 15px 20px;}

.synergy-badge .badge-icon {
 			font-size: 1.2rem;
  			margin-right: 10px;
			width: 50px;
  			height: 40px;
}

.synergy-badge .badge-text p { font-size: 0.75rem; margin-bottom: 2px;}

.synergy-badge .badge-text h5 { font-size: 0.85rem;}

    /* CONTRÔLE DE LA CARTE SYNERGIE (QUAND VIDE) */
    .synergy-teaser {
        padding: 5px;
        gap: 1px;
        flex-direction: column; /* Icône au-dessus du texte */
        text-align: center;
    }
    .synergy-teaser-icon {
        font-size: 1.3rem;
        margin-right: 0; /* On retire la marge de côté */
    }
    .synergy-teaser-text p {
        font-size: 0.8rem;
        text-align: center; /* On s'assure que le texte est centré */
    }
    .synergy-teaser-text p strong { font-size: 0.9rem; }


    /* --- 3. CONTRÔLE DES ÉCRANS DE TEST --- */

	.test-header { margin-bottom: 20px; padding: 12px;}
    .test-header h2 { font-size: 1.0rem; margin-bottom: 8px;}
 .test-header p { font-size: 0.75rem;}

.test-header-icon  {
  font-size: 1.6rem;
  margin-bottom: 5px;
}

    .question h3 { font-size: 0.7rem; text-align: center; } /* Titre "Question X sur Y" */
    
.question-text { 
		font-size: 1.1rem; 
		line-height: 1.5; 
		text-align: center; 
		margin-top: 10px;
 		 margin-bottom: 22px;
}
    
.option { padding: 12px; font-size: 0.9rem; }
    
	.btn { 
		padding: 15px 20px; 
		font-size: 0.95rem; 
		margin-top: 2px;
}
    
.navigation {margin-top: 20px;}

.btn-secondary { padding: 15px 20px; font-size: 1.2rem; }

.btn-view-results { font-size: 0.85rem;}

.btn-retake {font-size: 0.85rem;}



.back-button { font-size: 0.9rem; padding: 10px 15px;}

.progress-bar { margin-bottom: 15px;}


    /* --- 4. CALIBRAGE TOTAL DES RAPPORTS DE RÉSULTATS --- */
    /* En-tête */
    .dashboard-header { align-items: center; margin-bottom: 15px; padding-bottom: 10px;}
    .profile-pic-placeholder { width: 50px; height: 50px; font-size: 1.4rem; margin-right: 20px; }
    #results-title { font-size: 0.95rem; margin-bottom: 5px; }
    #results-subtitle { font-size: 0.70rem; }

    

/* A. Graphique Radar (Spidergraph) */
.summary-card {
    padding: 5px;
    width: 100%;
    height: auto;
	margin-bottom: 1px;
}



    /* Onglets et contenu */
    .tabs-nav { padding-bottom: 8px; }
    .tab-link { font-size: 0.85rem; padding: 10px 12px; }
   
 .dimension-title { font-size: 1.2rem; margin-top: 10px; text-align: center;}

.dimension-header {
 			display: flow-root;
 			 align-items: center;
  			justify-content: space-between;
 			 margin-bottom: 20px;
  			gap: 2px;
}   

.score-gauge { transform: scale(0.75); }
    .score-gauge-text { font-size: 1.3rem; bottom: 2px; }
    .result-summary { font-size: 1.0rem; text-align: center;}
    .result-details h6 { font-size: 1.0rem; text-align: left; margin-top: 8px; margin-bottom: 10px; }
    .result-details p { font-size: 1.0rem; }
   
 .synergy-main-header { 
			font-size: 1.1rem; 
			margin: 20px auto 30px auto;
			background: linear-gradient(45deg, #8c7851, #764ba2);
			color: white;
}
    

.synergy-folio { padding: 20px 15px; }

.results-container h4 {
  font-size: 1.2rem;
}

.premium-overlay-tabs-content { padding: 25px 30px;}
.premium-overlay-tabs-content h4 { font-size: 1.1rem; margin-bottom: 15px;}
.premium-overlay-tabs-content p { font-size: 1.0rem;}

.folio-header { margin: 0; padding: 0;}
.folio-header h4 { font-size: 1.1rem; margin-top: 10px;}

.synergy-bridge { align-items: inherit; gap: 1px; margin: 25px 0 30px 0;}

.trait-pill { padding: 5px 10px; font-size: 0.75rem; margin: 0;}

.bridge-icon svg { margin: 0;}

.folio-content p { font-size: 0.85rem; margin: 0; margin-top: 15px;}

.folio-growth { padding: 18px; margin-top: 20px; }

.folio-growth h5 { font-size: 0.85rem;}

.folio-growth p { font-size: 0.85rem; color: #764ba2;}


    /* --- 5. CONTRÔLE TOTAL DU FOOTER --- */
    .app-footer {
        padding: 20px 15px;
        margin-top: 30px;
        background: #fff; /* Fond blanc pour le distinguer sur mobile */
    }
    .footer-links {
        justify-content: center;
        gap: 10px 20px;
        margin-bottom: 20px;
    }
    .footer-links a {
        font-size: 0.75rem; /* Contrôle de la taille des liens */
    }
    .app-footer p {
        font-size: 0.70rem; /* Contrôle de la taille du disclaimer */
    }
    .app-footer p.copyright {
        font-size: 0.7rem; /* Contrôle de la taille du copyright */
	color: #54545c;
    }
    
    /* --- 6. CONTRÔLE DES MODALES --- */
    .modal-content { width: 95%; padding: 20px 15px; }
    #discovery-offer h3, #regular-offer h3, .flash-offer-title { font-size: 1.1rem; }
#discovery-offer h3, #regular-offer h3, .flash-offer-title-subtitle { font-size: 1.1rem; margin-bottom: 10px;}
	
.flash-offer-value-prop p { font-size: 1.0rem;}
.flash-offer-price-container .price-label { font-size: 0.95rem; margin-right: 10px;}
.flash-offer-price-container .price-flash { font-size: 1.0rem;}
.flash-offer > * { font-size: 0.95rem;}

.benefit-icon { font-size: 1.10rem;}
    .benefit-text { font-size: 0.95rem; }
    .offer-price { font-size: 1.8rem; }
}

.best-value-tag { font-size: 0.6rem;}

.offer-choice-card h4 {
  			font-size: 1.0rem;
			margin-bottom: 10px;
}


 .offer-price {
   		 font-size: 1.15rem;
  }

.offer-description {
 		font-size: 0.72rem;
}

.offer-choice-card { padding: 8px;
}

/* ===================================== */
/* --- LES LIENS DU FOOTER--- */
/* ===================================== */

.static-content h2 {
			font-size: 1.5rem;
			margin-bottom: 20px;
}

.static-content p {font-size: 0.9rem;}

.static-content h3 {font-size: 1.2rem;}

.static-content li {font-size: 0.9rem;}

.static-content h2 {font-size: 1.7rem;}

/* ===================================== */
/* --- SOLUTION FINALE GRAPHIQUE RADAR --- */
/* ===================================== */

.chart-container {
  position: relative;
  width: 100%;
  max-width: 450px;  /* Le graphique ne dépassera jamais 450px */
  margin: auto;      /* Pour le centrer dans la summary-card */
  
  /* C'est la clé : on force le conteneur à être carré */
  aspect-ratio: 1 / 1; 
}

/* ===================================== */
/* --- PODIUM DE JAUGES CIRCULAIRES --- */
/* ===================================== */

.results-podium {
    display: none; /* Caché par défaut, visible seulement sur mobile */
    flex-direction: column;
    gap: 20px;
    padding: 20px 15px;
    margin-top: 15px;
}

.results-container h4 {font-size: 1.0rem;}

.podium-title {
    font-family: 'Lora', serif;
    font-size: 1.3rem;
    color: #4a3a60;
    text-align: center;
    margin-bottom: 10px;
}

.podium-item {
    display: flex;
    align-items: center;
    gap: 1px;
    background-color: #fff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
}

.podium-rank {
    font-size: 1.5rem;
}

.podium-details {
    flex-grow: 1;
}

.podium-details .dimension-name {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.podium-gauge {
    position: relative;
    width: 50px;
    height: 50px;
    flex-shrink: 0; /* Empêche la jauge de se déformer */
}

.podium-gauge svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg); /* Fait commencer le cercle en haut */
}

.podium-gauge .gauge-track {
    stroke: #e9ecef;
    fill: none;
    stroke-width: 5;
}

.podium-gauge .gauge-fill {
    stroke: url(#logoGradient); /* On réutilise notre beau dégradé ! */
    fill: none;
    stroke-width: 5;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.podium-gauge .score-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.85rem;
    font-weight: bold;
    color: #4A56B8;
}

/* On modifie la media query existante pour afficher le podium */
@media (max-width: 600px) {
    .chart-container {
        display: none; /* On cache le conteneur du graph radar */
    }
    .mobile-results-list {
        display: none; /* On cache aussi l'ancienne liste de barres */
    }
    .results-podium {
        display: flex; /* ON AFFICHE NOTRE PODIUM ! */
    }
}

/* ===================================== */
/* --- STYLE POUR PAGES STATIQUES --- */
/* ===================================== */

.static-content {
    padding: 15px 25px;
}

.static-content h2 {
    font-family: 'Lora', serif;
    color: #4a3a60;
    font-size: 2rem;
    margin-bottom: 25px;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.static-content h3 {
    font-family: 'Lora', serif;
    color: #333;
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.static-content p {
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 15px;
}

.static-content ul {
    list-style-position: inside;
    padding-left: 10px;
}

.static-content li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: #4a5568;
}

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: #4A56B8;
    text-decoration: none;
    font-weight: bold;
}

.back-link:hover {
    text-decoration: underline;
}