@Ahmedben thank you for sharing your experience here, and it's good to see that you are making the effort to understand what happened, and improve as a diver. You've already gotten plenty of analysis and advice about the dives as reported from smarter people than me, so I won't try to give any more at this time.
But looking at the dive log photo, I did notice something strange. The screenshot is a little grainy and hard to read, but it appears that your dive has 3 logs from that date, not just 2:
- dive 36 at 11:35m to 28.7m for 6 minutes
- dive 37 at 11:45 to 36.4m for 30 minutes
- dive 48 a4 14:12 to 33.2m for 56 minutes
View attachment 737127
From the logs, it appears that for dive 36, you descended down to 28m, briefly looked around, maybe encountered a problem, and then returned to the surface. You solved whatever the problem was at the surface, and then descended once again (dive #37 to 36m), where you eventually bumped into the deco obligation, as discussed upthread.
Maybe I have read that wrong. But if I'm reading this right, two things come to mind:
1) If the computer thinks that this is two separate dives, then you would have had a very brief (maybe 3-4 minute) surface interval between them. It sounds like the Cressi algorithm penalizes for a number of things, I wonder if a tiny dive, followed by a tiny SI, followed by a regular dive is one of these circumstances?
@scubadada may have some insight here, since he seems to understand the ins and outs of the RGBM algorithm well. By the way, if there is such a penalty here, that may partly explain the gap between what your computer said (mandatory deco stop) and what others on the dive said (safety stop only).
2) From the Cressi dive software, is it possible to merge dives #36 and #37 into one dive? If so, this may give you a clearer picture of the entire dive. Also, you may want to configure the end-of-dive delay on your dive computer, if Cressi supports this -- I personally have mine set to 10 minutes.