First, the deslinde
The official deslinde defines the maritime-terrestrial public domain. Its position and effects must be compared with the property documents and the site. The shoreline you see during a visit is not the legal reference for every restriction.
The protection zone
Art. 23 of the Coastal Law sets a general protection zone of 100 metres inland from the inner limit of the shore. For land that was urban in 1988 it is 20 metres (transitional provision 3.3). Do not assume that every property has the same distance or that an approximate measurement proves compliance. See Coastal properties: 20 metres, 100 metres and no time limit.

A house and its future extension are different questions
Art. 25 prohibits residential buildings in the protection zone. Existing buildings and the repairs, renovations or extensions you plan require a separate review of their history and regime. A house that can remain does not mean the works you want will be authorised.
The review before signing
Obtain the deslinde documents, any relevant authorisations or concessions and the planning history. Clarify how the intended use or works are affected and which authority must be involved. Open questions should be weighed when deciding whether to proceed and what contractual protection to negotiate.
General information, not legal advice. The applicable rules and the position of each property require an individual review.