<IfModule mod_rewrite.c>
    RewriteEngine On
    
    # Remove a extensão .php
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME}\.php -f
    RewriteRule ^(.*)$ $1.php [L]
    
    # Rota para /garantias
    RewriteRule ^garantias$ routers/garantias.php [L]
</IfModule>

<Files ".env">
    Order allow,deny
    Deny from all
</Files>