html, body { height: 100%; margin: 0; overflow: hidden; background: #fff; font-family: 'Segoe UI', sans-serif; }
.no-scroll { display: flex; justify-content: center; align-items: center; position: relative; height: 100vh; }

.glass-circle-1, .glass-circle-2 { position: absolute; width: 250px; height: 250px; border-radius: 50%; z-index: 0; }
.glass-circle-1 { top: -50px; left: -50px; background: rgba(106, 176, 76, 0.05); }
.glass-circle-2 { bottom: -50px; right: -50px; background: rgba(230, 126, 34, 0.05); }

.slide-container { position: relative; z-index: 1; width: 94%; max-width: 1100px; height: 92vh; display: flex; flex-direction: column; }

.header-top { display: flex; justify-content: space-between; align-items: center; }
.btn-toc { background: #333; color: white; border: none; padding: 10px 15px; border-radius: 6px; cursor: pointer; font-size: 0.9rem; font-weight: 600; }
.step-tag { background: #e67e22; color: white; padding: 6px 15px; border-radius: 20px; font-weight: bold; font-size: 0.9rem; }
.title-main { font-size: 2rem; font-weight: 800; color: #222; margin: 10px 0; }

.phase-selector { display: flex; gap: 15px; margin-bottom: 15px; border-bottom: 2px solid #eee; padding-bottom: 10px; }
.tab-btn { background: #f5f5f5; border: none; padding: 12px 25px; border-radius: 10px; cursor: pointer; font-weight: 700; color: #888; transition: 0.3s; font-size: 1rem; }
.tab-btn.active { background: #6ab04c; color: white; transform: scale(1.05); }

.details-display { flex-grow: 1; background: #fafafa; border-radius: 20px; padding: 20px 30px; border: 1px solid #eee; display: flex; flex-direction: column; justify-content: center; }

.phase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info-block h3 { color: #6ab04c; font-size: 1.4rem; margin: 0 0 15px 0; }
.info-block ul { padding-left: 20px; font-size: 1.1rem; color: #333; line-height: 1.6; margin: 0; }
.info-block li { margin-bottom: 10px; }

.timeline-day { display: flex; flex-direction: column; gap: 10px; }
.time-slot { display: flex; align-items: center; gap: 20px; background: white; padding: 10px 20px; border-radius: 12px; border-left: 6px solid #e67e22; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.time-slot span { font-weight: 800; color: #e67e22; min-width: 90px; font-size: 1rem; }
.time-slot p { margin: 0; color: #444; font-size: 1.1rem; }

.btn-container-pendant { display: flex; gap: 20px; margin: 10px 0; }
.btn-action { border: none; padding: 15px; border-radius: 12px; color: white; font-weight: 800; cursor: pointer; flex: 1; font-size: 1.1rem; transition: 0.2s; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.btn-action.green { background: #6ab04c; }
.btn-action.orange { background: #e67e22; }

/* Pop-ups centrés et lisibles */
.modal-produit { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); justify-content: center; align-items: center; }
.modal-content { background: white; padding: 30px; border-radius: 20px; width: 80%; max-width: 800px; position: relative; }
.modal-t { margin-top: 0; color: #333; border-bottom: 4px solid #6ab04c; padding-bottom: 10px; font-size: 1.6rem; }
.cap-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 1rem; }
.cap-table th { background: #f8f8f8; padding: 15px; text-align: left; }
.cap-table td { padding: 15px; border-bottom: 1px solid #eee; }
.dialogue-box { background: #fff9f4; padding: 20px; border-radius: 15px; border: 1px solid #ffe0cc; font-size: 1.1rem; line-height: 1.5; }
.close-btn { position: absolute; top: 15px; right: 20px; font-size: 35px; cursor: pointer; color: #888; }

.footer-nav { display: flex; justify-content: space-between; padding: 15px 0; }
.btn-nav { background: #f5f5f5; border: none; padding: 12px 30px; border-radius: 8px; font-weight: 700; cursor: pointer; color: #888; font-size: 1rem; }
.btn-next { background: #222; color: white; }

/* ==========================================
   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; }
}