/**
 * CSS pour les pages Communes - Façades Antoine
 * Styles spécialisés pour les pages de communes avec effet WOW
 */

/* ========== BREADCRUMB WOW ========== */
.breadcrumb-section {
    position: relative;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 50%, var(--primary-color) 100%);
    padding: 3rem 0 2rem;
    margin-top: 0;
    margin-bottom: 1rem;
    overflow: hidden;
}

.breadcrumb-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.breadcrumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 2;
}

.breadcrumb-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(231,76,60,0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(243,156,18,0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(52,152,219,0.2) 0%, transparent 50%);
    animation: particles-float 20s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes particles-float {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(5deg); }
}

.breadcrumb-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.breadcrumb-nav {
    position: relative;
    z-index: 10;
}

.breadcrumb-trail {
    display: flex;
 
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.breadcrumb-link:hover {
    color: white;
    background: rgba(231,76,60,0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.breadcrumb-separator {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
}

.breadcrumb-current {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 8px 25px rgba(231,76,60,0.3);
}

.breadcrumb-title {
    animation: breadcrumb-slide-up 1s ease-out;
}

.breadcrumb-title h1 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.title-icon {
    font-size: 3.5rem;
    margin-right: 1rem;
    display: inline-block;
    animation: title-icon-bounce 2s ease-in-out infinite;
}

.title-highlight {
    display: block;
    font-size: 2rem;
    color: var(--accent-color);
    font-weight: 300;
    margin-top: 0.5rem;
}

.breadcrumb-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

@keyframes breadcrumb-slide-up {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes title-icon-bounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ========== HERO COMMUNE ========== */
.hero-commune {
    position: relative;
    padding: 3rem 0 0rem;
    margin-bottom: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.hero-commune .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(231,76,60,0.05) 0%, rgba(243,156,18,0.05) 100%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(231,76,60,0.03) 35px,
            rgba(231,76,60,0.03) 70px
        );
    animation: pattern-slide 30s linear infinite;
}

@keyframes pattern-slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(70px); }
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 3fr 250px;
    gap: 3rem;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(231,76,60,0.3);
    animation: badge-glow 3s ease-in-out infinite alternate;
}

@keyframes badge-glow {
    0% { box-shadow: 0 4px 15px rgba(231,76,60,0.3); }
    100% { box-shadow: 0 6px 25px rgba(231,76,60,0.5); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--primary-color);
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
    color: var(--secondary-color);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border: 2px solid transparent;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--primary-color), #c0392b);
    color: white;
    box-shadow: 0 8px 25px rgba(231,76,60,0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(231,76,60,0.4);
    background: linear-gradient(135deg, #c0392b, var(--primary-color));
}

.btn-hero-secondary {
    background: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-hero-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Stats Showcase */
.stats-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(231,76,60,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: stat-icon-pulse 2s ease-in-out infinite;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9rem;
}

@keyframes stat-icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ========== COMMUNE INFO ========== */
.commune-info-section {
    padding: 2rem 0 3rem;
    background: white;
}

.commune-info-section .container {
    max-width: 1400px;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-header h2 i {
    color: var(--primary-color);
    font-size: 2rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.commune-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2.5rem;
    max-width: none;
}

.commune-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(231,76,60,0.1);
    transition: all 0.3s ease;
}

.commune-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.commune-main {
    grid-row: span 2;
}

.commune-header h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.commune-header h3 i {
    color: var(--primary-color);
}

.commune-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
    background: var(--light-gray);
    padding: 0.5rem 1rem;
    border-radius: 15px;
}

.meta-item i {
    color: var(--accent-color);
}

.commune-characteristics h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.commune-characteristics h4 i {
    color: var(--primary-color);
}

.commune-characteristics ul {
    list-style: none;
}

.commune-characteristics li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-color);
}

.commune-characteristics li i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.commune-card h4 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.commune-card h4 i {
    color: var(--primary-color);
}

.neighborhoods-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

.neighborhood-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: var(--light-gray);
    border-radius: 10px;
    color: var(--text-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.neighborhood-item:hover {
    background: rgba(231,76,60,0.1);
}

.neighborhood-item i {
    color: var(--primary-color);
}

.monuments-list {
    list-style: none;
}

.monuments-list li {
    padding: 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-color);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.monuments-list li i {
    color: var(--accent-color);
}

/* ========== SERVICES LOCAUX ========== */
.services-local-section {
    padding: 2rem 0 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.service-local-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(231,76,60,0.1);
    position: relative;
    overflow: hidden;
}

.service-local-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.service-local-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-icon-wrapper {
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-icon-large {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 8px 25px rgba(231,76,60,0.3);
    animation: service-icon-float 3s ease-in-out infinite alternate;
}

@keyframes service-icon-float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-8px); }
}

.service-local-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.service-local-card p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.service-features-local {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features-local li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-color);
}

.service-features-local li i {
    color: var(--primary-color);
}

.service-local-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.service-zone {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.service-cta {
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.service-cta:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231,76,60,0.3);
}

/* ========== TÉMOIGNAGES LOCAUX ========== */
.testimonials-local-section {
    padding: 2rem 0 3rem;
    position: relative;
    background: var(--secondary-color);
    overflow: hidden;
}

.testimonials-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.testimonials-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44,62,80,0.9) 0%, rgba(26,37,47,0.9) 100%);
}

.testimonials-local-section .section-header h2,
.testimonials-local-section .section-header p {
    color: white;
}

.testimonials-local-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.testimonial-local-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.testimonial-local-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.testimonial-content {
    padding: 2rem;
}

.testimonial-quote {
    text-align: center;
    margin-bottom: 1rem;
}

.testimonial-quote i {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
}

.testimonial-rating i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.testimonial-author {
    background: var(--light-gray);
    padding: 1.5rem 2rem;
}

.author-info h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.author-info p {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.service-type {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ========== AVANTAGES LOCAUX ========== */
.why-choose-local-section {
    padding: 2rem 0 3rem;
    background: white;
}

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

.advantage-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(231,76,60,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: translateX(-50%);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.advantage-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(231,76,60,0.3);
}

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

.advantage-card h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.advantage-card p {
    color: var(--text-color);
    line-height: 1.6;
    opacity: 0.9;
}

/* ========== FAQ LOCALE ========== */
.faq-local-section {
    padding: 2rem 0 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.faq-local-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-local-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-local-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(231,76,60,0.02);
}

.faq-question h3 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.faq-icon {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-icon.active {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(248,249,250,0.5);
}

.faq-answer.active {
    padding: 1.5rem 2rem;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

/* ========== CONTACT CTA ========== */
.contact-cta-section {
    padding: 2rem 0;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cta-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(231,76,60,0.9) 0%, rgba(44,62,80,0.9) 100%);
}

.cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.3) 0%, transparent 30%),
        radial-gradient(circle at 80% 20%, rgba(243,156,18,0.2) 0%, transparent 40%),
        radial-gradient(circle at 30% 80%, rgba(255,255,255,0.15) 0%, transparent 35%),
        radial-gradient(circle at 70% 60%, rgba(231,76,60,0.1) 0%, transparent 25%),
        radial-gradient(circle at 90% 90%, rgba(255,255,255,0.2) 0%, transparent 30%),
        radial-gradient(circle at 10% 10%, rgba(243,156,18,0.15) 0%, transparent 35%);
    animation: cta-particles-float 15s ease-in-out infinite alternate;
    z-index: 2;
}

.cta-particles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 60% 30%, rgba(255,255,255,0.1) 0%, transparent 20%),
        radial-gradient(circle at 40% 70%, rgba(243,156,18,0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 45%, rgba(255,255,255,0.12) 0%, transparent 22%);
    animation: cta-particles-pulse 8s ease-in-out infinite;
}

@keyframes cta-particles-pulse {
    0%, 100% { 
        opacity: 0.5;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes cta-particles-float {
    0% { 
        transform: translateY(0px) rotate(0deg);
        background-size: 100px 100px, 80px 80px, 120px 120px, 60px 60px, 90px 90px, 110px 110px;
    }
    25% {
        transform: translateY(-10px) rotate(1deg);
        background-size: 110px 110px, 90px 90px, 130px 130px, 70px 70px, 100px 100px, 120px 120px;
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
        background-size: 120px 120px, 100px 100px, 140px 140px, 80px 80px, 110px 110px, 130px 130px;
    }
    75% {
        transform: translateY(-15px) rotate(1.5deg);
        background-size: 115px 115px, 95px 95px, 135px 135px, 75px 75px, 105px 105px, 125px 125px;
    }
    100% { 
        transform: translateY(-30px) rotate(3deg);
        background-size: 130px 130px, 110px 110px, 150px 150px, 90px 90px, 120px 120px, 140px 140px;
    }
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.cta-text h2 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.cta-text h2 i {
    font-size: 2.5rem;
    animation: cta-phone-ring 2s ease-in-out infinite;
}

@keyframes cta-phone-ring {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-15deg); }
    75% { transform: rotate(15deg); }
}

.cta-text p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
    font-weight: 500;
}

.cta-feature i {
    color: var(--accent-color);
    font-size: 1.3rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-btn-primary,
.cta-btn-secondary,
.cta-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border: 2px solid transparent;
    min-width: 200px;
    justify-content: center;
}

.cta-btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
    background: var(--accent-color);
    color: white;
}

.cta-btn-primary span {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
}

.cta-btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.cta-btn-whatsapp {
    background: #25D366;
    color: white;
    border-color: #25D366;
}

.cta-btn-whatsapp:hover {
    background: #128C7E;
    border-color: #128C7E;
    transform: translateY(-3px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1400px) {
    .hero-content {
        max-width: 1200px;
        grid-template-columns: 2.5fr 230px;
        gap: 2.5rem;
    }
}

@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;

    }
    
    .commune-grid {
        grid-template-columns: 1fr;
    }
    
    .commune-main {
        grid-row: span 1;
    }
}

@media (max-width: 992px) {
    .breadcrumb-trail {
        gap: 0.4rem;
        font-size: 0.85rem;
    }
    
    .breadcrumb-link,
    .breadcrumb-current {
        font-size: 0.8rem;
        padding: 0.3rem 0.7rem;
    }
    
    .breadcrumb-title h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .breadcrumb-section {
        padding: 6rem 0 3rem;
    }
    
    .breadcrumb-trail {
        gap: 0.3rem;
        flex-wrap: wrap;
        overflow-x: auto;
    
        padding: 0 1rem;
        font-size: 0.8rem;
    }
    
    .breadcrumb-link,
    .breadcrumb-current {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
        white-space: nowrap;
        flex-shrink: 0;
        border-radius: 15px;
        background: rgba(255,255,255,0.1);
        backdrop-filter: blur(10px);
    }
    
    .breadcrumb-separator {
        flex-shrink: 0;
        font-size: 0.7rem;
        margin: 0 0.2rem;
    }
    
    /* Optimiser l'affichage sur mobile */
    .breadcrumb-trail .breadcrumb-link:nth-child(1) i,
    .breadcrumb-trail .breadcrumb-link:nth-child(3) i,
    .breadcrumb-trail .breadcrumb-link:nth-child(5) i,
    .breadcrumb-trail .breadcrumb-current i {
        display: none;
    }
    
    /* Raccourcir le texte sur très petit écran */
    @media (max-width: 480px) {
        .breadcrumb-trail .breadcrumb-link:nth-child(3),
        .breadcrumb-trail .breadcrumb-separator:nth-child(4) {
            display: none;
        }
    }
    
    .breadcrumb-title h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .title-icon {
        font-size: 2.5rem;
    }
    
    .title-highlight {
        font-size: 1.3rem;
        display: block;
        margin-top: 0.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .stats-showcase {
        grid-template-columns: 1fr;
    }
    
    .advantages-local-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-text h2 {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .services-local-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-local-grid {
        grid-template-columns: 1fr;
    }
    
    .service-local-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Animations d'entrée */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.commune-card,
.service-local-card,
.testimonial-local-card,
.advantage-card {
    animation: fadeInUp 0.6s ease-out;
}

.commune-card:nth-child(2) {
    animation-delay: 0.1s;
}

.commune-card:nth-child(3) {
    animation-delay: 0.2s;
}

.service-local-card:nth-child(2) {
    animation-delay: 0.1s;
}

.service-local-card:nth-child(3) {
    animation-delay: 0.2s;
}

/* FAQ JavaScript interaction */
.faq-local-item.active .faq-question {
    background: rgba(231,76,60,0.05);
}

.faq-local-item.active .faq-answer {
    border-top: 1px solid rgba(231,76,60,0.1);
}

/* ========== DESKTOP SPECIFIC STYLES ========== */
@media (min-width: 1024px) {
    /* Ajustement de l'espacement entre sections pour desktop */
    .hero-commune {
        padding: 3rem 0 2rem;
    }
    
    .commune-info-section {
        padding: 2rem 0 3rem;
    }
    
    .services-local-section {
        padding: 2rem 0 3rem;
    }
    
    .testimonials-local-section {
        padding: 2rem 0 3rem;
    }
    
    .why-choose-local-section {
        padding: 2rem 0 3rem;
    }
    
    .faq-local-section {
        padding: 2rem 0 3rem;
    }
    
    .contact-cta-section {
        padding: 2rem 0;
    }
}

/* ========== EXPERTISE HIGHLIGHTS ========== */
.expertise-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.highlight-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(231,76,60,0.1);
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-color: var(--primary-color);
}

.highlight-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.highlight-content h4 {
    color: var(--dark-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.highlight-content p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* ========== RESPONSIVE EXPERTISE HIGHLIGHTS ========== */
@media (max-width: 768px) {
    .expertise-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .highlight-card {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .highlight-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .highlight-content h4 {
        font-size: 1rem;
    }
    
    .highlight-content p {
        font-size: 0.85rem;
    }
}

/* ========== SECTIONS COMMUNES ========== */
.services-commune,
.neighborhoods-section,
.testimonials-commune,
.faq-commune,
.cta-commune {
    padding: 4rem 0;
}

.services-commune {
    background: #f8f9fa;
}

.testimonials-commune {
    background: #f8f9fa;
}

.faq-commune {
    background: white;
}

.cta-commune {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

/* ========== NEIGHBORHOODS SECTION ========== */
.neighborhoods-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.neighborhoods-section .neighborhoods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.neighborhood-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(231,76,60,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.neighborhood-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-color: var(--primary-color);
}

.neighborhood-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 1rem;
    font-size: 1.25rem;
}

.neighborhood-card h3 {
    color: var(--dark-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.neighborhood-card p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.neighborhoods-cta {
    text-align: center;
    padding: 2rem;
    background: rgba(231,76,60,0.05);
    border-radius: 12px;
    border: 1px solid rgba(231,76,60,0.1);
}

.neighborhoods-cta p {
    color: var(--text-color);
    font-size: 1rem;
    margin: 0 0 1rem 0;
}

.neighborhoods-cta .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(231,76,60,0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.neighborhoods-cta .btn-primary:hover {
    background: linear-gradient(135deg, #c0392b, #d35400);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231,76,60,0.4);
}

.neighborhoods-cta .btn-primary:before {
    content: "📞";
    font-size: 1.1rem;
}

/* ========== SERVICES GRID ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(231,76,60,0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-color: var(--primary-color);
}

.service-card .service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
    line-height: 1;
}

.service-card .service-icon i {
    display: block;
    width: 100%;
    text-align: center;
}

.service-card h3 {
    color: var(--dark-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.service-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.service-features li {
    color: var(--text-color);
    font-size: 0.9rem;
    padding: 0.25rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

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

.service-link:after {
    content: "→";
    transition: transform 0.3s ease;
}

.service-link:hover:after {
    transform: translateX(4px);
}

/* ========== TESTIMONIALS GRID ========== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(231,76,60,0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-color: var(--primary-color);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1.5rem;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-right: 1rem;
}

.testimonial-service {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(231,76,60,0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    flex-shrink: 0;
    white-space: nowrap;
}

.testimonial-text {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    font-style: italic;
}

.testimonial-footer {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.testimonial-author strong {
    color: var(--dark-color);
    font-size: 0.9rem;
    display: block;
}

.testimonial-author span {
    color: var(--text-color);
    font-size: 0.8rem;
}

/* ========== FAQ SECTION ========== */
.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(231,76,60,0.1);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(231,76,60,0.05);
}

.faq-question.active {
    background: rgba(231,76,60,0.1);
    color: var(--primary-color);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    color: var(--text-color);
    line-height: 1.6;
    transition: all 0.3s ease;
    opacity: 0;
}

.faq-answer.show {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
    opacity: 1;
}

/* ========== CTA SECTION ========== */
.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.cta-text h2 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.cta-text p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 0 2rem 0;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

.cta-feature i {
    color: #4CAF50;
    font-size: 1rem;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-cta-primary,
.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 200px;
}

.btn-cta-primary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.btn-cta-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-cta-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .services-commune,
    .neighborhoods-section,
    .testimonials-commune,
    .faq-commune,
    .cta-commune {
        padding: 2rem 0;
    }
    
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .neighborhoods-section .neighborhoods-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Fix testimonial responsive */
    .testimonial-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .testimonial-rating {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .testimonial-service {
        align-self: flex-start;
    }
    
    /* Fix testimonials mobile spacing */
    .testimonials-grid {
        padding: 0 1rem;
        margin: 0 -1rem;
    }
    
    .testimonial-card {
        margin: 0;
        padding: 1.5rem;
        box-sizing: border-box;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .cta-text h2 {
        font-size: 1.5rem;
    }
    
    .cta-actions {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        min-width: auto;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Improve button on mobile */
    .neighborhoods-cta {
        padding: 1.5rem 1rem;
    }
    
    .neighborhoods-cta .btn-primary {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
        width: auto;
        min-width: 200px;
    }
}

/* ========== RESPONSIVE TABLET ========== */
@media (max-width: 1024px) and (min-width: 769px) {
    .testimonial-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .testimonial-rating {
        margin-right: 0;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}
