/* Style général */
:root {
    --primary-color: #e30613;
    --secondary-color: #333;
    --accent-color: #f8f8f8;
    --text-color: #333;
    --light-text: #fff;
    --border-color: #ddd;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --error-color: #f44336;
    --max-width: 1200px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

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

nav ul li a {
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a.active::after {
    width: 100%;
}

/* Main content */
main {
    min-height: 80vh;
}

/* Hero section */
.hero {
    background-color: #f5f5f5;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    text-align: center;
    padding: 80px 20px;
}

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

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

/* Sections */
section {
    padding: 60px 40px;
}

section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Presentation section */
.presentation {
    background-color: #fff;
    text-align: center;
}

.presentation p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 1.1rem;
    line-height: 1.7;
}

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

.text-block {
    flex: 1;
    min-width: 300px;
    max-width: 800px;
}

/* Features section */
.features {
    background-color: var(--accent-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
}

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

.feature h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Pricing section */
.pricing {
    background-color: #fff;
}

.price-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
}

.price-card {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
}

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

.price-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.price-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.price-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.price-card ul {
    margin-bottom: 30px;
    text-align: left;
    padding-left: 20px;
}

.price-card ul li {
    margin-bottom: 10px;
    position: relative;
    list-style-type: none;
}

.price-card ul li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 20px;
    margin-left: -20px;
}

.pricing-note {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}

.btn:hover {
    background-color: #444;
    transform: translateY(-3px);
}

.btn.cta {
    background-color: var(--primary-color);
    font-size: 1.1rem;
    padding: 15px 30px;
}

.btn.cta:hover {
    background-color: #c7000f;
}

/* Conditions section */
.conditions {
    background-color: var(--accent-color);
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.condition {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.condition h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Testimonials section */
.testimonials {
    background-color: #fff;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial {
    background-color: var(--accent-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial .stars {
    color: #ffb400;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

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

.testimonial .author {
    font-weight: 600;
    text-align: right;
}

/* CTA section */
.cta-section {
    background-color: var(--secondary-color);
    color: var(--light-text);
    text-align: center;
    padding: 60px 20px;
}

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

.cta-section h2::after {
    background-color: var(--light-text);
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 40px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: var(--max-width);
    margin: 0 auto;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo a {
    color: var(--light-text);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
}

.footer-nav ul li {
    margin-left: 20px;
}

.footer-nav ul li:first-child {
    margin-left: 0;
}

.footer-nav ul li a {
    color: var(--light-text);
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-nav ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 20px auto 0;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Page Headers */
.page-header {
    background-color: var(--secondary-color);
    color: var(--light-text);
    text-align: center;
    padding: 60px 20px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Vehicle List Page */
.vehicle-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.vehicle-card {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

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

.vehicle-card.featured {
    border: 2px solid var(--primary-color);
}

.vehicle-info {
    padding: 30px;
    flex: 1;
}

.vehicle-info h2 {
    text-align: left;
    margin-bottom: 15px;
    padding-bottom: 0;
}

.vehicle-info h2::after {
    display: none;
}

.vehicle-specs {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.vehicle-specs span {
    background-color: var(--accent-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.vehicle-info p {
    margin-bottom: 20px;
}

.price-from {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.vehicle-comparison {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}

.comparison-content {
    background-color: var(--accent-color);
    padding: 30px;
    border-radius: 8px;
}

.comparison-content p {
    margin-bottom: 20px;
}

.comparison-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.comparison-content ul li {
    margin-bottom: 10px;
    position: relative;
    list-style-type: none;
}

.comparison-content ul li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 20px;
    margin-left: -20px;
}

/* Tariff Page */
.tariff-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.tariff-table th, .tariff-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.tariff-table th {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.tariff-table tr:last-child td {
    border-bottom: none;
}

.tariff-table tr:nth-child(even) {
    background-color: var(--accent-color);
}

.pricing-notes {
    max-width: 800px;
    margin: 0 auto 40px;
    background-color: var(--accent-color);
    padding: 30px;
    border-radius: 8px;
}

.pricing-notes h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.pricing-notes ul {
    padding-left: 20px;
}

.pricing-notes ul li {
    margin-bottom: 10px;
    position: relative;
    list-style-type: none;
}

.pricing-notes ul li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 20px;
    margin-left: -20px;
}

.options-pricing {
    max-width: 800px;
    margin: 0 auto;
}

.options-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.options-table th, .options-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.options-table th {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.options-table tr:last-child td {
    border-bottom: none;
}

.options-table tr:nth-child(even) {
    background-color: var(--accent-color);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th, .comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background-color: var(--accent-color);
}

.comparison-table tr.highlighted {
    background-color: rgba(227, 6, 19, 0.05);
    font-weight: 600;
}

.conditions-pricing {
    background-color: var(--accent-color);
    padding: 60px 40px;
    margin-top: 40px;
}

/* Reservation Form */
.reservation-form {
    max-width: 800px;
    margin: 0 auto;
}

.booking-form {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 40px;
}

.form-section {
    margin-bottom: 40px;
}

.form-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: left;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.form-section h2::after {
    display: none;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(227, 6, 19, 0.2);
}

.checkbox-group {
    margin-bottom: 10px;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 3px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: var(--accent-color);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.terms {
    text-align: center;
    margin: 30px 0;
}

.reservation-info {
    max-width: 800px;
    margin: 60px auto 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background-color: var(--accent-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.info-card ul {
    padding-left: 20px;
}

.info-card ul li {
    margin-bottom: 10px;
    position: relative;
    list-style-type: none;
}

.info-card ul li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 20px;
    margin-left: -20px;
}

/* FAQ Page */
.faq-content {
    max-width: 1000px;
    margin: 0 auto;
}

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

.faq-category h2 {
    text-align: left;
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.faq-category h2::after {
    display: none;
}

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

.faq-item h3 {
    padding: 20px;
    background-color: var(--accent-color);
    font-size: 1.2rem;
    margin: 0;
    cursor: pointer;
    position: relative;
}

.faq-answer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.faq-answer p {
    margin-bottom: 15px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.faq-answer ul li {
    margin-bottom: 8px;
    position: relative;
    list-style-type: none;
}

.faq-answer ul li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 20px;
    margin-left: -20px;
}

/* Responsive design */
@media (max-width: 991px) {
    header {
        padding: 15px 20px;
    }

    .logo a {
        font-size: 1.5rem;
    }

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

    section {
        padding: 40px 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .feature-grid,
    .testimonial-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .price-card {
        min-width: 220px;
    }
}

@media (max-width: 767px) {
    header {
        flex-direction: column;
        padding: 15px;
    }

    .logo {
        margin-bottom: 15px;
    }

    nav ul {
        justify-content: center;
    }

    nav ul li {
        margin: 0 10px;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        margin-bottom: 20px;
    }

    .footer-nav ul {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .price-cards {
        flex-direction: column;
        align-items: center;
    }

    .price-card {
        width: 100%;
        max-width: none;
    }

    .price-card.featured {
        transform: none;
    }

    .price-card.featured:hover {
        transform: translateY(-5px);
    }

    .tariff-table,
    .options-table,
    .comparison-table {
        display: block;
        overflow-x: auto;
    }
}