Facts

The appellant, [X. SA] (defendant, seller), entered into a general contractor agreement in 2005 with [A. AG] for the construction of five buildings comprising 52 apartments and a car park, intended for the condominium ownership (PPE) "[T.] " in [W.] (VD).

The building permit issued on 23 December 2005 by the Municipality of [W.] was subject to a special condition of the ECA: the glazing of façades facing each other at less than five metres had to be fixed and fire-resistant. The galleries of the duplexes located in the attic spaces were affected.

In 2009, the respondent [Z.] (plaintiff, buyer) reserved, then acquired by sale contract of 18 March 2009, lot No. A12, a 4.5-room duplex with a balcony in the attic, as well as parking space No. 39, for a price of CHF 720,000 (including CHF 10,000 for the parking space). The plans and sales documents indicated a living area of 157.60 m2 and attic spaces presented as habitable. The reservation contract stated that three obliquely placed glazed units would be fitted with opening casements, to be provided by the building owner. The sale contract provided for warranty under arts. 197 et seq. CO and the SIA 118 standard. The buyer was entered in the land register on 3 April 2009.

On 12 May 2009, the Municipality found non-compliance with the ECA standards in several galleries, including that of the buyer, and ordered a supplementary inquiry. A visit on 4 June 2009 revealed the need to secure one oblique window and to close another with E30 glazing. Orally, the buyer had been informed that no occupancy permit would be issued for the attic spaces, which were not considered habitable rooms. On 16 September 2009, the buyer declared the contract rescinded; the seller raised an objection of inadmissibility on 6 October 2009.

On 10 November 2009, a supplementary building permit made the occupation of five apartments subject to prior authorisation. On 9 February 2010, the Municipality issued a partial occupancy permit specifying that the gallery of lot No. A12 was not habitable and that its oblique windows had to be non-opening and of E30 glazing. The seller appealed to the CDAP, which, by judgment of 30 December 2010 not challenged before the Federal Supreme Court, declared the appeal against the decision of 12 May 2009 moot and dismissed the one against the decision of 9 February 2010. The CDAP held that the 2005 building permit had been wrongly issued, that the gallery had never met the ventilation requirements of art. 28 RLATC, and that the revocation was valid. It was found that the buyer would not have acquired the apartment had he known that the attic spaces were not habitable.

By claim of 1 March 2010, the buyer brought an action before the Civil Court of the Vaud Cantonal Court seeking a declaration of nullity of the sale, payment of CHF 795,000 with interest at 5% from 18 March 2009, and deletion of his entry as owner in the land register. The seller requested dismissal of the claim. The court-appointed expert [E.] fixed the actually habitable area at 122.4 m2 (instead of 157.6 m2) and the loss of value at CHF 158,588, the apartment being difficult to resell without taking this loss into account.

By judgment of 11 March 2015, the Civil Court ordered the seller to pay CHF 158,588 with interest at 5% from 3 October 2009. By judgment of 2 March 2016, the Civil Court of Appeal dismissed the seller's appeal.

The seller lodges a civil appeal with the Federal Supreme Court, principally seeking annulment of the judgment and dismissal of the claim, and subsidiarily remittal of the case to the cantonal court. An application for suspensive effect was dismissed by presidential order of 19 July 2016. The respondent did not submit observations on the merits.

Considerations

On admissibility, the appeal is lodged by the party that partially lost (art. 76 para. 1 FSCA), against a final decision (art. 90 FSCA) rendered in civil matters (art. 72 para. 1 FSCA) by a superior court ruling on appeal (art. 75 FSCA), in a pecuniary matter exceeding CHF 30,000 (art. 74 para. 1 let. b FSCA). It is therefore admissible as to form (arts. 100 para. 1 and 42 FSCA). The Federal Supreme Court rules on the basis of the facts established by the prior authority (art. 105 para. 1 FSCA), may correct them only if they are arbitrary and capable of influencing the outcome (art. 97 para. 1 FSCA), and challenges to the facts are subject to the strict principle of allegation (art. 106 para. 2 FSCA).

On the warranty for defects, the moment of transfer of risk determines the application of arts. 197 et seq. CO, in particular the price reduction (art. 205 para. 1 CO). The defect must exist, even in embryonic form, at the moment of transfer of risk; a subsequent deterioration is not a defect, unless the secondary defect arises from a pre-existing primary defect. Under art. 185 para. 1 CO, risks pass to the acquirer upon conclusion of the contract, and art. 220 CO governs transfer linked to a date for taking possession. In this case, the habitable area was a quality promised within the meaning of art. 197 para. 1 CO, the absence of which constitutes a defect. The appellant no longer…