Breakdown of Ao caminhar pelo corredor verde, percebi o quanto o paisagismo melhorou o terreno.
caminhar
to walk
verde
green
quanto
how much, how many
pelo
by the, through the, for the
Questions & Answers about Ao caminhar pelo corredor verde, percebi o quanto o paisagismo melhorou o terreno.
Why does this sentence use o quanto instead of o quão, and is the first o necessary?
Use o quanto (how much / the extent to which) when you are measuring the degree or intensity of a verb — here, how much the landscaping melhorou (improved) the land. You would use (o) quão (how) only directly before an adjective or an adverb, as in percebi o quão bonito o terreno ficou (I realized how nice the plot of land turned out). In o quanto, the article o turns the phrase into the equivalent of "the amount that," which is very common and natural in Brazilian Portuguese; you can also leave the o out and say percebi quanto o paisagismo melhorou without changing the meaning.
How does Ao caminhar work, and why is caminhar in the infinitive if this happened in the past?
The structure ao (a + o) + infinitive means "upon doing" or "as/when [someone] does" something. Because the infinitive caminhar doesn't carry a tense of its own, it automatically takes its timeframe from the main verb of the sentence — here, percebi (I realized), which places the whole scene in the past. In everyday conversation, you could also express the same idea with Quando caminhei pelo corredor verde... or with the gerund, Caminhando pelo corredor verde...
Why is "I realized" translated as percebi instead of realizei?