:root {
    --primary-color: #0B2545;
    --secondary-color: #D4AF37;
    --text-color: #333333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

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

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #183860 100%);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
}

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: relative;
}

.logo {
    flex: 0 0 auto;
}

.nav-links.desktop-nav {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.logo-img {
    height: 50px;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-links.desktop-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links.desktop-nav a:hover {
    color: var(--secondary-color);
}

.nav-links.desktop-nav a:hover::after {
    width: 80%;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.mobile-nav-links li {
    margin: 1rem 0;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease-in-out;
    position: relative;
}

.mobile-nav-links li:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-links li:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav-links li:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav-links li:nth-child(4) { transition-delay: 0.4s; }
.mobile-nav-links li:nth-child(5) { transition-delay: 0.5s; }

.mobile-nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.3rem;
    display: block;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    background: linear-gradient(to right, transparent 50%, rgba(212, 175, 55, 0.1) 50%);
    background-size: 200% 100%;
    background-position: left bottom;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: var(--secondary-color);
    background-position: right bottom;
    padding-left: 1.5rem;
}

.mobile-nav-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.mobile-nav-links a:hover::before,
.mobile-nav-links a.active::before {
    width: 15px;
}

.mobile-nav-links a.active {
    color: var(--secondary-color);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.mobile-menu.active .mobile-nav-links li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--primary-color);
    padding: 2rem;
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-close:hover {
    color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links.desktop-nav {
        display: none;
    }

    .mobile-nav-links {
        margin: 2rem 0;
    }

    .mobile-nav-links li {
        margin: 1rem 0;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
    }

    .mobile-nav-links a {
        color: var(--white);
        text-decoration: none;
        font-size: 1.2rem;
        display: block;
        padding: 0.5rem 0;
        transition: color 0.3s ease;
    }

    .mobile-nav-links a:hover,
    .mobile-nav-links a.active {
        color: var(--secondary-color);
    }
}

.header .cta-button {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
}

.header .cta-button:hover {
    background-color: transparent;
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, 
        rgba(11, 37, 69, 0.65) 0%,
        rgba(24, 56, 96, 0.65) 50%,
        rgba(11, 37, 69, 0.65) 100%
    ), url('../../images/service-serrurier-changeant-une-serrure.jpg');
    background-size: cover;
    background-position: 30% center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: 100px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, 
        rgba(11, 37, 69, 0.3) 0%,
        rgba(11, 37, 69, 0) 100%
    );
    pointer-events: none;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
    padding-top: 8rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero h1 .highlight {
    color: var(--secondary-color);
    font-size: 0.9em;
    display: block;
    margin-top: 0.5rem;
}

.hero h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    color: var(--white);
    opacity: 0.9;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem auto;
    max-width: 900px;
    margin-bottom: 3rem;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
}

.feature-icon {
    background: var(--secondary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.feature-item p {
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
    color: var(--white);
}

.hero .cta-button {
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    background: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    margin: 2rem 0;
}

.call-free-text {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    color: var(--secondary-color);
    white-space: nowrap;
    animation: pulse-glow 2s infinite;
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
    margin: 0;
}

@keyframes pulse-glow {
    0% {
        opacity: 0.7;
        text-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
    }
    50% {
        opacity: 1;
        text-shadow: 0 0 15px rgba(212, 175, 55, 0.8),
                     0 0 25px rgba(212, 175, 55, 0.5);
    }
    100% {
        opacity: 0.7;
        text-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
    }
}

.hero .cta-button:hover {
    background-color: transparent;
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Section Titles Global Style */
section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

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

@media (max-width: 768px) {
    section h2 {
        font-size: 2rem;
    }
}

/* Services Section */
.services {
    padding: 5rem 2rem;
    background-color: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.service-card .service-details {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-top: 0.5rem;
    font-weight: normal;
}

/* Pricing Section */
.pricing {
    padding: 5rem 2rem;
    background-color: var(--light-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.price-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.price-card .price {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin: 1rem 0;
}

.price-card ul {
    list-style: none;
    margin: 1rem 0;
}

.price-card li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .pricing {
        padding: 3rem 1rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .price-card {
        padding: 1.5rem;
    }
}

/* Zone Section */
.zone {
    background: linear-gradient(135deg, var(--primary-color) 0%, #183860 100%);
    padding: 4rem 0;
    color: var(--white);
    position: relative;
}

.zone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 37, 69, 0.95) 0%, rgba(24, 56, 96, 0.95) 100%);
}

.zone .container {
    position: relative;
    z-index: 1;
}

.zone h2 {
    color: var(--white);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.zone h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.intervention-note {
    text-align: center;
    font-size: 1.2rem;
    color: var(--white);
    margin: 2rem 0;
}

.france-text {
    color: var(--secondary-color);
    font-weight: 600;
}

.department-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    margin: 0 auto;
    max-width: 900px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.department-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.department-header i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.department-header h3 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--white);
}

.department-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.department-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.department-section h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.cities-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cities-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cities-list li:last-child {
    border-bottom: none;
}

.city {
    color: var(--white);
    font-weight: 500;
}

.postal-code {
    color: var(--secondary-color);
    font-weight: 600;
}

.extended-list {
    display: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    column-count: 2;
    column-gap: 2rem;
}

.extended-list.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

.extended-list li {
    break-inside: avoid;
    page-break-inside: avoid;
    padding: 0.6rem 0;
}

@media (max-width: 768px) {
    .zone {
        padding: 3rem 1rem;
    }

    .department-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .department-header h3 {
        font-size: 1.3rem;
    }

    .mobile-break {
        display: block;
        margin-top: 0.2rem;
    }

    .department-section {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .cities-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }

    .postal-code {
        font-size: 0.9rem;
    }

    .intervention-note {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .department-card {
        padding: 1.5rem;
    }
}

.show-more-btn {
    background: none;
    border: 2px solid var(--secondary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
    transition: all 0.3s ease;
}

.show-more-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.show-more-btn i {
    transition: transform 0.3s ease;
}

.show-more-btn.active i {
    transform: rotate(180deg);
}

.show-more-btn .hide-text {
    display: none;
}

.show-more-btn.active .show-text {
    display: none;
}

.show-more-btn.active .hide-text {
    display: inline;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.contact-info {
    padding: 3rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    max-width: 500px;
    width: 100%;
}

.contact-features {
    margin: 2rem 0;
    display: grid;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.feature:hover {
    transform: translateX(5px);
    background-color: rgba(212, 175, 55, 0.2);
}

.feature i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    width: 2rem;
}

.feature-text p {
    margin: 0;
    line-height: 1.4;
}

.feature-text p:first-child {
    margin-bottom: 0.2rem;
}

.feature p {
    margin: 0;
    text-align: left;
    font-weight: 500;
}

.contact-info h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.phone-link {
    color: var(--white);
    text-decoration: none;
    font-size: 2rem;
    font-weight: 600;
    display: block;
    margin: 1.5rem 0;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: var(--secondary-color);
}

.social-proof {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.google-reviews {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.google-reviews img {
    height: 80px;
    width: auto;
}

.google-reviews p {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Expert Advice Section */
.expert-advice {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.expert-advice-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.expert-advice-content {
    padding-right: 2rem;
}

.expert-advice-content h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.expert-advice-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-color);
}

.expert-advice-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.expert-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.expert-image:hover {
    transform: scale(1.05);
}

/* Types de Serrures Section */
.types-serrures {
    padding: 4rem 0;
    background: #f8f9fa;
}

.types-serrures .section-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1.1rem;
    padding: 0 1rem;
}

.serrures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.serrure-category {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.serrure-category h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.serrure-category h3 i {
    color: var(--secondary-color);
}

.serrure-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.serrure-category li {
    margin-bottom: 1.5rem;
}

.serrure-category li:last-child {
    margin-bottom: 0;
}

.serrure-category h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.serrure-category p {
    color: var(--text-color);
    line-height: 1.5;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .types-serrures .section-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .serrures-grid {
        grid-template-columns: 1fr;
    }
    
    .serrure-category {
        padding: 1.5rem;
    }
}

/* Insurance Carousel Styles */
.insurance-carousel {
    width: 100%;
    background: #f8f9fa;
    padding: 20px 0;
    overflow: hidden;
    position: relative;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: calc(200px * 10); /* 200px per slide * number of slides * 2 for the clone */
}

.carousel-slide {
    flex: 0 0 200px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide img {
    max-width: 100%;
    height: auto;
    filter: grayscale(0%);
    transition: filter 0.3s ease;
}

.carousel-slide img:hover {
    filter: brightness(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 5)); /* 200px per slide * number of original slides */
    }
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .carousel-slide {
        flex: 0 0 150px;
        padding: 0 15px;
    }
    
    .carousel-track {
        width: calc(150px * 10);
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-150px * 5));
        }
    }
}

/* Mobile Menu Styles */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--primary-color);
    padding: 6rem 2rem 2rem;
    transition: right 0.3s ease;
    z-index: 1000;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-toggle {
    display: none;
    position: relative;
    z-index: 1001;
    width: 30px;
    height: 24px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}

.hamburger-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.hamburger-line:nth-child(1) { top: 0; }
.hamburger-line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger-line:nth-child(3) { bottom: 0; }

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg);
    top: 50%;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 50%;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin: 1.5rem 0;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.mobile-menu.active .mobile-nav-links li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: var(--secondary-color);
}

.mobile-cta {
    margin-top: 2rem;
    text-align: center;
}

.mobile-cta .cta-button {
    display: inline-block;
    width: 100%;
    margin-bottom: 1rem;
}

.call-free-text {
    color: var(--white);
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links.desktop-nav {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    body.menu-open {
        overflow: hidden;
    }
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

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

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

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Prevent horizontal scroll */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    * {
        max-width: 100%;
    }
    
    /* Navigation */
    .nav-links {
        display: none;
    }
    
    nav {
        padding: 0.8rem 1rem;
    }
    
    .nav-right {
        gap: 0.8rem;
    }
    
    .phone-button {
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
    }
    
    /* Hero Section */
    .hero {
        background-position: 30% center;
        padding: 100px 0.5rem 60px;
        width: 100%;
        min-height: 100vh;
        overflow-x: hidden;
    }
    
    .hero-content {
        padding: 0 0.5rem;
        padding-top: 2rem;
        text-align: center;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .hero h2 {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        margin: 1rem auto;
        width: 100%;
        padding: 0;
    }
    
    .feature-item {
        padding: 0.8rem;
        width: 100%;
    }
    
    .feature-icon {
        height: 35px;
        width: 35px;
    }
    
    .feature-icon i {
        font-size: 1rem;
    }
    
    .feature-item p {
        font-size: 0.8rem;
    }
    
    .hero .cta-button {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
        margin: 1rem 0;
    }
    
    .call-free-text {
        font-size: 0.75rem;
        bottom: -25px;
    }
    
    /* Services */
    .services {
        padding: 3rem 1rem;
        width: 100%;
        overflow-x: hidden;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        width: 100%;
        padding: 0;
    }
    
    .service-card {
        width: 100%;
        margin: 0;
    }
    
    /* Zone */
    .zone {
        padding: 3rem 1rem;
        width: 100%;
        overflow-x: hidden;
    }
    
    .zone .container {
        width: 100%;
        padding: 0 1rem;
    }
    
    .departments-grid {
        width: 100%;
        padding: 0;
    }
    
    .zone-content,
    .contact-container {
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .department-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .department-header h3 {
        font-size: 1.3rem;
    }
    
    .department-card {
        padding: 1.5rem;
        width: 100%;
        margin: 0 auto 2rem;
    }
    
    .cities-list {
        width: 100%;
    }
    
    .cities-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .postal-code {
        font-size: 0.9rem;
    }
    
    .intervention-note {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .extended-list {
        column-count: 1;
        width: 100%;
    }
    
    /* Contact */
    .contact {
        padding: 3rem 1rem;
        width: 100%;
        overflow-x: hidden;
    }
    
    .contact h2 {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .contact-container {
        width: 100%;
        max-width: 100%;
        padding: 0 0.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .contact-info {
        width: 100%;
        max-width: 100%;
        padding: 2rem 1rem;
        margin: 0 auto;
    }
    
    .contact-form {
        width: 100%;
        max-width: 100%;
        padding: 0 0.5rem;
        margin: 0 auto;
    }
    
    .contact-form form {
        width: 100%;
    }
    
    .form-group {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        max-width: 100%;
    }
    
    .contact-features {
        width: 100%;
    }
    
    .feature {
        width: 100%;
    }
    
    /* Expert Advice */
    .expert-advice {
        padding: 3rem 1rem;
        width: 100%;
    }
    
    .expert-advice-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
        padding: 0;
    }
    
    .expert-advice-content {
        padding: 0;
        width: 100%;
        text-align: center;
    }
    
    .expert-advice-content h2 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .expert-advice-content p {
        text-align: left;
        padding: 0 0.5rem;
    }
    
    .expert-advice-image {
        width: 100%;
        margin: 0 auto;
    }
    
    /* About Section */
    .about {
        padding: 3rem 1rem;
        width: 100%;
    }
    
    .about-content {
        width: 100%;
        padding: 0;
    }
    
    .about-text {
        width: 100%;
        padding: 0 0.5rem;
    }
    
    /* Floating CTA */
    .floating-cta {
        bottom: 1rem;
        right: 1rem;
    }
}

/* Bouton et liste dépliante des villes */
.extended-list {
    display: none;
    margin-top: 0;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    column-count: 2;
    column-gap: 2rem;
}

/* About Section */
.about {
    padding: 4rem 2rem;
    background-color: var(--white);
}

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

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    line-height: 1.8;
}

.about-text .intro-text {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.about-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.about-section h3 i {
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.about-section p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.commitments {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.commitments h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.commitments h3 i {
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.commitments ul {
    list-style: none;
    padding: 0;
}

.commitments li {
    padding: 0.8rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    line-height: 1.6;
}

.commitments li i {
    color: var(--secondary-color);
    margin-top: 0.3rem;
    flex-shrink: 0;
}

.cta-section {
    margin-top: 3rem;
    text-align: center;
    padding: 2rem;
    background-color: var(--light-bg);
    border-radius: 10px;
}

.cta-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

.extended-list.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

.extended-list li {
    break-inside: avoid;
    page-break-inside: avoid;
    padding: 0.6rem 0;
}

@media (max-width: 768px) {
    .extended-list {
        column-count: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.service-card,
.price-card {
    animation: fadeIn 0.5s ease-out forwards;
}

/* CTA Button Styles */
.cta-button {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.cta-button i {
    margin-right: 0.5rem;
}

.mobile-cta {
    margin-top: 3rem;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
    transition-delay: 0.6s;
}

.mobile-menu.active .mobile-cta {
    opacity: 1;
    transform: translateY(0);
}

.mobile-cta .cta-button {
    width: 100%;
    margin-bottom: 1rem;
    justify-content: center;
}

.mobile-cta .call-free-text {
    color: var(--secondary-color);
    margin: 0;
    font-size: 0.9rem;
    animation: pulse-glow 2s infinite;
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }

    .nav-links.desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    nav {
        padding: 0.8rem 1rem;
    }

    .nav-right {
        gap: 0.8rem;
    }

    .phone-button {
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
    }

    .phone-button i {
        font-size: 0.85rem;
        margin-right: 0.3rem;
    }
}
