<!doctype html>
<html lang="fr">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <link rel="icon" type="image/svg+xml" href="/favicon.ico" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Location Autocar Bruxelles - Bus et Minibus avec chauffeur</title>
    <meta name="description" content="Location d'autocar avec chauffeur à Bruxelles depuis 2007. Services de transferts, excursions, voyages d'affaires en Europe. Devis gratuit." />
    
    <!-- Preconnect to external domains -->
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link rel="preconnect" href="https://ik.imagekit.io">
    
    <!-- Load Google Fonts with optimized loading -->
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet" media="print" onload="this.media='all'">
    <noscript><link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet"></noscript>
    
    <!-- Preload critical images -->
    <link rel="preload" as="image" href="https://ik.imagekit.io/by733ltn6/locationautocar/cropped-logo-base-location-autocar-bruxelles.png" fetchpriority="high">
    <link rel="preload" as="image" href="https://ik.imagekit.io/by733ltn6/locationautocar/location-bus-bruxelles2-1-scaled.jpeg?updatedAt=1750900171624&tr=w-1920,h-1080,c-maintain_ratio,f-webp,q-85" fetchpriority="high" media="(min-width: 1024px)">
    <link rel="preload" as="image" href="https://ik.imagekit.io/by733ltn6/locationautocar/location-bus-bruxelles2-1-scaled.jpeg?updatedAt=1750900171624&tr=w-1200,h-800,c-maintain_ratio,f-webp,q-85" fetchpriority="high" media="(min-width: 768px) and (max-width: 1023px)">
    <link rel="preload" as="image" href="https://ik.imagekit.io/by733ltn6/locationautocar/location-bus-bruxelles2-1-scaled.jpeg?updatedAt=1750900171624&tr=w-800,h-600,c-maintain_ratio,f-webp,q-85" fetchpriority="high" media="(max-width: 767px)">
    
    <!-- Open Graph -->
    <meta property="og:title" content="Location Autocar Bruxelles - Bus et Minibus avec chauffeur" />
    <meta property="og:description" content="Location d'autocar avec chauffeur à Bruxelles depuis 2007. Services de transferts, excursions, voyages d'affaires en Europe." />
    <meta property="og:type" content="website" />
    <meta property="og:url" content="https://www.locationautocar.be" />
    <meta property="og:image" content="https://ik.imagekit.io/by733ltn6/locationautocar/cropped-logo-base-location-autocar-bruxelles.png" />
    
    <!-- Twitter Card -->
    <meta name="twitter:card" content="summary_large_image" />
    <meta name="twitter:title" content="Location Autocar Bruxelles - Bus et Minibus avec chauffeur" />
    <meta name="twitter:description" content="Location d'autocar avec chauffeur à Bruxelles depuis 2007. Services de transferts, excursions, voyages d'affaires en Europe." />
    <meta name="twitter:image" content="https://ik.imagekit.io/by733ltn6/locationautocar/cropped-logo-base-location-autocar-bruxelles.png" />
    
    <!-- Canonical -->
    <link rel="canonical" href="https://www.locationautocar.be" />
    
    <!-- Netlify Identity Widget -->
    <script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
    <script type="module" crossorigin src="/assets/index-BQ39aZ07.js"></script>
    <link rel="stylesheet" crossorigin href="/assets/index-f4JX4Nf4.css">
  </head>
  <body>
    <div id="root"></div>
    
    <!-- Debug script to check if files are loading -->
    <script>
      console.log('HTML loaded successfully');
      console.log('Root element exists:', !!document.getElementById('root'));
      console.log('Checking stylesheets...');
      document.querySelectorAll('link[rel="stylesheet"]').forEach((link, index) => {
        console.log(`Stylesheet ${index + 1}:`, link.href);
      });
    </script>
    
    <!-- CRITICAL: Static form for Netlify build-time detection -->
    <!-- This form MUST be present in the HTML for Netlify to detect it -->
    <form hidden method='post' name='contact' style='display: none;'>
      <input type="text" name="name" />
      <input type="email" name="email" />
      <input type="tel" name="phone" />
      <select name="service">
        <option value="transfert">Transfert aéroport/gare</option>
        <option value="excursion">Excursion touristique</option>
        <option value="business">Voyage d'affaires</option>
        <option value="disposition">Mise à disposition</option>
      </select>
      <input type="date" name="date" />
      <input type="number" name="passengers" />
      <input type="text" name="destination" />
      <textarea name="message"></textarea>
      <!-- CRITICAL: This hidden field is required -->
      <input type="hidden" name="form-name" value="contact" />
    </form>
    
    
    <!-- Fallback error handling -->
    <script>
      // Enhanced fallback error handling with better UX
      window.fallbackErrorTimeout = setTimeout(() => {
        if (!document.querySelector('#root').hasChildNodes()) {
          console.error('React app failed to mount after 5 seconds');
          
          const errorDiv = document.createElement('div');
          errorDiv.style.cssText = 'padding: 40px 20px; font-family: Arial, sans-serif; max-width: 600px; margin: 50px auto; text-align: center; border: 2px solid #e53e3e; border-radius: 10px; background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);';
          errorDiv.innerHTML = `
            <div style="color: #e53e3e; font-size: 48px; margin-bottom: 20px;">⚠️</div>
            <h1 style="color: #2d3748; margin-bottom: 16px; font-size: 24px;">Application Loading Failed</h1>
            <p style="color: #4a5568; margin-bottom: 24px; line-height: 1.6;">
              We're experiencing technical difficulties. Our team has been notified and is working to resolve this issue.
            </p>
            
            <div style="background: white; padding: 20px; border-radius: 8px; margin: 20px 0; text-align: left;">
              <h3 style="color: #2d3748; margin-bottom: 12px; font-size: 16px;">Quick Solutions:</h3>
              <ul style="color: #4a5568; margin: 0; padding-left: 20px;">
                <li style="margin-bottom: 8px;">Refresh the page (Ctrl+F5 or Cmd+Shift+R)</li>
                <li style="margin-bottom: 8px;">Clear your browser cache and cookies</li>
                <li style="margin-bottom: 8px;">Try a different browser or incognito mode</li>
                <li style="margin-bottom: 8px;">Check your internet connection</li>
              </ul>
            </div>
            
            <div style="margin: 24px 0;">
              <button onclick="window.location.reload()" style="background: #3182ce; color: white; border: none; padding: 12px 24px; border-radius: 6px; font-size: 16px; cursor: pointer; margin-right: 12px;">
                🔄 Refresh Page
              </button>
              <button onclick="window.open('https://status.netlify.com', '_blank')" style="background: #38a169; color: white; border: none; padding: 12px 24px; border-radius: 6px; font-size: 16px; cursor: pointer;">
                📊 Check Status
              </button>
            </div>
            
            <div style="border-top: 1px solid #e2e8f0; padding-top: 20px; margin-top: 24px;">
              <p style="color: #4a5568; margin-bottom: 12px; font-size: 14px;">Need immediate assistance?</p>
              <div style="display: flex; justify-content: center; gap: 24px; flex-wrap: wrap;">
                <a href="tel:+3225800325" style="color: #3182ce; text-decoration: none; font-weight: bold;">
                  📞 +32 2 580 03 25
                </a>
                <a href="mailto:info@locationautocar.be" style="color: #3182ce; text-decoration: none; font-weight: bold;">
                  📧 info@locationautocar.be
                </a>
              </div>
            </div>
            
            <details style="margin-top: 24px; text-align: left;">
              <summary style="cursor: pointer; color: #4a5568; font-size: 14px;">🔧 Technical Information</summary>
              <div style="background: #f7fafc; padding: 16px; margin-top: 12px; border-radius: 6px; font-family: monospace; font-size: 12px; color: #2d3748;">
                <p><strong>Error:</strong> React application failed to mount within 5 seconds</p>
                <p><strong>URL:</strong> ${window.location.href}</p>
                <p><strong>User Agent:</strong> ${navigator.userAgent}</p>
                <p><strong>Timestamp:</strong> ${new Date().toISOString()}</p>
                <p><strong>Viewport:</strong> ${window.innerWidth}x${window.innerHeight}</p>
              </div>
            </details>
          `;
          
          document.getElementById('root').innerHTML = '';
          document.getElementById('root').appendChild(errorDiv);
        }
      }, 5000);
    </script>
    
    <!-- Netlify Identity Widget -->
    <script>
      if (window.netlifyIdentity) {
        window.netlifyIdentity.on("init", user => {
          if (!user) {
            window.netlifyIdentity.on("login", () => {
              document.location.href = "/admin/";
            });
          }
        });
      }
    </script>
  </body>
</html>