<?php
/**
 * AVI_VERSION: 1.2.2 | local-business.php | 2026-05-01
 */
defined( 'ABSPATH' ) || exit;
$avi_lang = 'en';
if ( function_exists( 'avi_get_current_lang' ) ) { $avi_lang = avi_get_current_lang(); }
if ( $avi_lang === 'en' && isset( $_SERVER['REQUEST_URI'] ) ) {
    $req = $_SERVER['REQUEST_URI'];
    if ( strpos( $req, '/fr/' ) === 0 ) { $avi_lang = 'fr'; }
    elseif ( strpos( $req, '/es/' ) === 0 ) { $avi_lang = 'es'; }
}
$is_fr = ( $avi_lang === 'fr' );

// Detection langue depuis URI pour pages /fr/ et /es/
$avi_lang = 'en';
if ( function_exists( 'avi_get_current_lang' ) ) {
    $avi_lang = avi_get_current_lang();
}
if ( $avi_lang === 'en' && isset( $_SERVER['REQUEST_URI'] ) ) {
    $req = $_SERVER['REQUEST_URI'];
    if ( strpos( $req, '/fr/' ) === 0 ) {
        $avi_lang = 'fr';
    } elseif ( strpos( $req, '/es/' ) === 0 ) {
        $avi_lang = 'es';
    }
}
$is_fr = ( $avi_lang === 'fr' );

global $avi_meta_title, $avi_meta_desc;

$avi_meta_title = function_exists( 'avi_get_content' )
	? avi_get_content( 'local-business', 'meta_title', 'Free Local Business Audit — AVI Intelligence', $avi_lang )
	: 'Free Local Business Audit — AVI Intelligence';
$avi_meta_desc = function_exists( 'avi_get_content' )
	? avi_get_content( 'local-business', 'meta_desc', 'Find out where your local visibility stands in 60 seconds. Free — no account required.', $avi_lang )
	: 'Find out where your local visibility stands in 60 seconds. Free — no account required.';

if ( ! class_exists( 'Avision_Page_Template' ) ) {
	require_once AVISION_PLUGIN_DIR . 'includes/class-avision-page-template.php';
}

$hero_badge = function_exists( 'avi_get_content' )
	? avi_get_content( 'local-business', 'hero_badge', '<span class="avi-badge-pin">📍</span> For Local Businesses', $avi_lang )
	: '<span class="avi-badge-pin">📍</span> For Local Businesses';
$hero_title_default = 'Stop Losing Customers to <span class="avi-lb-title-highlight">Better-Optimized Competitors</span>';
$hero_title         = function_exists( 'avi_get_content' )
	? avi_get_content( 'local-business', 'hero_title', $hero_title_default, $avi_lang )
	: $hero_title_default;
/*
 * Si wp_options contient encore l’ancien titre sans span (avi_page_local-business_hero_title_en),
 * le surlignage dégradé ne s’applique pas — réinjecter le span pour ce libellé.
 * Pour forcer toute autre variante : wp option delete avi_page_local-business_hero_title_en
 */
if ( stripos( $hero_title, 'avi-lb-title-highlight' ) === false
	&& stripos( $hero_title, 'Better-Optimized' ) !== false
	&& stripos( $hero_title, 'Competitors' ) !== false ) {
	$hero_title = (string) preg_replace(
		'/\bBetter-Optimized\s+Competitors\b/i',
		'<span class="avi-lb-title-highlight">Better-Optimized Competitors</span>',
		$hero_title,
		1
	);
}
$hero_subtitle = function_exists( 'avi_get_content' )
	? avi_get_content( 'local-business', 'hero_subtitle', 'Find out exactly where you stand in 60 seconds. Free, no account required.', $avi_lang )
	: 'Find out exactly where you stand in 60 seconds. Free, no account required.';

$hero_args = array(
	'badge'    => $hero_badge,
	'title'    => $hero_title,
	'subtitle' => $hero_subtitle,
	'align'    => 'center',
	'size'     => 'large',
	'glow'     => true,
);

Avision_Page_Template::render(
	'local-business',
	$hero_args,
	static function () {
		?>

<style>
/* ═══════════════════════════════════════════════════════════════
   LOCAL BUSINESS — Scoped under .avi-lb-page
   ═══════════════════════════════════════════════════════════════ */
.avi-lb-page { padding: 0 0 96px; }
.avi-lb-page .avi-container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Hero H1 — jaune/or aligné sur .avi-gradient-text (homepage) ; hero hors .avi-lb-page */
.avi-lb-page .avi-lb-title-highlight,
.avi-hero .avi-lb-title-highlight {
	background: var(--avi-gradient-primary, linear-gradient(135deg, #F5B040 0%, #E07010 100%));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.avi-lb-page .avi-title-accent {
	background: linear-gradient(90deg, #A07BFF, #C8AAFF);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.avi-lb-page .avi-badge-pin,
.avi-hero .avi-badge-pin {
	font-size: 0.9em;
	margin-right: 4px;
	vertical-align: middle;
	filter: hue-rotate(0deg);
}

.avi-lb-page .avi-gbp-counter {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: rgba(29,184,138,0.08);
	border: 1px solid rgba(29,184,138,0.22);
	border-radius: 30px;
	padding: 8px 18px;
	margin-top: 16px;
	font-size: 0.84rem;
	color: rgba(255,255,255,0.55);
}
.avi-lb-page .avi-gbp-counter__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #1DB88A;
	flex-shrink: 0;
	animation: avi-lb-pulse 2.5s ease-in-out infinite;
}
.avi-lb-page .avi-gbp-counter__num {
	font-weight: 800;
	font-size: 1rem;
	color: #1DB88A;
	margin-right: 4px;
}

.avi-lb-page .avi-section-head {
	text-align: center;
	margin-bottom: 40px;
}
.avi-lb-page .avi-section-head h2 {
	font-size: 1.65rem;
	font-weight: 900;
	color: #fff;
	margin: 0 0 10px;
	line-height: 1.2;
}
.avi-lb-page .avi-section-head p {
	font-size: 0.92rem;
	color: rgba(255,255,255,0.48);
	max-width: 640px;
	margin: 0 auto;
	line-height: 1.7;
}

.avi-lb-page .avi-divider {
	border: none;
	border-top: 1px solid rgba(255,255,255,0.07);
	margin: 64px 0;
}

/* ── 6 dimensions ─────────────────────────────────────────── */
.avi-lb-page .avi-lb-dim-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 8px;
}
@media (max-width: 900px) { .avi-lb-page .avi-lb-dim-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px)  { .avi-lb-page .avi-lb-dim-grid { grid-template-columns: 1fr; } }

.avi-lb-page .avi-lb-dim-card {
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.10);
	border-radius: 14px;
	padding: 22px 18px;
}
.avi-lb-page .avi-lb-dim-icon { font-size: 1.6rem; margin-bottom: 10px; display: block; }
.avi-lb-page .avi-lb-dim-card h3 {
	font-size: 0.95rem;
	font-weight: 700;
	color: #fff;
	margin: 0 0 8px;
	line-height: 1.35;
}
.avi-lb-page .avi-lb-dim-card p {
	font-size: 0.82rem;
	color: rgba(255,255,255,0.48);
	line-height: 1.55;
	margin: 0;
}

/* ── Threats ───────────────────────────────────────────────── */
.avi-lb-page .avi-lb-threat-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 24px;
}
@media (max-width: 900px) { .avi-lb-page .avi-lb-threat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .avi-lb-page .avi-lb-threat-grid { grid-template-columns: 1fr; } }

.avi-lb-page .avi-lb-threat-card {
	border-radius: 14px;
	padding: 22px 18px;
}
.avi-lb-page .avi-lb-threat-card--red {
	background: rgba(220,50,50,0.07);
	border: 1px solid rgba(220,50,50,0.22);
}
.avi-lb-page .avi-lb-threat-card--orange {
	background: rgba(255,140,0,0.07);
	border: 1px solid rgba(255,140,0,0.22);
}
.avi-lb-page .avi-lb-threat-icon { font-size: 1.35rem; margin-bottom: 10px; display: block; }
.avi-lb-page .avi-lb-threat-card h3 {
	font-size: 1rem;
	font-weight: 800;
	color: #fff;
	margin: 0 0 10px;
	line-height: 1.3;
}
.avi-lb-page .avi-lb-threat-card p {
	font-size: 0.84rem;
	color: rgba(255,255,255,0.52);
	line-height: 1.6;
	margin: 0;
}
.avi-lb-page .avi-threat-tag-red,
.avi-lb-page .avi-threat-tag-orange {
	display: inline-block;
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 4px 10px;
	border-radius: 6px;
	margin-top: 14px;
}
.avi-lb-page .avi-threat-tag-red {
	color: #ff8a8a;
	background: rgba(220,50,50,0.18);
	border: 1px solid rgba(220,50,50,0.35);
}
.avi-lb-page .avi-threat-tag-orange {
	color: #ffb347;
	background: rgba(255,140,0,0.15);
	border: 1px solid rgba(255,140,0,0.35);
}

.avi-lb-page .avi-lb-threat-transition {
	text-align: center;
	font-size: 0.92rem;
	color: rgba(255,255,255,0.55);
	max-width: 560px;
	margin: 0 auto 8px;
	line-height: 1.65;
}

/* ── Meet AVI ──────────────────────────────────────────────── */
.avi-lb-page .avi-meet-grid {
	display: grid;
	grid-template-columns: minmax(220px, 280px) 1fr;
	gap: 40px;
	align-items: start;
	margin-bottom: 8px;
}
@media (max-width: 800px) { .avi-lb-page .avi-meet-grid { grid-template-columns: 1fr; text-align: center; } }

/* ── Meet AVI avatar — B2C ─────────────────────────── */
.avi-lb-page .avi-lb-meet-avatar-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}
@media (max-width: 800px) {
	.avi-lb-page .avi-lb-meet-avatar-wrap {
		margin: 0 auto;
	}
}
.avi-lb-page .avi-lb-meet-avatar-img {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	border: 2px solid rgba(160,123,255,0.50);
	object-fit: cover;
}
.avi-lb-page .avi-lb-meet-name {
	font-size: 1.1rem;
	font-weight: 900;
	color: #fff;
}
.avi-lb-page .avi-lb-meet-role {
	font-size: 0.78rem;
	color: rgba(255,255,255,0.40);
	text-align: center;
	line-height: 1.4;
}
.avi-lb-page .avi-lb-meet-status {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.75rem;
	color: #1DB88A;
	font-weight: 600;
}
.avi-lb-page .avi-lb-meet-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #1DB88A;
	animation: avi-lb-meet-pulse 2.5s ease-in-out infinite;
}
@keyframes avi-lb-meet-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50%       { opacity: 0.4; transform: scale(0.7); }
}

.avi-lb-page .avi-lb-meet-training {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
	width: 100%;
}
.avi-lb-page .avi-lb-meet-training-bar {
	width: 100%;
	height: 4px;
	background: rgba(255,255,255,0.08);
	border-radius: 4px;
	overflow: hidden;
}
.avi-lb-page .avi-lb-meet-training-fill {
	height: 100%;
	width: 80%;
	background: linear-gradient(90deg, #7C5CEF, #1DB88A);
	border-radius: 4px;
	animation: avi-lb-training-breathe 3s ease-in-out infinite;
}
@keyframes avi-lb-training-breathe {
	0%, 100% { opacity: 1; width: 80%; }
	50%       { opacity: 0.7; width: 86%; }
}
.avi-lb-page .avi-lb-meet-training-label {
	font-size: 0.68rem;
	color: rgba(255,255,255,0.30);
	text-align: center;
	letter-spacing: 0.04em;
	line-height: 1.4;
}
.avi-lb-page .avi-lb-meet-training-status {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 0.72rem;
	font-weight: 700;
	color: #A07BFF;
	background: rgba(124,92,239,0.10);
	border: 1px solid rgba(124,92,239,0.25);
	border-radius: 20px;
	padding: 3px 10px;
}
.avi-lb-page .avi-lb-meet-training-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #A07BFF;
	flex-shrink: 0;
	animation: avi-lb-meet-pulse 1.8s ease-in-out infinite;
}
@keyframes avi-lb-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50%       { opacity: 0.5; transform: scale(0.7); }
}

.avi-lb-page .avi-lb-meet-body h2 {
	font-size: 1.65rem;
	font-weight: 900;
	color: #fff;
	margin: 0 0 14px;
	line-height: 1.2;
	text-align: left;
}
@media (max-width: 800px) { .avi-lb-page .avi-lb-meet-body h2 { text-align: center; } }

.avi-lb-page .avi-lb-meet-lead {
	font-size: 0.93rem;
	color: rgba(255,255,255,0.55);
	line-height: 1.7;
	margin: 0 0 18px;
}
.avi-lb-page .avi-lb-meet-list {
	list-style: none;
	padding: 0;
	margin: 0 0 22px;
}
.avi-lb-page .avi-lb-meet-list li {
	position: relative;
	padding-left: 22px;
	margin-bottom: 12px;
	font-size: 0.88rem;
	color: rgba(255,255,255,0.72);
	line-height: 1.55;
}
.avi-lb-page .avi-lb-meet-list li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: #1DB88A;
	font-weight: 700;
}
.avi-lb-page .avi-lb-meet-quote {
	font-size: 0.88rem;
	font-style: italic;
	color: rgba(255,255,255,0.45);
	line-height: 1.65;
	margin: 0;
	padding: 16px 18px;
	border-left: 3px solid rgba(124,92,239,0.45);
	background: rgba(124,92,239,0.06);
	border-radius: 0 10px 10px 0;
}

/* ── Command center — 2 cols + browser mockup ─────────────── */
.avi-lb-page .avi-lb-dash-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 36px;
	align-items: center;
	margin-bottom: 8px;
}
@media (max-width: 960px) { .avi-lb-page .avi-lb-dash-split { grid-template-columns: 1fr; } }

.avi-lb-page .avi-lb-dash-col--text h2 {
	font-size: 1.65rem;
	font-weight: 900;
	color: #fff;
	margin: 0 0 14px;
	line-height: 1.2;
	text-align: left;
}
.avi-lb-page .avi-lb-dash-lead {
	font-size: 0.92rem;
	color: rgba(255,255,255,0.55);
	line-height: 1.7;
	margin: 0 0 20px;
}
.avi-lb-page .avi-lb-dash-list {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
}
.avi-lb-page .avi-lb-dash-list li {
	font-size: 0.9rem;
	color: rgba(255,255,255,0.72);
	margin-bottom: 12px;
	line-height: 1.55;
}
.avi-lb-page .avi-lb-cta-prime {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 26px;
	border-radius: 10px;
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-decoration: none;
	background: linear-gradient(135deg, #7C5CEF 0%, #A07BFF 100%);
	color: #ffffff !important;
	box-shadow: 0 8px 28px rgba(124,92,239,0.55);
	transition: filter 0.15s, transform 0.12s;
}
.avi-lb-page .avi-lb-cta-prime:hover {
	filter: brightness(1.1);
	transform: translateY(-1px);
	color: #ffffff !important;
}

.avi-lb-page .avi-browser-mockup {
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.avi-lb-page .avi-browser-bar {
	background: rgba(255,255,255,0.06);
	padding: 10px 16px;
	display: flex;
	align-items: center;
	gap: 6px;
	border-bottom: 1px solid rgba(255,255,255,0.08);
}
.avi-lb-page .avi-browser-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	flex-shrink: 0;
}
.avi-lb-page .avi-dot-red    { background: #FF5F57; }
.avi-lb-page .avi-dot-yellow { background: #FFBD2E; }
.avi-lb-page .avi-dot-green  { background: #28CA41; }
.avi-lb-page .avi-browser-url {
	font-size: 0.75rem;
	color: rgba(255,255,255,0.35);
	margin-left: 10px;
	font-family: monospace;
}
.avi-lb-page .avi-browser-screen {
	padding: 24px;
	min-height: 180px;
}
.avi-lb-page .avi-dashboard-preview { margin: 0; }
.avi-lb-page .avi-preview-label {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: rgba(255,255,255,0.35);
	margin-bottom: 20px;
}
.avi-lb-page .avi-preview-kpis {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.avi-lb-page .avi-preview-kpi {
	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 8px;
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.avi-lb-page .avi-preview-kpi-val {
	font-size: 1.4rem;
	font-weight: 800;
	color: #fff;
}
.avi-lb-page .avi-preview-kpi-label {
	font-size: 0.72rem;
	color: rgba(255,255,255,0.40);
}
.avi-lb-page .avi-kpi-green { color: #1DB88A; font-size: 1rem; }

/* ── Growth Radar split + gift + radar mockup ───────────────── */
.avi-lb-page .avi-lb-radar-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 36px;
	align-items: center;
	margin-bottom: 28px;
}
@media (max-width: 960px) { .avi-lb-page .avi-lb-radar-split { grid-template-columns: 1fr; } }

.avi-lb-page .avi-lb-radar-split .avi-lb-radar-intro {
	text-align: left;
}
.avi-lb-page .avi-lb-radar-split h2 {
	font-size: 1.65rem;
	font-weight: 900;
	color: #fff;
	margin: 0 0 14px;
	line-height: 1.2;
}
.avi-lb-page .avi-lb-radar-split .avi-lb-radar-lead {
	font-size: 0.92rem;
	color: rgba(255,255,255,0.52);
	line-height: 1.7;
	margin: 0;
}

.avi-lb-page .avi-radar-gift-block {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	background: linear-gradient(135deg,
		rgba(29,184,138,0.10), rgba(29,184,138,0.04));
	border: 1.5px solid rgba(29,184,138,0.30);
	border-radius: 14px;
	padding: 24px 28px;
	margin-bottom: 28px;
}
.avi-lb-page .avi-radar-gift-icon {
	font-size: 2rem;
	flex-shrink: 0;
}
.avi-lb-page .avi-radar-gift-label {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #1DB88A;
	margin-bottom: 6px;
}
.avi-lb-page .avi-radar-gift-title {
	font-size: 1.15rem;
	font-weight: 800;
	color: #fff;
	margin: 0 0 8px;
}
.avi-lb-page .avi-radar-gift-text {
	font-size: 0.87rem;
	color: rgba(255,255,255,0.55);
	line-height: 1.65;
	margin: 0;
}

.avi-lb-page .avi-radar-preview-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.avi-lb-page .avi-radar-kw {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.07);
	border-radius: 6px;
	padding: 10px 14px;
}
.avi-lb-page .avi-radar-kw-name {
	font-size: 0.82rem;
	color: rgba(255,255,255,0.70);
}
.avi-lb-page .avi-radar-kw-pos {
	font-size: 0.85rem;
	font-weight: 700;
	color: rgba(255,255,255,0.40);
}
.avi-lb-page .avi-pos-up   { color: #1DB88A; }
.avi-lb-page .avi-pos-down { color: #FF6B6B; }

/* ── Shields (match pricing) ─────────────────────────────────── */
.avi-lb-page .avi-shields-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin-bottom: 16px;
}
@media (max-width: 900px) { .avi-lb-page .avi-shields-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px)  { .avi-lb-page .avi-shields-grid { grid-template-columns: 1fr; } }

.avi-lb-page .avi-shield-card {
	background: rgba(124,92,239,0.07);
	border: 1px solid rgba(124,92,239,0.22);
	border-radius: 13px;
	padding: 20px 18px;
	transition: border-color 0.18s, background 0.18s;
}
.avi-lb-page .avi-shield-card:hover {
	background: rgba(124,92,239,0.13);
	border-color: rgba(145,110,255,0.45);
}
.avi-lb-page .avi-shield-top {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}
.avi-lb-page .avi-shield-icon { font-size: 1.25rem; flex-shrink: 0; }
.avi-lb-page .avi-shield-name {
	font-size: 0.88rem;
	font-weight: 700;
	color: #C0A0FF;
	line-height: 1.2;
}
.avi-lb-page .avi-shield-pitch {
	font-size: 0.8rem;
	color: rgba(255,255,255,0.50);
	line-height: 1.55;
	margin: 0;
}
.avi-lb-page .avi-shield-active {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.68rem;
	font-weight: 700;
	color: #1DB88A;
	background: rgba(29,184,138,0.10);
	border-radius: 4px;
	padding: 2px 7px;
	margin-top: 10px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.avi-lb-page .avi-shield-pulse {
	width: 6px; height: 6px;
	background: #1DB88A;
	border-radius: 50%;
	animation: avi-lb-pulse 2s ease-in-out infinite;
	flex-shrink: 0;
}

.avi-lb-page .avi-guardian-unlock-note {
	font-size: 0.76rem;
	color: rgba(255,255,255,0.32);
	line-height: 1.55;
	margin: 0 0 16px;
	padding: 0 2px;
	text-align: center;
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}

/* ── Freq compare ──────────────────────────────────────────── */
.avi-lb-page .avi-freq-compare {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-top: 20px;
	margin-bottom: 20px;
}
@media (max-width: 600px) { .avi-lb-page .avi-freq-compare { grid-template-columns: 1fr; } }

.avi-lb-page .avi-freq-card {
	border-radius: 12px;
	padding: 20px;
	border: 1px solid rgba(255,255,255,0.09);
	position: relative;
}
.avi-lb-page .avi-freq-card--weekly { background: rgba(124,92,239,0.08); border-color: rgba(124,92,239,0.22); }
.avi-lb-page .avi-freq-card--daily  { background: rgba(255,165,0,0.06); border-color: rgba(255,165,0,0.22); }

.avi-lb-page .avi-freq-card__top {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	flex-wrap: wrap;
	width: 100%;
}
.avi-lb-page .avi-freq-card__plan {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}
.avi-lb-page .avi-freq-card--weekly .avi-freq-card__plan { color: #A07BFF; }
.avi-lb-page .avi-freq-card--daily  .avi-freq-card__plan { color: #FFB347; }

.avi-lb-page .avi-lb-elite-badge {
	font-size: 0.65rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #FFB347;
	background: rgba(255,179,71,0.12);
	border: 1px solid rgba(255,179,71,0.35);
	padding: 3px 10px;
	border-radius: 6px;
	margin-left: auto;
}

.avi-lb-page .avi-freq-card h4 { font-size: 1rem; font-weight: 800; color: #fff; margin: 0 0 8px; }
.avi-lb-page .avi-freq-card p  { font-size: 0.81rem; color: rgba(255,255,255,0.48); line-height: 1.55; margin: 0 0 10px; }
.avi-lb-page .avi-freq-card p:last-child { margin-bottom: 0; }

.avi-lb-page .avi-lb-radar-cta-wrap {
	text-align: center;
	margin-top: 8px;
}
.avi-lb-page .avi-lb-radar-sub {
	display: block;
	margin-top: 12px;
	font-size: 0.84rem;
}
.avi-lb-page .avi-lb-radar-sub a {
	color: #A07BFF;
	font-weight: 600;
	text-decoration: none;
}
.avi-lb-page .avi-lb-radar-sub a:hover { text-decoration: underline; }

/* ── Steps ─────────────────────────────────────────────────── */
.avi-lb-page .avi-lb-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
@media (max-width: 900px) { .avi-lb-page .avi-lb-steps { grid-template-columns: 1fr; } }

.avi-lb-page .avi-lb-step {
	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.10);
	border-radius: 14px;
	padding: 24px 20px;
}
.avi-lb-page .avi-lb-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: linear-gradient(135deg, #7C5CEF, #A07BFF);
	color: #fff;
	font-weight: 900;
	font-size: 1rem;
	margin-bottom: 14px;
}
.avi-lb-page .avi-lb-step h3 {
	font-size: 1.05rem;
	font-weight: 800;
	color: #fff;
	margin: 0 0 10px;
	line-height: 1.25;
}
.avi-lb-page .avi-lb-step p {
	font-size: 0.86rem;
	color: rgba(255,255,255,0.50);
	line-height: 1.6;
	margin: 0;
}

/* ── Academy compact ───────────────────────────────────────── */
.avi-lb-page .avi-lb-academy-list {
	list-style: none;
	padding: 0;
	margin: 0 0 16px;
}
.avi-lb-page .avi-lb-academy-list li {
	padding-left: 20px;
	position: relative;
	margin-bottom: 10px;
	font-size: 0.88rem;
	color: rgba(255,255,255,0.62);
	line-height: 1.55;
}
.avi-lb-page .avi-lb-academy-list li::before {
	content: '•';
	position: absolute;
	left: 0;
	color: #A07BFF;
	font-weight: 700;
}
.avi-lb-page .avi-lb-academy-foot {
	font-size: 0.88rem;
	color: rgba(255,255,255,0.45);
	line-height: 1.65;
	margin: 0;
	font-style: italic;
}

/* ── Final CTA ─────────────────────────────────────────────── */
.avi-lb-page .avi-lb-final-cta {
	text-align: center;
	padding: 48px 24px 56px;
	margin-top: 32px;
	background: linear-gradient(135deg, rgba(107,70,232,0.15), rgba(8,8,26,0));
	border-top: 1px solid rgba(124,92,239,0.25);
	border-radius: 0 0 12px 12px;
}
.avi-lb-page .avi-lb-final-cta h2 {
	font-size: 1.55rem;
	font-weight: 900;
	color: #fff;
	margin: 0 0 12px;
	line-height: 1.2;
}
.avi-lb-page .avi-lb-final-cta > p {
	font-size: 0.94rem;
	color: rgba(255,255,255,0.48);
	margin: 0 auto 22px;
	max-width: 520px;
	line-height: 1.6;
}
.avi-lb-page .avi-lb-cta-mega {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 32px;
	border-radius: 12px;
	font-size: 1.02rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-decoration: none;
	background: linear-gradient(135deg, #7C5CEF 0%, #A07BFF 100%);
	color: #ffffff !important;
	box-shadow: 0 12px 36px rgba(124,92,239,0.5);
	transition: filter 0.15s, transform 0.12s;
}
.avi-lb-page .avi-lb-cta-mega:hover {
	filter: brightness(1.08);
	transform: translateY(-2px);
	color: #ffffff !important;
}
.avi-lb-page .avi-lb-final-note {
	font-size: 0.8rem;
	color: rgba(255,255,255,0.35);
	margin-top: 14px;
}

/* ── Responsive (audit AVI Intelligence OS) ─────────────────── */
@media (max-width: 768px) {
	.avi-lb-page .avi-section-head h2 {
		font-size: 1.6rem;
	}
	.avi-lb-page .avi-radar-gift-block {
		flex-wrap: wrap;
		gap: 12px;
	}
}
@media (max-width: 600px) {
	.avi-lb-page .avi-inline-form {
		flex-direction: column;
	}
	.avi-lb-page .avi-inline-form__input,
	.avi-lb-page .avi-inline-form .avi-btn {
		width: 100%;
	}
}
@media (max-width: 480px) {
	.avi-lb-page .avi-container {
		padding: 0 16px;
	}
	.avi-lb-page .avi-section-head h2 {
		font-size: 1.35rem;
	}
}
@media (max-width: 768px) {
	.avi-lb-page .avi-lb-meet-body h2,
	.avi-lb-page .avi-lb-dash-col--text h2,
	.avi-lb-page .avi-lb-radar-split h2 {
		font-size: 1.45rem;
	}
}
</style>

<section class="avi-lb-page">

		<!-- Form OUTSIDE hero (CSS : chevauche le bas du hero, z-index au-dessus) -->
		<section class="avi-local-business-inline-wrap" style="background:var(--avi-surface,#0D1E38);padding:20px 24px 64px;margin-top:-32px">
			<div style="max-width:580px;margin:0 auto;text-align:center">
				<form class="avi-inline-form"
					  action="<?php echo esc_url( home_url( '/local-audit/' ) ); ?>"
					  method="GET">
					<input
						type="text"
						name="business_name"
						placeholder="Enter your business name..."
						required
						class="avi-inline-form__input"
						autocomplete="organization"
					/>
					<button type="submit" class="avi-btn avi-btn--primary">
						Start Free Analysis →
					</button>
				</form>
				<p class="avi-inline-form__hint">
					✓ Free &nbsp;·&nbsp; ✓ No signup required &nbsp;·&nbsp; ✓ Results in 60 seconds
				</p>
				<!-- TODO: restore when 50+ real users
                                    <div class="avi-gbp-counter">
					<span class="avi-gbp-counter__dot"></span>
					<span class="avi-gbp-counter__text">
						<span class="avi-gbp-counter__num" id="avi-gbp-count">34</span>
						Google Business Profiles currently protected by AVI
					</span>
				</div>
				-->
			</div>
		</section>

		<?php
		$avi_lang = 'en';
		include __DIR__ . '/../partials/avi-gbp-notice.php';
		?>

	<div class="avi-container">

		<!-- SECTION 2 — 6 dimensions -->
		<div class="avi-section-head" style="margin-top:48px;">
			<h2>What we check <span class="avi-title-accent">for you</span></h2>
			<p>Your local presence health check — 6 things that determine whether customers find you or your competitor.</p>
		</div>
		<div class="avi-lb-dim-grid">
			<?php
			$lb_dimensions = array(
				array( '📍', 'Is your address & phone correct everywhere online?', 'One wrong detail sends customers to your competitor\'s door.' ),
				array( '⭐', 'Are unanswered reviews costing you customers?', '83% of people read reviews before visiting a local business.' ),
				array( '📷', 'Does your profile look better than the competition?', 'Businesses with 10+ recent photos get 3× more direction requests.' ),
				array( '📡', 'Do customers find you — or someone else — on Google Maps?', 'If you\'re not in the top 3, most customers never see you.' ),
				array( '🔍', 'What are the top businesses in your area doing that you\'re not?', 'The gap is usually smaller than you think — and fixable.' ),
				array( '✅', 'Is Google showing your profile to its full potential?', 'Incomplete profiles rank lower — automatically.' ),
			);
			foreach ( $lb_dimensions as $dim ) {
				$icon = $dim[0];
				$t    = $dim[1];
				$s    = $dim[2];
				?>
			<div class="avi-lb-dim-card">
				<span class="avi-lb-dim-icon"><?php echo esc_html( $icon ); ?></span>
				<h3><?php echo esc_html( $t ); ?></h3>
				<p><?php echo esc_html( $s ); ?></p>
			</div>
				<?php
			}
			?>
		</div>

		<hr class="avi-divider">

		<!-- SECTION 3 — Hidden threat -->
		<div class="avi-section-head">
			<h2>⚠️ What's happening to your profile <span class="avi-title-accent">right now</span></h2>
			<p>Most business owners don't know this until it's too late.</p>
		</div>
		<div class="avi-lb-threat-grid">
			<div class="avi-lb-threat-card avi-lb-threat-card--red">
				<span class="avi-lb-threat-icon">🚨</span>
				<h3>Anyone can edit your profile</h3>
				<p>Google allows public edits on Business Profiles. Your address, phone, opening hours, even your business name — anyone can suggest a change. You might not find out for weeks.</p>
				<span class="avi-threat-tag-red">Happening right now</span>
			</div>
			<div class="avi-lb-threat-card avi-lb-threat-card--red">
				<span class="avi-lb-threat-icon">💬</span>
				<h3>Unanswered reviews destroy trust silently</h3>
				<p>A review with no response sends one clear message to potential customers: this business doesn't care. Every day without a reply is a customer who chose someone else.</p>
				<span class="avi-threat-tag-red">Costs you daily</span>
			</div>
			<div class="avi-lb-threat-card avi-lb-threat-card--orange">
				<span class="avi-lb-threat-icon">📈</span>
				<h3>Competitors are optimizing while you're working</h3>
				<p>While you're serving your customers — which is exactly where you should be — your competitors are publishing posts, adding photos, and responding to reviews. The gap grows every week.</p>
				<span class="avi-threat-tag-orange">Getting wider</span>
			</div>
		</div>
		<p class="avi-lb-threat-transition">AVI monitors all of this for you — automatically, 24/7, without you lifting a finger.</p>

		<hr class="avi-divider">

		<!-- SECTION 4 — Meet AVI -->
		<div class="avi-meet-grid">
			<div class="avi-lb-meet-avatar-wrap">
				<img src="<?php echo esc_url( AVISION_URL . 'assets/images/avi-chat.png' ); ?>"
					alt="AVI — Your local visibility coach"
					class="avi-lb-meet-avatar-img"
					width="100"
					height="100">
				<span class="avi-lb-meet-name">AVI</span>
				<span class="avi-lb-meet-role">
					Your Local Visibility Coach
				</span>
				<span class="avi-lb-meet-status">
					<span class="avi-lb-meet-dot"></span>
					Here to help you grow
				</span>
				<div class="avi-lb-meet-training">
					<div class="avi-lb-meet-training-bar">
						<div class="avi-lb-meet-training-fill"></div>
					</div>
					<span class="avi-lb-meet-training-label">
						Local SEO · Reviews · GBP Optimization
					</span>
					<span class="avi-lb-meet-training-status">
						<span class="avi-lb-meet-training-dot"></span>
						Always learning for you
					</span>
				</div>
			</div>
			<div class="avi-lb-meet-body">
				<h2>You don't need to be an SEO expert. <span class="avi-title-accent">AVI is.</span></h2>
				<p class="avi-lb-meet-lead">AVI is your personal local visibility coach — always on, always working, and always focused on one thing: making your business easier to find.</p>
				<ul class="avi-lb-meet-list">
					<li>Guides you step by step through your visibility improvements</li>
					<li>Answers your local SEO questions in plain, simple language</li>
					<li>Tells you exactly what to prioritize — no guesswork, no jargon</li>
					<li>Works in the background while you focus on your customers</li>
				</ul>
				<p class="avi-lb-meet-quote">Most of our members say the same thing after their first week: &ldquo;I wish I'd started this sooner.&rdquo;</p>
			</div>
		</div>

		<hr class="avi-divider">

		<!-- SECTION 5 — Command center -->
		<div class="avi-lb-dash-split">
			<div class="avi-lb-dash-col avi-lb-dash-col--text">
				<h2>Your command center — <span class="avi-title-accent">everything in one place</span></h2>
				<p class="avi-lb-dash-lead">Your personalized dashboard gives you a clear view of your local visibility score, what AVI did for you today, and what to focus on next — all in real time.</p>
				<ul class="avi-lb-dash-list">
					<li>✦ Visibility score /100 — updated as you progress</li>
					<li>✦ Every review responded to, every edit corrected — automatically</li>
					<li>✦ Your next priority action — always visible, always clear</li>
				</ul>
				<a class="avi-lb-cta-prime" href="<?php echo esc_url( home_url( '/local-audit/' ) ); ?>">Audit my business free →</a>
			</div>
			<div class="avi-lb-dash-col avi-lb-dash-col--mock">
				<div class="avi-browser-mockup">
					<div class="avi-browser-bar">
						<span class="avi-browser-dot avi-dot-red"></span>
						<span class="avi-browser-dot avi-dot-yellow"></span>
						<span class="avi-browser-dot avi-dot-green"></span>
						<span class="avi-browser-url">avision.org/premium-dashboard</span>
					</div>
					<div class="avi-browser-screen">
						<div class="avi-dashboard-preview">
							<div class="avi-preview-label">Live dashboard</div>
							<div class="avi-preview-kpis">
								<div class="avi-preview-kpi">
									<span class="avi-preview-kpi-val">87</span>
									<span class="avi-preview-kpi-label">Visibility Score</span>
								</div>
								<div class="avi-preview-kpi">
									<span class="avi-preview-kpi-val avi-kpi-green">✓ Active</span>
									<span class="avi-preview-kpi-label">Guardian Mode</span>
								</div>
								<div class="avi-preview-kpi">
									<span class="avi-preview-kpi-val">75</span>
									<span class="avi-preview-kpi-label">Keywords tracked</span>
								</div>
								<div class="avi-preview-kpi">
									<span class="avi-preview-kpi-val avi-kpi-green">9/9</span>
									<span class="avi-preview-kpi-label">Shields active</span>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>

		<hr class="avi-divider">

		<!-- SECTION 6 — Guardian shields -->
		<div class="avi-section-head">
			<h2>🛡️ 9 shields <span class="avi-title-accent">active</span> — protecting you around the clock</h2>
			<p>Guardian Mode watches your Google Business Profile 24/7 and acts automatically — so you never have to worry about it.</p>
		</div>

		<div class="avi-shields-grid">

			<div class="avi-shield-card">
				<div class="avi-shield-top">
					<span class="avi-shield-icon">🕵️</span>
					<span class="avi-shield-name">Spy-Alert</span>
				</div>
				<p class="avi-shield-pitch">Your competitors are making moves. You just don't know it — yet. Spy-Alert tracks their changes so you're never caught off guard.</p>
				<span class="avi-shield-active"><span class="avi-shield-pulse"></span> Active</span>
			</div>

			<div class="avi-shield-card">
				<div class="avi-shield-top">
					<span class="avi-shield-icon">💎</span>
					<span class="avi-shield-name">Proof Extractor</span>
				</div>
				<p class="avi-shield-pitch">Customers don't buy services — they buy proof. Proof Extractor surfaces the right trust signals at the right moment, automatically.</p>
				<span class="avi-shield-active"><span class="avi-shield-pulse"></span> Active</span>
			</div>

			<div class="avi-shield-card">
				<div class="avi-shield-top">
					<span class="avi-shield-icon">🖼️</span>
					<span class="avi-shield-name">Image Cleaner</span>
				</div>
				<p class="avi-shield-pitch">Your gallery is your first impression online. Image Cleaner keeps it sharp, consistent, and brand-safe — without you lifting a finger.</p>
				<span class="avi-shield-active"><span class="avi-shield-pulse"></span> Active</span>
			</div>

			<div class="avi-shield-card">
				<div class="avi-shield-top">
					<span class="avi-shield-icon">📍</span>
					<span class="avi-shield-name">NAP Shield</span>
				</div>
				<p class="avi-shield-pitch">One wrong phone number. One outdated address. That's all it takes to lose a customer forever. NAP Shield prevents it — every single day.</p>
				<span class="avi-shield-active"><span class="avi-shield-pulse"></span> Active</span>
			</div>

			<div class="avi-shield-card">
				<div class="avi-shield-top">
					<span class="avi-shield-icon">💬</span>
					<span class="avi-shield-name">Hybrid Responses</span>
				</div>
				<p class="avi-shield-pitch">Every review answered — in your tone, with the right words. You choose the level of control. Guardian handles the volume.</p>
				<span class="avi-shield-active"><span class="avi-shield-pulse"></span> Active</span>
			</div>

			<div class="avi-shield-card">
				<div class="avi-shield-top">
					<span class="avi-shield-icon">⚔️</span>
					<span class="avi-shield-name">Reputation Armor</span>
				</div>
				<p class="avi-shield-pitch">One bad review can haunt you for months. Reputation Armor monitors your perception and builds a long-term shield against attacks.</p>
				<span class="avi-shield-active"><span class="avi-shield-pulse"></span> Active</span>
			</div>

			<div class="avi-shield-card">
				<div class="avi-shield-top">
					<span class="avi-shield-icon">📸</span>
					<span class="avi-shield-name">Galerie Drip-Feed</span>
				</div>
				<p class="avi-shield-pitch">Drop all your photos in one go. Guardian publishes them at the perfect pace — one per week — to keep sending Google a freshness signal, indefinitely.</p>
				<span class="avi-shield-active"><span class="avi-shield-pulse"></span> Active</span>
			</div>

			<div class="avi-shield-card">
				<div class="avi-shield-top">
					<span class="avi-shield-icon">📝</span>
					<span class="avi-shield-name">Posts Infinis</span>
				</div>
				<p class="avi-shield-pitch">An inactive profile is an invisible profile. Posts Infinis keeps a steady stream of content going — so Google (and your customers) always see you as active.</p>
				<span class="avi-shield-active"><span class="avi-shield-pulse"></span> Active</span>
			</div>

			<div class="avi-shield-card">
				<div class="avi-shield-top">
					<span class="avi-shield-icon">🎯</span>
					<span class="avi-shield-name">Sentinel Top 3</span>
				</div>
				<p class="avi-shield-pitch">Losing ground in local rankings costs you customers — silently. Sentinel detects any drop from your key positions and alerts you before it becomes a problem.</p>
				<span class="avi-shield-active"><span class="avi-shield-pulse"></span> Active</span>
			</div>

		</div>

		<p class="avi-guardian-unlock-note">
			🔓 Guardian Mode activates progressively as you complete your foundational setup steps — guided from your dashboard.
		</p>

		<hr class="avi-divider">

		<!-- SECTION 7 — Growth Radar -->
		<div class="avi-lb-radar-split">
			<div class="avi-lb-radar-col avi-lb-radar-col--mock">
				<div class="avi-browser-mockup">
					<div class="avi-browser-bar">
						<span class="avi-browser-dot avi-dot-red"></span>
						<span class="avi-browser-dot avi-dot-yellow"></span>
						<span class="avi-browser-dot avi-dot-green"></span>
						<span class="avi-browser-url">avision.org · Growth Radar</span>
					</div>
					<div class="avi-browser-screen">
						<div class="avi-preview-label">Radar scanning</div>
						<div class="avi-radar-preview-list">
							<div class="avi-radar-kw">
								<span class="avi-radar-kw-name">pizza near me</span>
								<span class="avi-radar-kw-pos avi-pos-up">#2 ↑</span>
							</div>
							<div class="avi-radar-kw">
								<span class="avi-radar-kw-name">italian restaurant downtown</span>
								<span class="avi-radar-kw-pos avi-pos-up">#1 ↑</span>
							</div>
							<div class="avi-radar-kw">
								<span class="avi-radar-kw-name">best pasta [city]</span>
								<span class="avi-radar-kw-pos">#5 →</span>
							</div>
							<div class="avi-radar-kw">
								<span class="avi-radar-kw-name">lunch special near me</span>
								<span class="avi-radar-kw-pos avi-pos-down">#8 ↓</span>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="avi-lb-radar-col avi-lb-radar-col--text avi-lb-radar-intro">
				<h2>📡 Growth Radar — <span class="avi-title-accent">know exactly where you rank</span></h2>
				<p class="avi-lb-radar-lead">When someone searches &ldquo;best [your service] near me&rdquo; — are you showing up? Growth Radar tracks the exact searches that bring customers through your door, and shows you how to climb higher.</p>
			</div>
		</div>

		<div class="avi-radar-gift-block">
			<div class="avi-radar-gift-icon">🎁</div>
			<div class="avi-radar-gift-content">
				<span class="avi-radar-gift-label">Included in every plan — free</span>
				<h3 class="avi-radar-gift-title">
					20 keywords tracked every month
				</h3>
				<p class="avi-radar-gift-text">
					Every AVI member gets 20 keyword positions refreshed
					every month — automatically, at no extra cost.
					It's our way of making sure you always know
					where you stand, even before you upgrade.
				</p>
			</div>
		</div>

		<div class="avi-freq-compare">
			<div class="avi-freq-card avi-freq-card--weekly">
				<div class="avi-freq-card__top">
					<span style="font-size:1.1rem;">📡</span>
					<span class="avi-freq-card__plan">Weekly</span>
				</div>
				<h4>75 keywords · Refreshed every week</h4>
				<p>Every Monday, AVI scans your 75 most important local searches. You see instantly if you gained or lost ground — and AVI tells you exactly what to do to climb higher. Rankings change constantly. Weekly scans mean you catch every shift before it costs you customers.</p>
			</div>
			<div class="avi-freq-card avi-freq-card--daily">
				<div class="avi-freq-card__top">
					<span style="font-size:1.1rem;">⚡</span>
					<span class="avi-freq-card__plan">Daily</span>
					<span class="avi-lb-elite-badge">Elite</span>
				</div>
				<h4>100+ keywords · Refreshed every day</h4>
				<p>In competitive areas, a lot can change in 7 days. Daily scans give you a 7× sharper view of your territory — you know within 24 hours if anything moved, and AVI adjusts immediately. For businesses where being #1 is non-negotiable.</p>
			</div>
		</div>

		<div class="avi-lb-radar-cta-wrap">
			<a class="avi-lb-cta-prime" href="<?php echo esc_url( home_url( '/local-audit/' ) ); ?>">Start my free audit →</a>
			<span class="avi-lb-radar-sub"><a href="<?php echo esc_url( home_url( '/pricing/' ) ); ?>">View Radar plans →</a></span>
		</div>

		<hr class="avi-divider">

		<!-- SECTION 8 — Academy -->
		<div class="avi-section-head">
			<h2>🎓 AVI Academy — <span class="avi-title-accent">you'll never feel lost</span></h2>
			<p>You don't need to learn SEO to succeed with AVI. But if you want to understand what's happening and why — AVI Academy has you covered.</p>
		</div>
		<ul class="avi-lb-academy-list" style="max-width:640px;margin-left:auto;margin-right:auto;">
			<li>Step-by-step lessons on local visibility — in plain language</li>
			<li>Modules unlock as you progress through your dashboard</li>
			<li>Learn at your own pace — no deadlines, no pressure</li>
		</ul>
		<p class="avi-lb-academy-foot" style="max-width:640px;margin-left:auto;margin-right:auto;text-align:center;">
			By the time you finish your first milestone, you'll know more about local SEO than 90% of your competitors.
		</p>

		<hr class="avi-divider">

		<!-- SECTION 9 — Three steps -->
		<div class="avi-section-head">
			<h2>Three steps to a <span class="avi-title-accent">stronger local presence</span></h2>
		</div>
		<div class="avi-lb-steps">
			<div class="avi-lb-step">
				<div class="avi-lb-step-num">1</div>
				<h3>Discover your score</h3>
				<p>Run your free 60-second audit. No account, no credit card. Just your business name and your results — instantly.</p>
			</div>
			<div class="avi-lb-step">
				<div class="avi-lb-step-num">2</div>
				<h3>See your personalized roadmap</h3>
				<p>Your dashboard shows exactly what's working, what's not, and what AVI will fix first. Every recommendation is specific to your business, your category, your location.</p>
			</div>
			<div class="avi-lb-step">
				<div class="avi-lb-step-num">3</div>
				<h3>Let AVI take over — while you run your business</h3>
				<p>Activate protection and Growth Radar. AVI handles the rest: monitoring, responding, optimizing — 24/7, automatically. You get the results. AVI does the work.</p>
			</div>
		</div>

		<!-- SECTION 10 — Final CTA -->
		<div class="avi-lb-final-cta">
			<h2>Your competitors are being analyzed <span class="avi-title-accent">right now</span>.</h2>
			<p>See exactly where you stand — before they get further ahead.</p>
			<a class="avi-lb-cta-mega" href="<?php echo esc_url( home_url( '/local-audit/' ) ); ?>">Start My Free Audit — 60 Seconds</a>
			<p class="avi-lb-final-note">No account. No credit card. No commitment.</p>
		</div>

	</div><!-- /.avi-container -->
</section>

<script>
(function() {
	// ── AVI GBP Counter ──────────────────────────────────────────
	// Mettre à jour AVI_BASE_COUNT avec les vraies fiches au lancement
	// TODO: restore when 50+ real users
   // var AVI_BASE_COUNT = 34;
	var AVI_INCREMENT_MS = 300000;

	var el = document.getElementById('avi-gbp-count');
	if (!el) return;

	var start = AVI_BASE_COUNT - 3;
	var current = start;
	var countUpInterval = setInterval(function() {
		if (current >= AVI_BASE_COUNT) {
			clearInterval(countUpInterval);
			startSlowIncrement();
			return;
		}
		current++;
		el.textContent = current;
	}, 700);

	function startSlowIncrement() {
		setInterval(function() {
			current++;
			el.textContent = current;
		}, AVI_INCREMENT_MS);
	}
})();
</script>

		<?php
	}
);
