<!-- Collez ce contenu dans votre Snippet (plugin Snippet) pour afficher le formulaire AVEC le champ Quartier. -->
<!-- Ou remplacez le contenu de votre shortcode Snippet par uniquement: [avision_local_audit_form] -->
<div class="avision-local-audit-form-wrap" data-audit-register-url="<?php echo esc_attr( rest_url( 'avision/v1/audit-register' ) ); ?>">
    <div class="av-form-container" style="max-width:600px; margin:0 auto;">
        <div class="av-lang-switcher" id="avision-audit-lang-switcher" style="text-align:center; margin-bottom:20px;">
            <button type="button" class="av-lang-btn active" data-lang="en">🇺🇸</button>
            <button type="button" class="av-lang-btn" data-lang="fr">🇫🇷</button>
            <button type="button" class="av-lang-btn" data-lang="es">🇪🇸</button>
        </div>
        <div class="av-form-card">
            <h2 class="av-title" data-i18n="title">Local Visibility Diagnosis</h2>
            <p class="av-subtitle" data-i18n="subtitle">Discover what is blocking your inbound calls in 60 seconds.</p>
            <div id="avision-audit-loading" class="av-loading" style="display:none;">
                <div class="av-spinner"></div>
                <p class="av-loading-text" data-i18n="generating">Avi is analyzing your profile...</p>
                <p class="av-loading-sub" data-i18n="please_wait">I am comparing your positioning with competitors...</p>
            </div>
            <form method="post" id="avision-audit-form" class="av-form" style="text-align:left;">
                <label class="av-label" data-i18n="business_name">Business Name (exactly as on your Google Profile)</label>
                <input type="text" name="avision_business_name" class="av-input" required data-i18n-placeholder="business_placeholder" placeholder="Ex: Smith Dental Clinic - NYC">
                <label class="av-label" data-i18n="country">Country</label>
                <select name="avision_country" class="av-input av-select" required style="display:block; width:100%; min-height:2.5em; margin-bottom:1em; background:#fff; color:#000;">
                <option value="FR">France</option>
                <option value="GB">United Kingdom</option>
                <option value="US">USA</option>
                <option value="ES">Spain</option>
                </select>
                <label class="av-label" data-i18n="city">City</label>
                <input type="text" name="avision_city" class="av-input" required data-i18n-placeholder="city_placeholder" placeholder="Ex: New York">
                <label class="av-label" data-i18n="neighborhood">Neighborhood / District</label>
                <input type="text" name="avision_neighborhood" class="av-input" required data-i18n-placeholder="neighborhood_placeholder" placeholder="Ex: Manhattan, Downtown">
                <label class="av-label" data-i18n="category">Your Profession (as on your Google Profile)</label>
                <input type="text" name="avision_category" class="av-input" required data-i18n-placeholder="category_placeholder" placeholder="Ex: Dentist, Plumber, Lawyer...">
                <label class="av-label" data-i18n="email_label">Your Professional Email (to receive the report)</label>
                <input type="email" name="avision_email" class="av-input" required data-i18n-placeholder="email_placeholder" placeholder="contact@company.com">
                <button type="submit" class="av-submit-btn" data-i18n="submit_btn">Start Free Analysis →</button>
                <div class="av-trust-box">
                    <span class="av-trust-title" data-i18n="trust_title">It's free and no obligation.</span>
                    <ul class="av-trust-list">
                        <li>✅ <span data-i18n="trust_1">Real-time analysis (no outdated databases).</span></li>
                        <li>🔒 <span data-i18n="trust_2">Your data remains 100% confidential.</span></li>
                        <li>📧 <span data-i18n="trust_3">No spam, just your report.</span></li>
                    </ul>
                </div>
            </form>
        </div>
    </div>
</div>
