/* ===================================
   CSS POUR REPRODUIRE L'ORIGINAL VERT
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   NAVIGATION TOP (pour page d'accueil)
   =================================== */

.top-nav {
    background: #28a745;
    padding: 10px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links .nav-link {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.nav-links .nav-link:hover,
.nav-links .nav-link.active {
    background: rgba(255, 255, 255, 0.2);
}

/* ===================================
   HEADER VERT
   =================================== */

.green-header {
    background: #28a745;
    color: white;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
    width: auto;
    background: white;
    border-radius: 50%;
    padding: 5px;
}

.company-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.search-section {
    display: flex;
    gap: 5px;
}

.search-input {
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    width: 200px;
    font-size: 0.9rem;
}

.search-btn {
    padding: 8px 12px;
    background: #218838;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

.header-nav {
    display: flex;
    gap: 15px;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
}

/* ===================================
   HEADER SPÉCIAL PAGE D'ACCUEIL
   =================================== */

.green-header-home {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1509391366360-2e959784a276?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 100px 0;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.header-home-content {
    max-width: 800px;
    margin: 0 auto;
}

.logo-home {
    margin-bottom: 30px;
}

.logo-home-img {
    height: 100px;
    width: auto;
    background: white;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.company-home-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.company-description {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.btn-home {
    display: inline-block;
    padding: 15px 40px;
    background: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-home:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.6);
}

/* ===================================
   CONTENU PRINCIPAL
   =================================== */

.main-content {
    background: white;
    min-height: 80vh;
    padding: 40px 0;
}

.page-title {
    text-align: center;
    font-size: 2.5rem;
    color: #8B4513;
    margin-bottom: 50px;
    font-weight: 600;
}

/* ===================================
   SECTIONS DE SERVICES
   =================================== */

.service-section {
    margin-bottom: 60px;
}

.section-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    align-items: start;
}

.section-image {
    display: flex;
    justify-content: center;
}

.service-img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Image plus grande pour la section services de la page d'accueil */
.service-img.large {
    max-width: 450px;
}

.section-content {
    padding: 20px 0;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.green-title {
    color: #28a745;
}

.blue-title {
    color: #007bff;
}

.section-text {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.green-text {
    color: #28a745;
}

.blue-text {
    color: #007bff;
}

/* ===================================
   LISTES DE SERVICES
   =================================== */

.service-list {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.service-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.service-list li::before {
    content: "•";
    color: #28a745;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-main-list {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.service-main-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.service-main-list li::before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-sub-list {
    list-style: none;
    margin: 15px 0 15px 40px;
    padding: 0;
}

.service-sub-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    color: #666;
    line-height: 1.6;
}

.service-sub-list li::before {
    content: "→";
    color: #007bff;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* ===================================
   BOUTONS
   =================================== */

.contact-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 10px 25px;
    background: transparent;
    color: #28a745;
    border: 2px solid #28a745;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: #28a745;
    color: white;
}

/* ===================================
   PAGE CONTACT
   =================================== */

.contact-section {
    margin: 50px 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
    align-items: start;
}

.contact-form-area {
    padding: 20px 0;
}

.contact-title {
    font-size: 1.8rem;
    color: #28a745;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-form {
    max-width: 400px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
}

.required {
    color: #dc3545;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #28a745;
}

.form-input.error, .form-textarea.error {
    border-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    display: block;
}

.success-message {
    margin-top: 20px;
    padding: 15px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    color: #155724;
}

.success-message p {
    margin: 0;
    font-weight: 500;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    padding: 12px 25px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #218838;
}

.contact-image-area {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.contact-img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Titre bleu pour page contact */
.blue-title {
    color: #007bff;
}

.testimonials-section {
    margin-top: 80px;
    padding: 40px 0;
}

.testimonials-title {
    text-align: center;
    font-size: 2rem;
    color: #28a745;
    margin-bottom: 40px;
    font-weight: 600;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #28a745;
}

.testimonial-avatar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.avatar-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.avatar-info strong {
    display: block;
    color: #333;
    font-size: 1rem;
}

.avatar-info span {
    color: #666;
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

/* ===================================
   FOOTER VERT
   =================================== */

.green-footer {
    background: #28a745;
    color: white;
    padding: 30px 0;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

.footer-company {
    font-size: 1.2rem;
    font-weight: 600;
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-section {
        order: 1;
    }
    
    .header-nav {
        order: 2;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .section-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .page-title {
        font-size: 2rem;
    }
}