/* ===== Reset and Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* ===== Performance Optimizations ===== */
img {
    max-width: 100%;
    height: auto;
}

/* Font display optimization */
@font-face {
    font-family: 'Poppins';
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    font-display: swap;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

/* ===== Logo ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.logo-link:hover,
.logo-link:active {
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.2));
    transform: translateY(-2px);
}

.logo-image {
    height: 202px;
    width: auto;
}

.logo-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 0.2rem;
    letter-spacing: -0.5px;
}

.tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.5px;
}

/* ===== Navigation ===== */
.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.nav-link:hover {
    color: #2c5aa0;
    animation: bounce 0.6s ease infinite;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2c5aa0;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #2c5aa0;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: rgba(44, 90, 160, 0.1);
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(to bottom right, #4f83cc 0%, #1e3a8a 50%, #0f172a 100%);
    color: white;
    padding: 300px 0 80px;
    text-align: center;
}

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

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.68rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -1px;
    opacity: 0;
    transform: translateX(200px);
    animation: slideInFromRight 2s ease-out 0.5s forwards;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-title:hover {
    animation: slideInFromRight 2s ease-out forwards;
    transform: scale(1.02);
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    margin-bottom: 1.8rem;
    opacity: 0.95;
    line-height: 1.6;
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    background-color: #f59e0b;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.cta-button:hover {
    background-color: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

/* ===== Section Styles ===== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    letter-spacing: -0.8px;
}

.section-header p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.section-divider {
    width: 80px;
    height: 4px;
    background-color: #2c5aa0;
    margin: 0 auto 2rem;
    border-radius: 2px;
}

/* ===== About Section ===== */
.about {
    background-color: #f8fafc;
}

.about-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.about-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.quote {
    font-size: 1.3rem;
    font-style: italic;
    font-weight: bold;
    color: #2c5aa0;
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-left: 4px solid #2c5aa0;
    border-radius: 8px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-features {
    display: grid;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: center;
    opacity: 0;
    transform: translateX(-100px);
    justify-content: flex-start;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature.animate-in {
    animation: slideInFromLeft 0.5s ease-out forwards;
}

.feature:hover {
    transform: translateX(10px) scale(1.05);
    filter: brightness(1.1);
}

.feature:hover i {
    transform: rotate(360deg);
    color: #f59e0b;
}

.feature:nth-child(1) { animation-delay: 0.2s; }
.feature:nth-child(2) { animation-delay: 0.4s; }
.feature:nth-child(3) { animation-delay: 0.6s; }
.feature:nth-child(4) { animation-delay: 0.8s; }

.feature i {
    font-size: 2rem;
    color: #2c5aa0;
    flex-shrink: 0;
    width: 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.feature-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    justify-content: center;
}

.feature h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.feature p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.4;
}

.team-image-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-left: 2rem;
}

.team-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.team-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* ===== Services Section ===== */
.services {
    background-color: white;
}

/* Service rows vertical layout */
.services-vertical-layout {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Service row styles */
.service-row {
    width: 100%;
    padding: 2.4rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 320px;
}

/* Background variations */
.service-row.white-bg {
    background-color: #ffffff;
}

.service-row.blue-bg {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Two cards container */
.service-cards-dual {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: flex-start;
    max-width: 1000px;
    width: 100%;
}

/* ===== Service Cards - Dual Format ===== */
.service-card-dual {
    flex: 1;
    max-width: 450px;
    min-height: 280px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 3px solid #2c5aa0;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card-dual:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* ===== Service Cards - Triple Layout ===== */
.service-row-triple {
    width: 100%;
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    background-color: #ffffff;
}

/* Service card triple with exact dimensions */
.service-card-triple {
    flex: none;
    width: 380px !important;
    height: 350px !important;
    max-width: 380px;
    min-height: 350px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 1.5rem 1.2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 3px solid #2c5aa0;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.service-card-triple:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Service card triple icon */
.service-card-triple .service-icon {
    margin-bottom: 1rem;
    font-size: 2rem;
    color: #2c5aa0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: 1;
    min-width: 60px;
    min-height: 60px;
}

.service-card-triple h3 {
    margin: 0 0 1.2rem 0;
    line-height: 1.2;
    font-size: 1.1rem;
    font-weight: 600;
    min-height: 2.4rem;
    text-align: center;
    padding: 0 0.5rem;
}

.service-card-triple .service-details {
    text-align: left;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card-triple .service-details li {
    margin-bottom: 0.7rem;
    line-height: 1.4;
    padding-left: 1.2rem;
    position: relative;
    font-size: 0.85rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.service-card-triple .service-details li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2c5aa0;
    font-weight: bold;
    font-size: 0.9rem;
}

/* ===== Construction Image Cards with exact sizes ===== */
.construction-image-card {
    flex: none;
    width: 380px !important;
    height: 350px !important;
    max-width: 380px;
    min-height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.construction-image-sized {
    width: 380px !important;
    height: 350px !important;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.construction-image-sized:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* ===== General Service Cards ===== */
.service-card {
    background-color: white;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c5aa0, #1e3a8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 1rem;
}

/* Featured service cards */
.service-card.featured {
    border: 2px solid #2c5aa0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.service-card.featured .service-icon {
    background: linear-gradient(135deg, #2c5aa0, #1e40af);
    transform: scale(1.1);
}

/* Service details list */
.service-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-details li {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.4rem;
    padding-left: 1.5rem;
    position: relative;
    text-align: left;
}

.service-details li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2c5aa0;
    font-weight: bold;
    font-size: 1.1rem;
}

/* ===== Contact Section ===== */
.contact {
    background-color: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-item i {
    font-size: 2rem;
    color: #2c5aa0;
}

.contact-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #6b7280;
    font-size: 0.95rem;
}

/* Map item styling */
.contact-item.map-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    min-height: 600px;
}

.contact-text-with-icon {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.contact-icon.map-icon {
    font-size: 2rem;
    color: #2c5aa0;
}

.contact-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.contact-text p {
    color: #6b7280;
    font-size: 0.95rem;
}

.contact-map-section {
    width: 100%;
    margin-top: 1rem;
}

#service-map {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    background-color: #f8fafc;
}

/* Contact Form */
.contact-form-container {
    background-color: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 90%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding-left: 1.9rem;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
    width: 100%;
    max-width: 500px;
}

/* Élargissement du conteneur intérieur pour centrer le contenu sur desktop */
@media (min-width: 769px) {
    .contact-form-container {
        background-color: white !important;
        padding: 3rem !important;
        border-radius: 16px !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
        margin: 0 auto !important;
        max-width: 90% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: flex-start !important;
        padding: 3rem 4rem !important;
    }
    
    .contact-form {
        display: grid !important;
        gap: 1.5rem !important;
        width: 100% !important;
        max-width: 600px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        text-align: left !important;
    }
    
    .form-group {
        display: flex !important;
        flex-direction: column !important;
        margin: 0 !important;
        width: 100% !important;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background: linear-gradient(135deg, #4a7bc8, #1e3a8a);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 90, 160, 0.3);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Error and success messages */
.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* ===== Brochure Download Section ===== */
.brochure-download {
    padding: 0.9rem 0 1.5rem 0;
    background-color: #f8fafc;
    text-align: center;
}

.brochure-button {
    background-color: #f3f7ff;
    color: #2c5aa0;
    padding: 1.2rem 1.5rem;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.brochure-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #2c5aa0;
    text-decoration: none;
}

/* ===== Footer ===== */
.footer {
    background-color: #1f2937;
    color: white;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.footer-info p {
    color: #9ca3af;
    font-size: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    color: #9ca3af;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    color: #ffffff;
    opacity: 0.8;
    transform: translateY(-2px);
}

/* ===== Animations ===== */
@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(200px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade-in animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* ===== Services Grid Layout ===== */
.services-grid-layout {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* ===== Mobile Responsive Design ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
        overflow-x: hidden;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
    }
    
    .logo-image {
        height: 120px;
    }
    
    .logo-text h1 {
        font-size: 1.4rem; /* Réduction supplémentaire pour mobile */
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav-link {
        padding: 1rem 2rem;
        border-bottom: 1px solid #e5e7eb;
        transition: all 0.3s ease;
        position: relative;
    }
    
    .nav-link:hover,
    .nav-link:active {
        background-color: #2c5aa0;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(44, 90, 160, 0.3);
    }
    
    .hero {
        padding: 200px 0 80px;
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }
    
    .hero-content {
        margin: 0 auto;
        max-width: 100%;
        text-align: center;
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.05rem; /* Taille réduite pour tenir sur une ligne */
        white-space: nowrap; /* Une seule ligne */
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.9rem; /* Réduction pour mobile */
    }
    
    body, html {
        overflow-x: hidden;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .quote {
        font-size: 1.1rem; /* Taille lisible restaurée */
        line-height: 1.4; /* Interligne confortable */
    }
    
    .about-description p {
        font-size: 0.95rem; /* Taille augmentée pour meilleure lisibilité */
        line-height: 1.4; /* Interligne plus confortable */
    }
    
    .team-image-container {
        order: -1;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .team-image {
        width: 100%; /* Même largeur que la citation */
        max-width: 100%;
        height: auto;
        object-fit: cover;
        margin: 0;
        padding: 0;
        display: block;
    }
    
    /* Espacement supplémentaire pour la section d'icônes uniquement sur mobile */
    .about-features {
        margin-top: 1rem;
    }
    
    .services-grid-layout {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
        box-sizing: border-box;
    }
    
    .service-row-triple {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    .service-card-triple {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 1.5rem;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 200px;
    }
    
    /* Réorganisation de l'ordre des services uniquement en mobile */
    .service-row-triple:first-child .service-card-triple:nth-child(1) {
        order: 1; /* Nettoyage complet de roulottes de chantier */
    }
    
    .service-row-triple:first-child .service-card-triple:nth-child(2) {
        order: 2; /* Entretien complet de toilettes chimiques */
    }
    
    .service-row-triple:first-child .service-card-triple:nth-child(3) {
        order: 3; /* Réapprovisionnement fournitures */
    }
    
    .service-row-triple:last-child .service-card-triple:nth-child(1) {
        order: 4; /* Désinfection selon normes sanitaires */
        margin-top: -1rem; /* Compense l'espacement supplémentaire */
    }
    
    .service-row-triple:last-child .service-card-triple:nth-child(3) {
        order: 5; /* Service fiable sans annulation */
    }
    
    .service-row-triple:last-child .construction-image-card {
        order: 6; /* Bloc avec image des roulottes en dernier */
    }
    
    .service-cards-dual {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .service-card-dual {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 1.5rem;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 200px;
    }
    
    .construction-image-card {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
        box-sizing: border-box;
    }
    
    .construction-image-card img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 8px; /* Bordure arrondie pour harmonie */
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 15px;
        overflow-x: hidden;
    }
    
    .contact-info {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .contact-item {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 1.5rem 15px;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    /* Phrase "Appelez-nous pour une consultation" sur une seule ligne en mobile */
    .contact-item:not(.map-item) p {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 0.85rem; /* Légèrement diminuée pour mobile */
    }
    
    /* Phrase "Nous desservons toute la région métropolitaine" sur plusieurs lignes en mobile */
    .contact-item.map-item p {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        font-size: 0.85rem; /* Légèrement diminuée pour mobile */
    }
    
    .contact-form-container {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    /* Centrage des champs du formulaire uniquement en mobile */
    .contact-form {
        padding: 2rem 0; /* Restaure le padding vertical pour centrage */
        margin: 0 auto;
        text-align: center;
    }
    
    .form-group {
        margin: 0 auto 1.5rem auto;
        text-align: left;
        width: 100%;
        max-width: 100%;
    }
    
    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        text-align: left;
        width: 100%;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
    }
    
    .submit-button {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 17px auto;
        display: block;
        text-align: center;
        box-sizing: border-box;
        padding: 12px 16px; /* Augmente significativement la hauteur de 20% */
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px; /* Espacement entre icône et texte */
    }
    
    /* Brochure button mobile styling */
    .brochure-button {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        text-align: center;
        box-sizing: border-box;
        padding: 1rem 1.2rem;
        gap: 0.5rem;
    }
    
    .brochure-download {
        padding: 0.6rem 15px 1rem 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    /* Réductions supplémentaires de police pour mobile */
    .contact-item h3 {
        font-size: 1.1rem; /* Réduction pour "514-316-0101" et "info@renouvonettoyage.ca" */
    }
    
    .contact-item p {
        font-size: 0.9rem; /* Réduction pour "Appelez-nous" et "Écrivez-nous" */
    }
    
    .section-header h2 {
        font-size: 1.6rem; /* Réduction pour "Zone de service" et "Demandez votre devis" */
    }
    
    .section-header p {
        font-size: 0.9rem; /* Réduction pour "Nous desservons toute la région" */
    }
    
    /* Alignement parfait des icônes de contact en mobile */
    .contact-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-item i {
        font-size: 1.5rem;
        color: #2c5aa0;
        width: 24px;
        height: 24px;
        text-align: center;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Conteneur spécifique pour Zone de service avec centrage */
    .contact-text-with-icon {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1rem;
        width: 100%;
        justify-content: center; /* Centre horizontalement le bloc icône + texte */
    }
    
    .contact-text-with-icon .contact-icon {
        font-size: 1.5rem;
        color: #2c5aa0;
        width: 24px;
        height: 24px;
        text-align: center;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: -5px; /* Décalage vers la gauche pour alignement parfait */
    }
    
    .contact-text-with-icon .contact-text {
        flex: 0 0 auto; /* Empêche l'expansion pour garder le centrage */
        text-align: center;
    }
    
    /* Ajustement des icônes de service pour les descendre légèrement */
    .service-icon {
        margin-top: 0.5rem; /* Descend les icônes pour un meilleur centrage visuel */
        margin-bottom: 0.5rem;
    }
    
    .contact-text-with-icon .contact-text {
        flex: 1;
    }
    
    .footer-links {
        justify-content: center;
    }
}
