/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #fff;
    line-height: 1.6;
    background-color: #292535;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #d84315;
    color: #ffffff;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: #e64a29;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-secondary {
    background-color: #1a5276;
}

.btn-secondary:hover {
    background-color: #154360;
}

.btn-full {
    width: 100%;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    color: #fff;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #fd5631;
}

.section-title p {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto;
}

/* Header */
header {
    background-color: #292535;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.logo p {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

.logo span {
    color: #fd5631;
}

/* Menu Hamburger (CSS only) */
.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
}

.nav-menu ul {
    display: flex;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    font-weight: 500;
    transition: color 0.3s ease;
    color: #fff;
}

.nav-menu a:hover {
    color: #fd5631;
}

.phone-header {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #fd5631;
}

.phone-header i {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(63, 63, 63, 0.653), rgba(41, 37, 53, 0.725)), url('épaviste-voiture.webp') no-repeat center center/cover;
    height: 100vh;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #ccc;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #343140;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    background-color: #3d3949;
    padding: 30px;
    text-align: center;
    font-size: 2.5rem;
    color: #fd5631;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    margin-bottom: 15px;
    color: #fff;
}

.service-content p {
    color: #ccc;
}

/* Process Section */
.process {
    background-color: #343140;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 50px;
}

.step {
    flex-basis: calc(25% - 30px);
    text-align: center;
    position: relative;
    margin-bottom: 30px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #fd5631;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

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

.step p {
    color: #ccc;
}

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

.text-content h2 {
    text-align: center;
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.text-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #fd5631;
}

.text-block {
    margin-bottom: 40px;
    padding: 25px;
    background-color: rgba(52, 49, 64, 0.5);
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 4px solid #fd5631;
}

.text-block:hover {
    background-color: rgba(52, 49, 64, 0.8);
    transform: translateY(-3px);
}

.text-block h3 {
    color: #fd5631;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.text-block p {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 15px;
}

.documents {
    margin: 20px 0;
    padding-left: 20px;
}

.documents li {
    color: #ccc;
    margin-bottom: 10px;
    line-height: 1.6;
}

.documents strong {
    color: #fff;
}

.text-block.highlight {
    background-color: rgba(52, 49, 64, 0.8);
    border-left: 4px solid #fd5631;
}

.call-to-action {
    font-style: italic;
    color: #fd5631 !important;
    font-weight: 500;
    font-size: 1.1rem;
    margin-top: 20px !important;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .text-content h2 {
        font-size: 2rem;
    }
    
    .text-block {
        padding: 20px;
    }
    
    .text-block h3 {
        font-size: 1.3rem;
    }
}

/* CTA Section */
.cta {
    background: linear-gradient(rgba(253, 86, 49, 0.9), #292535), url('épave-voiture.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

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

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    font-size: 1.5rem;
    color: #fd5631;
}

.contact-details h3 {
    margin-bottom: 5px;
    color: #fff;
}

.contact-details p, .contact-details a {
    color: #ccc;
}

.contact-form {
    background: #343140;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #3d3949;
    border-radius: 4px;
    font-size: 1rem;
    background-color: #292535;
    color: #fff;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: #1f1b2d;
    color: white;
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: #fff;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #fd5631;
}

.footer-col p {
    margin-bottom: 15px;
    color: #ccc;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: #fd5631;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
}

/* Responsive */
@media (max-width: 992px) {
    .step {
        flex-basis: calc(50% - 30px);
    }
}

/* Mobile uniquement */
@media (max-width: 768px) {
    .hamburger {
        display: flex; /* bouton visible en mobile */
    }
    
    .header-container {
        flex-wrap: wrap;
    }
    
    .menu-toggle:checked ~ .hamburger span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle:checked ~ .hamburger span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .hamburger span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .nav-menu {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: center;
        background-color: #292535;
        display: none;
        padding: 0;
        margin: 0;
        z-index: 1000;
    }
    
    .menu-toggle:checked ~ .nav-menu {
        display: flex;
    }
    
    .nav-menu ul {
        flex-direction: column;
        width: 100%;
        background-color: #292535;
        padding: 0;
        margin: 0;
        list-style: none;
    }
    
    .nav-menu li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        width: 100%;
        padding: 15px;
        color: #fff;
        text-decoration: none;
    }
    
    .nav-menu a:hover {
        background-color: #1f1b2d;
        color: #fd5631;
    }
    
    .phone-header {
        order: 3;
        margin-left: auto;
        margin-right: 15px;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .step {
        flex-basis: 100%;
    }
    
    .header-container {
        justify-content: space-between;
    }
    
    .phone-header {
        display: none;
    }
    
    .phone-header.mobile {
        display: flex;
        width: 100%;
        order: 4;
        justify-content: center;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #3d3949;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .menu-toggle:checked ~ .phone-header.mobile {
        display: flex;
    }
}
