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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #e74c3c;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.phone {
    font-weight: bold;
    color: #2c3e50;
}

/* Buttons */
.btn-primary {
    background: #e74c3c;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #c0392b;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-secondary {
    background: transparent;
    color: #e74c3c;
    border: 2px solid #e74c3c;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 120px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.guarantee {
    color: #28a745;
    font-weight: 500;
}

/* Form Section */
.devis-section {
    padding: 80px 0;
    background: #fff;
}

.devis-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.devis-form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #e74c3c;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8f9fa;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.services-cta {
    text-align: center;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: white;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #e74c3c;
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial cite {
    font-style: normal;
    color: #666;
    font-weight: 500;
}

.testimonials-cta {
    text-align: center;
}

/* Zone intervention */
.zone-intervention {
    padding: 80px 0;
    background: #2c3e50;
    color: white;
    text-align: center;
}

.zone-intervention h2 {
    margin-bottom: 1rem;
}

.zones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.zones span {
    background: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 120px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Prestations Detail */
.prestations-detail {
    padding: 80px 0;
}

.prestation-item {
    margin-bottom: 4rem;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.prestation-item h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #e74c3c;
    padding-bottom: 0.5rem;
}

.prestation-text ul {
    margin-top: 1rem;
    padding-left: 2rem;
}

.prestation-text li {
    margin-bottom: 0.5rem;
}

/* Réalisations Grid */
.realisations-grid {
    padding: 80px 0;
}

.realisation-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

.realisation-content {
    padding: 2rem;
}

.realisation-content h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.realisation-details {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.realisation-details span {
    background: #f8f9fa;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    color: #666;
}

/* Avis Section */
.rating-summary {
    text-align: center;
    margin-bottom: 2rem;
}

.stars-large {
    font-size: 2rem;
    color: #ffc107;
    margin-bottom: 0.5rem;
}

.avis-list {
    padding: 80px 0;
}

.avis-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

.avis-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.avis-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.avis-meta {
    text-align: right;
}

.avis-meta strong {
    display: block;
    color: #2c3e50;
}

.avis-meta span {
    color: #666;
    font-size: 0.9rem;
}

.avis-project {
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
    display: inline-block;
}

/* Rating Details */
.rating-details {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.rating-bars {
    display: grid;
    gap: 1rem;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-bar span:first-child {
    min-width: 80px;
}

.rating-bar span:last-child {
    min-width: 40px;
    text-align: right;
}

.bar {
    flex: 1;
    height: 10px;
    background: #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.fill {
    height: 100%;
    background: #ffc107;
}

/* Blog Articles */
.articles-grid {
    padding: 80px 0;
}

.article-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
    padding: 2rem;
}

.article-card h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.article-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.article-content {
    margin-top: 1.5rem;
}

.article-content h3 {
    color: #2c3e50;
    margin: 1.5rem 0 1rem;
}

.article-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
    background: #2c3e50;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

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

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #e74c3c;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-cta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .zones {
        gap: 0.5rem;
    }
    
    .zones span {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .avis-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .avis-meta {
        text-align: left;
    }
    
    .realisation-details {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .rating-bar {
        font-size: 0.9rem;
    }
    
    .rating-bar span:first-child {
        min-width: 70px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .page-header {
        padding: 100px 0 60px;
    }
    
    .hero h1,
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .devis-form,
    .service-card,
    .testimonial,
    .prestation-item,
    .realisation-item,
    .avis-item,
    .article-card {
        padding: 1.5rem;
    }
}