/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: #0056b3;
}

ul {
    list-style: none;
}

/* En-tête */
header {
    background-color: #1a1a1a;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo a {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #fff;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    color: #ff4500;
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #ff4500;
}

/* Sections principales */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

section {
    margin-bottom: 50px;
}

h1, h2, h3 {
    margin-bottom: 20px;
    color: #222;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
}

/* Section héro */
.hero {
    background-color: #2c3e50;
    color: #fff;
    padding: 80px 20px;
    border-radius: 10px;
    margin-bottom: 40px;
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7));
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #fff;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #f5f5f5;
}

/* Boutons d'appel à l'action */
.cta-button {
    display: inline-block;
    background-color: #ff4500;
    color: #fff;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}

.cta-button:hover {
    background-color: #e03e00;
    transform: translateY(-2px);
}

.cta-button.large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Section caractéristiques */
.features {
    text-align: center;
    padding: 20px 0;
}

.features-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 30px;
}

.feature {
    flex: 1;
    background-color: #fff;
    padding: 30px 20px;
    margin: 0 10px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature h3 {
    color: #333;
    margin-bottom: 15px;
}

/* Formulaire de recherche */
.search-vehicle {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
}

.form-group {
    flex: 1;
    min-width: 200px;
    margin-right: 15px;
    margin-bottom: 15px;
}

.form-group:last-child {
    margin-right: 0;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-size: 1rem;
}

.search-button {
    background-color: #0056b3;
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
    margin-top: 25px;
}

.search-button:hover {
    background-color: #003d82;
}

/* Section processus */
.process {
    padding: 40px 0;
}

.process h2 {
    text-align: center;
    margin-bottom: 40px;
}

.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    background-color: #fff;
    margin: 0 10px 20px;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative;
}

.step h3 {
    color: #0056b3;
    margin-bottom: 15px;
}

/* Témoignages */
.testimonials {
    padding: 40px 0;
    background-color: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 50px;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 30px;
}

.testimonial-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.testimonial {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    padding: 25px;
    margin: 0 10px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 15px;
}

.client-name {
    font-weight: 600;
    text-align: right;
    color: #0056b3;
}

/* Page header */
.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
    background-color: #2c3e50;
    color: #fff;
    border-radius: 10px;
}

.page-header h1 {
    color: #fff;
}

.page-header p {
    color: #f0f0f0;
    font-size: 1.2rem;
}

/* Styles pour la page Services */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service h2 {
    color: #0056b3;
    margin-bottom: 15px;
}

.service ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.service .cta-button {
    margin-top: 10px;
}

.service-advantages {
    margin-top: 50px;
    text-align: center;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.advantages-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 30px;
}

.advantage {
    flex: 1;
    min-width: 250px;
    margin: 0 10px 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.cta-section {
    text-align: center;
    background-color: #e9f5ff;
    padding: 50px 30px;
    border-radius: 10px;
    margin-top: 50px;
}

.cta-section h2 {
    margin-bottom: 15px;
}

.cta-section p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* Styles pour la page Fichiers Chiptuning */
.chiptuning-info {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.file-types {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.file-type {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.file-type h3 {
    color: #0056b3;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.file-details {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.file-description {
    flex: 3;
    min-width: 300px;
    padding-right: 30px;
}

.file-description ul {
    list-style: disc;
    margin-left: 25px;
    margin-top: 15px;
}

.file-price {
    flex: 1;
    min-width: 200px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff4500;
    margin-bottom: 20px;
}

.benefits {
    margin-top: 50px;
}

.benefits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.benefit {
    flex: 1;
    min-width: 250px;
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.benefit h3 {
    color: #0056b3;
    margin-bottom: 15px;
}

/* Styles pour la page Tarifs */
.pricing {
    margin-bottom: 50px;
}

.pricing-intro {
    text-align: center;
    margin-bottom: 40px;
}

.pricing-plans {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.pricing-plan {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.pricing-plan:hover {
    transform: translateY(-10px);
}

.pricing-plan.featured {
    border: 2px solid #0056b3;
    transform: scale(1.05);
}

.pricing-plan.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-header {
    background-color: #0056b3;
    color: #fff;
    padding: 30px 20px;
    text-align: center;
}

.plan-header h3 {
    color: #fff;
    margin-bottom: 10px;
}

.plan-features {
    padding: 30px 20px;
}

.plan-features ul {
    list-style: none;
    margin-bottom: 30px;
}

.plan-features ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
}

.plan-features ul li:before {
    content: "✓";
    color: #0056b3;
    position: absolute;
    left: 0;
}

.pricing-plan .cta-button {
    display: block;
    text-align: center;
    margin: 0 20px 20px;
}

.additional-services {
    margin-top: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.service-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.service-item h3 {
    color: #0056b3;
    margin-bottom: 10px;
}

.volume-discounts {
    margin-top: 60px;
}

.discount-table {
    margin-top: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.table-header {
    display: flex;
    background-color: #0056b3;
    color: #fff;
    padding: 15px;
}

.table-row {
    display: flex;
    border-top: 1px solid #ddd;
    background-color: #fff;
}

.table-row:nth-child(even) {
    background-color: #f9f9f9;
}

.column {
    flex: 1;
    padding: 15px;
    text-align: center;
}

.payment-info {
    margin-top: 60px;
}

.payment-methods ul {
    list-style: disc;
    margin-left: 25px;
    margin-top: 20px;
}

/* Styles pour la page FAQ */
.faq-container {
    margin-bottom: 50px;
}

.faq-category {
    margin-bottom: 40px;
}

.faq-item {
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.faq-item h3 {
    padding: 20px;
    background-color: #f5f5f5;
    margin: 0;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s;
}

.faq-item h3:hover {
    background-color: #e9e9e9;
}

.faq-answer {
    padding: 20px;
    border-top: 1px solid #eee;
}

.faq-answer ul, .faq-answer ol {
    margin-left: 25px;
    margin-bottom: 15px;
}

.faq-answer ul li, .faq-answer ol li {
    margin-bottom: 8px;
}

/* Pied de page */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 50px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #fff;
}

.copyright {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .feature, .step, .testimonial {
        min-width: 100%;
    }
    
    .file-description {
        padding-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .pricing-plan {
        min-width: 100%;
    }
    
    .plan-header {
        padding: 20px 15px;
    }
    
    .cta-button.large {
        padding: 12px 20px;
        font-size: 1rem;
    }
}