/*
Theme Name: VTC M2 Landing
Author: Analysis Agency
Description: Thème WordPress simple et fluide sur une seule page pour VTC M2 Transport réalisé par Analysis Agency.
Version: 1.1
Text Domain: vtc-m2-landing
*/

/* Reset basique et Typographie */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Helvetica Neue', Arial, sans-serif; line-height: 1.6; color: #333; background-color: #f4f7f6; }
img { max-width: 100%; height: auto; display: block; border-radius: 8px; margin-bottom: 15px;}

/* Conteneur Principal */
.container { max-width: 800px; margin: 0 auto; padding: 20px; background: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.05); position: relative; }

/* HEADER & MENU MOBILE */
.header-main { display: flex; align-items: center; justify-content: flex-start; padding-bottom: 15px; margin-bottom: 25px; border-bottom: 1px solid #edf2f7; }
.menu-toggle { cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; width: 28px; height: 20px; margin-right: 20px; z-index: 10; }
.menu-toggle span { display: block; height: 3px; width: 100%; background-color: #2d3748; border-radius: 3px; }
.header-logo { flex-grow: 1; }
.header-logo a { display: inline-block; }
.header-logo img { margin: 0; max-width: 200px; }

/* MENU LATÉRAL (DRAWER) */
.mobile-nav { position: fixed; top: 0; left: -300px; width: 280px; height: 100%; background: #fff; box-shadow: 2px 0 15px rgba(0,0,0,0.15); transition: left 0.3s ease-in-out; z-index: 1000; padding: 20px; overflow-y: auto; }
.mobile-nav.open { left: 0; }
.mobile-nav .close-btn { font-size: 35px; cursor: pointer; text-align: right; line-height: 1; margin-bottom: 15px; color: #a0aec0; transition: color 0.2s; }
.mobile-nav .close-btn:hover { color: #e53e3e; }
.mobile-nav ul { list-style: none; padding-left: 0; }
.mobile-nav ul li { border-bottom: 1px solid #edf2f7; }
.mobile-nav ul li a { display: block; padding: 15px 0; text-decoration: none; color: #2d3748; font-size: 1.1rem; font-weight: 600; transition: color 0.2s; }
.mobile-nav ul li a:hover { color: #3182ce; }
.nav-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 999; display: none; opacity: 0; transition: opacity 0.3s ease; }
.nav-overlay.open { display: block; opacity: 1; }

/* PAGES LÉGALES */
.legal-content { padding: 10px 0 40px; }
.legal-content h1 { font-size: 1.8rem; margin-bottom: 25px; color: #1a202c; border-bottom: 3px solid #3182ce; padding-bottom: 10px; display: inline-block; }
.legal-content p, .legal-content ul, .legal-content li { font-size: 1rem; line-height: 1.8; margin-bottom: 15px; color: #4a5568; }

/* Conteneur Formulaire Global */
.booking-form { background: #f8f9fa; padding: 25px; border-radius: 12px; margin: 30px 0; border: 1px solid #e2e8f0; }

/* --- OVERRIDE ULTRA FORT DU PLUGIN VTC --- */
#force-vtc-style input, #force-vtc-style select, #force-vtc-style textarea, #force-vtc-style .form-control { width: 100% !important; padding: 12px !important; border: 1px solid #cbd5e0 !important; border-radius: 6px !important; font-size: 1rem !important; margin-bottom: 15px !important; box-sizing: border-box !important; background-color: #fff !important; color: #333 !important; height: auto !important; box-shadow: none !important; }
#force-vtc-style label { display: block !important; margin-bottom: 5px !important; font-weight: 600 !important; font-size: 0.95rem !important; color: #333 !important; }
#force-vtc-style button, #force-vtc-style input[type="submit"] { background-color: #28a745 !important; color: white !important; padding: 14px 20px !important; border: none !important; width: 100% !important; font-size: 1.1rem !important; border-radius: 6px !important; cursor: pointer !important; font-weight: bold !important; margin-top: 10px !important; transition: background 0.3s !important; }
#force-vtc-style button:hover, #force-vtc-style input[type="submit"]:hover { background-color: #218838 !important; }

/* Section Services */
.services { margin: 30px 0; padding: 20px; background: #fff; }
.services h2 { font-size: 1.5rem; margin-bottom: 15px; line-height: 1.4;}
.services ul { list-style: none; padding-left: 10px; }
.services li { font-size: 1.1rem; margin-bottom: 12px; }

/* Bouton d'Appel (CTA) */
.cta-button { display: block; text-align: center; background: #000; color: #fff; padding: 18px 20px; text-decoration: none; font-size: 1.2rem; border-radius: 8px; font-weight: bold; margin: 30px 0; transition: background 0.3s; }
.cta-button:hover { background: #333; color: #fff; }

/* Pied de page */
footer { text-align: center; margin-top: 40px; padding-top: 20px; font-size: 0.9rem; color: #a0aec0; border-top: 1px solid #edf2f7; }

/* Adaptabilité Mobile */
@media (max-width: 600px) {
    .hero h1 { font-size: 1.8rem !important; }
    .hero h2 { font-size: 1.1rem !important; }
    .container { padding: 15px; }
    .booking-form { padding: 15px; }
}