📖 FreeLex Blog

Guide su Tasse, Residenza
e Nomadismo Digitale

Articoli scritti da un avvocato fiscalista internazionale. Niente teorie astratte: solo guide pratiche per pagare meno tasse legalmente.

Ultimi articoli
🇺🇸
Strutture societarie
LLC Delaware + Residenza Territoriale: la struttura perfetta per nomadi
Come aprire una LLC in Delaware senza vivere negli USA, combinarla con una residenza estera a tassazione territoriale e azzerare il carico fiscale legalmente.
🇬🇪
Guida paese · Europa
Georgia: 1% di tasse con la Virtual Zone
La Georgia è la destinazione preferita dai nomadi digitali europei. Virtual Zone Companies, residenza facile, costo della vita basso. Tutto quello che devi sapere.
🇪🇪
Strutture societarie · UE
Estonia OÜ e E-Residency: 0% sugli utili reinvestiti
Apri una società OÜ in Estonia con E-Residency digitale senza muoverti da casa. 0% di tasse sugli utili reinvestiti, 100% online, 100% legale.
🇦🇪
Guida paese · Medio Oriente
Dubai: 0% tasse sul reddito personale
Gli Emirati Arabi non tassano il reddito personale. Golden Visa, Free Zones, accesso ai mercati globali. La guida completa per trasferirti a Dubai.
🇧🇬
Guida paese · UE
Bulgaria: 10% flat tax — la più bassa d'Europa
La Bulgaria ha l'aliquota più bassa dell'Unione Europea. Come trasferire la residenza fiscale, cosa aspettarsi nel paese e come ottimizzare la struttura.
🇵🇾
Guida paese · Sud America
Paraguay: residenza da €5.000 e 0% su redditi esteri
Il Paraguay è uno dei piani B più accessibili al mondo. Tassazione territoriale pura, nessun obbligo di soggiorno, costo della vita bassissimo.
🇵🇹
Guida paese · UE
Portogallo NHR 2.0: flat tax 20% per 10 anni
Il regime NHR del Portogallo è uno dei più vantaggiosi d'Europa. Come funziona, chi può accedervi e come pianificare il trasferimento.
🇵🇦
Guida paese · America Centrale
Panama: hub finanziario e tassazione territoriale
Panama non tassa i redditi esteri da decenni. Hub bancario internazionale, dollaro USA, accesso ai mercati mondiali e qualità della vita elevata.
🌴
Citizenship by Investment
Seconda Cittadinanza nei Caraibi: St. Kitts, Dominica, Grenada
Come ottenere una seconda cittadinanza caraibica per investimento. Passaporto libero, nessun obbligo di residenza, accesso a 140+ paesi senza visto.
Guide paese — tutte le destinazioni
🇬🇪
Georgia
Virtual Zone · Nomadi
1% flat
🇦🇪
Dubai / UAE
Zero tasse personali
0% reddito
🇵🇾
Paraguay
Tassazione territoriale
€5k residenza
🇵🇦
Panama
Hub finanziario
0% estero
🇪🇪
Estonia
OÜ · E-Residency · UE
0% reinvestiti
🇧🇬
Bulgaria
Flat tax UE più bassa
10% flat
🇵🇹
Portogallo
NHR 2.0 · UE
20% flat 10 anni
🇪🇸
Spagna
Beckham Law
24% flat
🇲🇹
Malta
Non-Dom · UE
Regime speciale
🇨🇷
Costa Rica
Territoriale · Nomadi
0% estero
🇮🇹
Italia
Flat Tax HNWI · Impatriati
€100k flat
🌴
Caraibi
Citizenship by Investment
2° passaporto
🇺🇸
LLC Delaware
Struttura societaria USA per non-residenti
0% state tax

Hai una domanda specifica?

Ogni situazione è diversa. Una consulenza di 30 minuti è il modo più rapido per capire qual è la struttura giusta per te.

📅 Prenota — è gratuita 💬 WhatsApp
*/ (function() { 'use strict'; const ENDPOINT = '/.netlify/functions/chat'; const GOLD = '#C9A84C'; const DARK = '#07070E'; const DARK2 = '#0E0E1A'; const DARK3 = '#14141F'; const TEXT = '#F0EEE8'; const TEXT_MUTED = '#8A8899'; const BORDER = 'rgba(201,168,76,0.2)'; let history = []; let isOpen = false; let isLoading = false; const WELCOME = 'Ciao! 👋 Sono l\'assistente legale di FreeLex. Posso aiutarti con domande su tassazione internazionale, visti nomadi digitali, residenza fiscale, cittadinanza italiana e molto altro.\n\nCome posso aiutarti oggi?'; const SUGGESTIONS = [ 'Come funziona la tassazione in Georgia?', 'Voglio ridurre le tasse legalmente', 'Cos\'è la E-Residency estone?', 'Come ottengo la cittadinanza italiana?' ]; function injectStyles() { const style = document.createElement('style'); style.textContent = ` #fl-chat-btn { position: fixed; bottom: 28px; right: 28px; z-index: 9998; width: 60px; height: 60px; border-radius: 50%; background: ${GOLD}; border: none; cursor: pointer; box-shadow: 0 4px 24px rgba(201,168,76,0.45); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; transition: transform .2s, box-shadow .2s; outline: none; } #fl-chat-btn:hover { transform: scale(1.08); box-shadow: 0 6px 32px rgba(201,168,76,.6); } #fl-chat-btn .fl-badge { position: absolute; top: -4px; right: -4px; width: 18px; height: 18px; border-radius: 50%; background: #dc3545; border: 2px solid ${DARK}; font-size: .58rem; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; line-height: 1; } #fl-chat-panel { position: fixed; bottom: 100px; right: 28px; z-index: 9999; width: 380px; max-height: 560px; background: ${DARK2}; border: 1px solid ${BORDER}; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.8); display: flex; flex-direction: column; font-family: 'Inter', -apple-system, sans-serif; transform: scale(.92) translateY(12px); opacity: 0; pointer-events: none; transition: transform .22s cubic-bezier(.34,1.56,.64,1), opacity .18s ease; } #fl-chat-panel.fl-open { transform: scale(1) translateY(0); opacity: 1; pointer-events: all; } #fl-chat-header { background: ${DARK3}; border-bottom: 1px solid ${BORDER}; padding: 16px 20px; display: flex; align-items: center; gap: 12px; flex-shrink: 0; } .fl-avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(201,168,76,.15); border: 1px solid ${BORDER}; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; } .fl-header-info { flex: 1; } .fl-header-name { font-size: .88rem; font-weight: 600; color: ${TEXT}; line-height: 1.2; } .fl-header-status { font-size: .72rem; color: #4caf78; display: flex; align-items: center; gap: 5px; margin-top: 2px; } .fl-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #4caf78; animation: fl-pulse 2s infinite; } @keyframes fl-pulse { 0%,100%{opacity:1}50%{opacity:.4} } #fl-close-btn { background: none; border: none; color: ${TEXT_MUTED}; cursor: pointer; font-size: 1.2rem; padding: 4px; line-height: 1; transition: color .15s; } #fl-close-btn:hover { color: ${TEXT}; } #fl-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; scrollbar-color: ${BORDER} transparent; min-height: 200px; max-height: 360px; } #fl-messages::-webkit-scrollbar { width: 4px; } #fl-messages::-webkit-scrollbar-track { background: transparent; } #fl-messages::-webkit-scrollbar-thumb { background: ${BORDER}; border-radius: 2px; } .fl-msg { display: flex; gap: 8px; animation: fl-fadeup .2s ease; } @keyframes fl-fadeup { from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none} } .fl-msg.fl-user { flex-direction: row-reverse; } .fl-msg-avatar { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; background: rgba(201,168,76,.12); border: 1px solid ${BORDER}; display: flex; align-items: center; justify-content: center; font-size: .8rem; align-self: flex-end; } .fl-msg.fl-user .fl-msg-avatar { background: rgba(201,168,76,.25); } .fl-bubble { max-width: 78%; padding: 10px 14px; border-radius: 12px; font-size: .82rem; line-height: 1.6; color: ${TEXT}; } .fl-msg.fl-bot .fl-bubble { background: ${DARK3}; border: 1px solid ${BORDER}; border-bottom-left-radius: 4px; } .fl-msg.fl-user .fl-bubble { background: ${GOLD}; color: ${DARK}; font-weight: 500; border-bottom-right-radius: 4px; } .fl-suggestions { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; } .fl-sug-btn { background: rgba(201,168,76,.08); border: 1px solid ${BORDER}; color: ${GOLD}; font-size: .72rem; padding: 5px 11px; border-radius: 20px; cursor: pointer; font-family: inherit; transition: background .15s, transform .1s; line-height: 1.3; text-align: left; } .fl-sug-btn:hover { background: rgba(201,168,76,.18); transform: translateY(-1px); } #fl-typing { display: none; padding: 0 16px 4px; } #fl-typing span { font-size: .72rem; color: ${TEXT_MUTED}; font-style: italic; display: flex; align-items: center; gap: 6px; } .fl-dot-loader { display: flex; gap: 3px; } .fl-dot-loader span { width: 4px; height: 4px; border-radius: 50%; background: ${TEXT_MUTED}; animation: fl-dot .9s infinite; font-style: normal; padding: 0; } .fl-dot-loader span:nth-child(2){animation-delay:.15s} .fl-dot-loader span:nth-child(3){animation-delay:.3s} @keyframes fl-dot{0%,80%,100%{opacity:.2}40%{opacity:1}} #fl-input-row { border-top: 1px solid ${BORDER}; padding: 12px 16px; display: flex; gap: 8px; align-items: flex-end; flex-shrink: 0; background: ${DARK3}; } #fl-input { flex: 1; background: ${DARK2}; border: 1px solid ${BORDER}; border-radius: 8px; padding: 9px 13px; color: ${TEXT}; font-family: inherit; font-size: .83rem; resize: none; outline: none; max-height: 100px; overflow-y: auto; line-height: 1.45; transition: border-color .15s; } #fl-input::placeholder { color: ${TEXT_MUTED}; } #fl-input:focus { border-color: ${GOLD}; } #fl-send-btn { background: ${GOLD}; border: none; border-radius: 8px; width: 38px; height: 38px; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .15s, transform .1s; font-size: 1rem; } #fl-send-btn:hover:not(:disabled) { background: #E8C96A; transform: scale(1.05); } #fl-send-btn:disabled { opacity: .5; cursor: not-allowed; } .fl-link-row { padding: 8px 16px 12px; display: flex; gap: 8px; justify-content: center; } .fl-link-btn { font-size: .68rem; color: ${TEXT_MUTED}; text-decoration: none; border: 1px solid ${BORDER}; padding: 4px 10px; border-radius: 20px; transition: color .15s, border-color .15s; } .fl-link-btn:hover { color: ${GOLD}; border-color: ${GOLD}; } @media(max-width: 440px) { #fl-chat-panel { width: calc(100vw - 24px); right: 12px; bottom: 90px; } #fl-chat-btn { bottom: 20px; right: 16px; } } `; document.head.appendChild(style); } function createWidget() { // Button const btn = document.createElement('button'); btn.id = 'fl-chat-btn'; btn.setAttribute('aria-label', 'Apri chat FreeLex'); btn.innerHTML = '⚖️1'; btn.addEventListener('click', toggleChat); document.body.appendChild(btn); // Panel const panel = document.createElement('div'); panel.id = 'fl-chat-panel'; panel.setAttribute('role', 'dialog'); panel.setAttribute('aria-label', 'FreeLex AI Chat'); panel.innerHTML = `
⚖️
FreeLex AI Assistant
Online ora
L'assistente sta scrivendo
`; document.body.appendChild(panel); document.getElementById('fl-close-btn').addEventListener('click', toggleChat); const input = document.getElementById('fl-input'); input.addEventListener('keydown', function(e) { if (e.key === 'Enter' && !e.shiftKey) { e.preventDefault(); sendMessage(); } }); input.addEventListener('input', function() { this.style.height = 'auto'; this.style.height = Math.min(this.scrollHeight, 100) + 'px'; }); document.getElementById('fl-send-btn').addEventListener('click', sendMessage); // Show welcome + suggestions addBotMessage(WELCOME); showSuggestions(); } function toggleChat() { isOpen = !isOpen; const panel = document.getElementById('fl-chat-panel'); const badge = document.querySelector('#fl-chat-btn .fl-badge'); if (isOpen) { panel.classList.add('fl-open'); if (badge) badge.style.display = 'none'; setTimeout(() => document.getElementById('fl-input').focus(), 250); } else { panel.classList.remove('fl-open'); } } function showSuggestions() { const container = document.getElementById('fl-suggestions'); if (!container) return; container.innerHTML = ''; SUGGESTIONS.forEach(s => { const btn = document.createElement('button'); btn.className = 'fl-sug-btn'; btn.textContent = s; btn.addEventListener('click', function() { container.innerHTML = ''; sendUserMessage(s); }); container.appendChild(btn); }); } function addBotMessage(text) { const msgs = document.getElementById('fl-messages'); const div = document.createElement('div'); div.className = 'fl-msg fl-bot'; // Convert newlines to
and basic markdown **bold** const formatted = text .replace(/&/g, '&') .replace(//g, '>') .replace(/\*\*(.*?)\*\*/g, '$1') .replace(/\n/g, '
'); div.innerHTML = `
⚖️
${formatted}
`; msgs.appendChild(div); msgs.scrollTop = msgs.scrollHeight; } function addUserMessage(text) { const msgs = document.getElementById('fl-messages'); const div = document.createElement('div'); div.className = 'fl-msg fl-user'; const escaped = text.replace(/&/g, '&').replace(//g, '>'); div.innerHTML = `
${escaped}
👤
`; msgs.appendChild(div); msgs.scrollTop = msgs.scrollHeight; } function setLoading(val) { isLoading = val; const typing = document.getElementById('fl-typing'); const btn = document.getElementById('fl-send-btn'); const input = document.getElementById('fl-input'); if (typing) typing.style.display = val ? 'block' : 'none'; if (btn) btn.disabled = val; if (input) input.disabled = val; } function sendMessage() { const input = document.getElementById('fl-input'); const text = input ? input.value.trim() : ''; if (!text || isLoading) return; input.value = ''; input.style.height = 'auto'; sendUserMessage(text); } function sendUserMessage(text) { // Clear suggestions when user sends first real message const suggestions = document.getElementById('fl-suggestions'); if (suggestions) suggestions.innerHTML = ''; addUserMessage(text); const userMsg = { role: 'user', content: text }; history.push(userMsg); setLoading(true); fetch(ENDPOINT, { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ message: text, history: history.slice(0, -1) // Send history excluding the current message }) }) .then(r => r.json()) .then(data => { setLoading(false); const reply = data.reply || data.error || 'Errore di comunicazione. Riprova!'; addBotMessage(reply); history.push({ role: 'assistant', content: reply }); }) .catch(err => { setLoading(false); addBotMessage('⚠️ Errore di connessione. Puoi contattarci direttamente su WhatsApp: wa.me/393917516651'); history.push({ role: 'assistant', content: 'Errore di connessione.' }); }); } // Init on DOM ready function init() { injectStyles(); createWidget(); } if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', init); } else { init(); } })();