/*
Theme Name: American Cars Passion 62
Theme URI: https://american-cars-passion62.com
Author: American Cars Passion 62
Author URI: https://american-cars-passion62.com
Description: Thème sur mesure pour American Cars Passion 62 - Homologation de véhicules américains. Design dark premium avec accents rouges, compatible WooCommerce.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: american-cars-passion
Tags: business, e-commerce, custom-colors, full-width-template
*/

/* --- DESIGN SYSTEM DARK PREMIUM --- */
:root {
    /* Palette Sombre "Midnight" */
    --bg-body: #020617;
    --bg-surface: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.6);
    --accent: #ef4444;
    --accent-hover: #dc2626;
    --accent-glow: rgba(239, 68, 68, 0.4);
    --secondary: #3b82f6;
    --text-heading: #ffffff;
    --text-body: #94a3b8;
    --text-highlight: #f1f5f9;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-body);
    line-height: 1.7;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(239, 68, 68, 0.08), transparent 25%);
}

html { scroll-behavior: smooth; }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; color: var(--text-heading); }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* BOUTONS */
.btn {
    display: inline-block; padding: 16px 36px; border-radius: 4px;
    font-weight: 700; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px;
    cursor: pointer; border: none; position: relative; overflow: hidden; transition: all 0.4s ease; z-index: 1;
}
.btn-primary { background: linear-gradient(135deg, var(--accent) 0%, #b91c1c 100%); color: var(--text-heading); box-shadow: 0 10px 20px -5px var(--accent-glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 30px -5px var(--accent-glow); }
.btn-outline { background: transparent; border: 1px solid rgba(255,255,255,0.2); color: var(--text-heading); backdrop-filter: blur(5px); }
.btn-outline:hover { border-color: var(--text-heading); background: rgba(255,255,255,0.05); }

/* SECTION HEADERS */
.section-header { text-align: center; margin-bottom: 80px; position: relative; }
.section-header h2 { font-size: 2.8rem; font-weight: 900; text-transform: uppercase; margin-bottom: 15px; background: linear-gradient(to right, #fff, #94a3b8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-header p { font-size: 1.1rem; max-width: 600px; margin: 0 auto; color: var(--secondary); font-weight: 500; text-transform: uppercase; letter-spacing: 2px; }
.section-header::after { content: ''; display: block; width: 80px; height: 3px; background: var(--accent); margin: 20px auto 0; box-shadow: 0 0 10px var(--accent); }

/* HEADER */
.site-header { background: rgba(2, 6, 23, 0.95); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.05); position: fixed; width: 100%; top: 0; z-index: 1000; transition: 0.3s; }
nav.main-nav { display: flex; justify-content: space-between; align-items: center; height: 90px; }
.logo { font-size: 1.6rem; font-weight: 900; color: var(--text-heading); display: flex; align-items: center; gap: 12px; font-style: italic; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 40px; }
.nav-links a { font-weight: 500; font-size: 0.9rem; color: var(--text-body); text-transform: uppercase; letter-spacing: 0.5px; position: relative; }
.nav-links a:hover { color: var(--text-heading); }
.mobile-menu-btn { display: none; color: var(--text-heading); font-size: 1.5rem; cursor: pointer; background: none; border: none; }

/* HERO */
.hero { position: relative; height: 100vh; min-height: 700px; display: flex; align-items: center; overflow: hidden; margin-top: 0; }
.hero-bg { position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1552519507-da3b142c6e3d?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat; z-index: -2; filter: brightness(0.6) contrast(1.1); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(2, 6, 23, 0.9) 0%, rgba(2, 6, 23, 0.5) 60%, rgba(2, 6, 23, 0.1) 100%); z-index: -1; }
.hero-content { max-width: 700px; padding-top: 80px; border-left: 5px solid var(--accent); padding-left: 40px; }
.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; justify-content: flex-start; }
.badge-us { background: rgba(255,255,255,0.1); color: var(--accent); padding: 8px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; display: inline-block; margin-bottom: 25px; border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(5px); }
.hero h1 { font-size: 4.5rem; margin-bottom: 25px; line-height: 1.1; }
.hero h1 span { color: transparent; -webkit-text-stroke: 1px #fff; display: block; }
.hero p { font-size: 1.25rem; margin-bottom: 45px; color: #cbd5e1; max-width: 550px; }

/* TRUST BAR */
.trust-bar { background: var(--bg-surface); border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); padding: 25px 0; }
.trust-grid { display: flex; justify-content: space-between; color: var(--text-body); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.trust-item i { color: var(--accent); margin-right: 10px; }

/* SERVICES */
.services { padding: 120px 0; position: relative; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.service-card { background: var(--bg-card); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.05); padding: 40px 30px; border-radius: 4px; transition: 0.4s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: var(--accent); opacity: 0; transition: 0.3s; }
.service-card:hover { transform: translateY(-10px); background: rgba(30, 41, 59, 0.8); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.service-card:hover::before { opacity: 1; }
.service-icon { font-size: 2.5rem; color: var(--text-highlight); margin-bottom: 25px; display: inline-block; transition: 0.3s; }
.service-card:hover .service-icon { color: var(--accent); text-shadow: 0 0 20px var(--accent-glow); }
.service-card h3 { font-size: 1.5rem; margin-bottom: 15px; }

/* PIECES SECTION */
.parts-section { padding: 120px 0; position: relative; background: linear-gradient(rgba(2, 6, 23, 0.85), rgba(2, 6, 23, 0.9)), url('https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?auto=format&fit=crop&w=1920&q=80'); background-size: cover; background-attachment: fixed; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.parts-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.parts-content h3 { font-size: 2rem; color: var(--text-heading); margin-bottom: 20px; }
.parts-content p { color: #cbd5e1; margin-bottom: 30px; font-size: 1.1rem; }
.parts-form { background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(10px); padding: 40px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.parts-form h4 { color: var(--accent); text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; margin-bottom: 20px; font-weight: 700; }

/* PROCESS */
.process { padding: 120px 0; background: var(--bg-surface); position: relative; }
.process-container { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 20px; }
.step-row { display: flex; align-items: center; gap: 40px; background: rgba(2, 6, 23, 0.5); padding: 30px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); transition: 0.3s; }
.step-row:hover { border-color: var(--accent); background: rgba(2, 6, 23, 0.8); }
.step-number { font-size: 4rem; font-weight: 900; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,0.1); line-height: 1; }
.step-content h3 { color: var(--text-highlight); font-size: 1.4rem; margin-bottom: 8px; }

/* PRICING & CONTACT */
.pricing { padding: 120px 0; }
.global-pricing-card { background: var(--bg-card); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; padding: 60px 40px; text-align: center; max-width: 800px; margin: 0 auto; box-shadow: 0 20px 50px rgba(0,0,0,0.3); border-top: 3px solid var(--accent); }
.global-pricing-card h3 { font-size: 2rem; margin-bottom: 20px; color: var(--text-heading); }
.global-pricing-card p { color: var(--text-body); font-size: 1.1rem; margin-bottom: 40px; }
.contact { padding: 120px 0; }
.contact-wrapper { background: var(--bg-surface); border-radius: 12px; overflow: hidden; display: grid; grid-template-columns: 40% 60%; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); border: 1px solid rgba(255,255,255,0.05); }
.contact-info { background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%); padding: 60px; color: white; position: relative; overflow: hidden; }
.contact-form { padding: 60px; background: #0f172a; }
.form-control { background: rgba(2, 6, 23, 0.5); border: 1px solid rgba(255,255,255,0.1); color: white; padding: 15px; border-radius: 4px; width: 100%; margin-bottom: 15px; font-family: inherit; }
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-glow); outline: none; }
select.form-control option { background-color: #0f172a; color: white; }

/* FOOTER */
.site-footer { background: #020617; padding: 80px 0 30px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-heading { color: var(--text-heading); font-size: 1.1rem; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: #64748b; font-size: 0.95rem; }
.footer-links a:hover { color: var(--accent); }

/* FAQ */
.faq-section { padding: 100px 0; background: #0b1120; }
.faq-item { background: var(--bg-card); border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; margin-bottom: 15px; overflow: hidden; }
.faq-item summary { padding: 20px; cursor: pointer; font-weight: 600; color: var(--text-heading); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-answer { padding: 0 20px 20px; color: var(--text-body); border-top: 1px solid rgba(255,255,255,0.05); padding-top: 15px; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .contact-wrapper { grid-template-columns: 1fr; }
    .hero h1 { font-size: 3rem; }
    .hero-content { border-left: none; padding-left: 0; text-align: center; margin: 0 auto; }
    .hero-buttons { justify-content: center; }
    .hero p { margin: 0 auto 40px; }
    .step-row { flex-direction: column; text-align: center; gap: 15px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; justify-items: center; }
    .hero-buttons { flex-direction: column; width: 100%; gap: 15px; }
    .hero-buttons .btn { width: 100%; text-align: center; }
    .hero h1 { font-size: 2.2rem; }
    .section-header h2 { font-size: 2rem; }
    .contact-info, .contact-form, .global-pricing-card { padding: 40px 20px; }
    .parts-wrapper { grid-template-columns: 1fr; }
}

/* FLOATING CTA */
.floating-cta {
    position: fixed; bottom: 20px; right: 20px; background-color: var(--accent); color: white;
    width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4); z-index: 999;
    transition: transform 0.3s; border: 2px solid rgba(255,255,255,0.2); animation: pulse 2s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } }
.floating-cta:hover { transform: scale(1.1); background-color: var(--accent-hover); animation: none; }

/* MENU MOBILE OUVERT (classe togglée par JS) */
@media (max-width: 768px) {
    .nav-links.is-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: #0f172a;
        padding: 30px;
        gap: 20px;
        z-index: 999;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
}
