html, body { height: 100%; margin: 0; overflow: hidden; background: #fff; font-family: 'Segoe UI', sans-serif; }
.no-scroll { display: flex; justify-content: center; height: 100vh; position: relative; }

/* Décorations discrètes */
.glass-circle-1 { position: absolute; top: -100px; left: -100px; width: 400px; height: 400px; background: rgba(106, 176, 76, 0.05); border-radius: 50%; z-index: 0; }
.glass-circle-2 { position: absolute; bottom: -100px; right: -100px; width: 400px; height: 400px; background: rgba(230, 126, 34, 0.05); border-radius: 50%; z-index: 0; }

.slide-container { width: 90%; max-width: 1000px; height: 95vh; display: flex; flex-direction: column; z-index: 1; }

.header-top { display: flex; justify-content: flex-end; padding: 20px 0; }
.btn-toc { background: #333; color: white; border: none; padding: 10px 20px; border-radius: 6px; font-weight: bold; cursor: pointer; }

.thanks-content { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }

.thanks-title { font-size: 3.5rem; color: #222; margin-bottom: 40px; border-bottom: 4px solid #6ab04c; padding-bottom: 10px; }

.thanks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; }

.thanks-card { background: rgba(255, 255, 255, 0.8); padding: 30px; border-radius: 20px; border: 1px solid #eee; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.thanks-card h3 { color: #e67e22; font-size: 1.6rem; margin-top: 0; }
.thanks-card p { font-size: 1.2rem; color: #555; line-height: 1.6; text-align: justify; }

.final-quote { font-style: italic; font-size: 1.4rem; color: #888; margin-top: 20px; }

.footer-nav { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-top: 2px solid #eee; }
.btn-nav { background: #f0f0f0; border: none; padding: 12px 35px; border-radius: 8px; font-weight: 800; cursor: pointer; font-size: 1.1rem; color: #555; }
.end-tag { font-weight: 900; color: #6ab04c; font-size: 1.2rem; letter-spacing: 2px; }

/* ==========================================
   BLOC DE SÉCURITÉ MOBILE (NE MODIFIE PAS LE PC)
   ========================================== */
@media screen and (max-width: 1024px) {
    /* 1. On débloque la hauteur pour pouvoir défiler sur téléphone */
    html, body, .no-scroll { 
        height: auto !important; 
        overflow-y: auto !important; 
        display: block !important; 
    }

    /* 2. On ajuste le conteneur principal pour qu'il ne dépasse pas de l'écran */
    .slide-container { 
        height: auto !important; 
        width: 95% !important; 
        margin: 10px auto !important; 
        padding: 10px !important;
        display: block !important;
    }

    /* 3. On force tes éléments (grilles ou listes) à se mettre les uns sous les autres */
    /* J'ai listé ici tous les noms de classes que nous avons utilisés ensemble */
    .conclusion-grid, .phase-grid, .list-container, .grid-moyens, .phase-selector { 
        display: flex !important; 
        flex-direction: column !important; 
        gap: 15px !important;
        width: 100% !important;
    }

    /* 4. On adapte la taille des titres pour qu'ils soient lisibles sur petit écran */
    .title-main, .title-bold { 
        font-size: 1.5rem !important; 
        text-align: center !important;
        margin: 15px 0 !important;
    }

    /* 5. On s'assure que les cartes prennent toute la largeur */
    .toc-card, .conc-panel, .benefit-card {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 6. On empile les boutons de navigation en bas */
    .footer-nav { 
        display: flex !important;
        flex-direction: column !important; 
        gap: 10px !important; 
        margin-top: 20px !important;
        padding-bottom: 20px !important;
    }
    .btn-nav { width: 100% !important; text-align: center !important; }
}