/* ============================================
   COUVREUR MARNE - VILLE (CITY) PAGE STYLES
   Specific styles for individual city pages
   ============================================ */

/* ============================================
   VILLE HERO
   ============================================ */
.ville-hero {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a252f 35%, var(--primary-color) 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    text-align: center;
    color: var(--white);
}

/* Decorative circle - top right */
.ville-hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 60px solid rgba(255, 255, 255, 0.04);
    pointer-events: none;
    z-index: 0;
}

/* Decorative circle - bottom left */
.ville-hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -80px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 50px solid rgba(245, 166, 35, 0.06);
    pointer-events: none;
    z-index: 0;
}

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

.ville-hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
}

.ville-hero h2 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 20px;
}

.ville-hero p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto 35px;
    line-height: 1.7;
}

.ville-hero .btn {
    margin: 5px;
}

/* ============================================
   VILLE INFOS (stats/badges in hero)
   ============================================ */
.ville-infos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.ville-info {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 18px 30px;
    color: var(--white);
    text-align: center;
    transition: all 0.3s ease;
}

.ville-info:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-3px);
}

.ville-info .info-icon {
    font-size: 1.4rem;
    display: block;
    margin-bottom: 6px;
}

.ville-info .info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    display: block;
    margin-bottom: 3px;
}

.ville-info .info-value {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
}

/* ============================================
   CONTENT TEXT
   ============================================ */
.content-text {
    line-height: 1.8;
    font-size: 1rem;
    color: #444;
}

.content-text p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.content-text h2 {
    font-size: 1.6rem;
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.content-text h3 {
    font-size: 1.25rem;
    margin-top: 30px;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.content-text strong {
    color: var(--dark-color);
}

.content-text ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.content-text ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    line-height: 1.7;
}

.content-text ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 1px;
    font-weight: 700;
    font-size: 0.95rem;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success-color), #20c997);
    color: var(--white);
    font-size: 0.7rem;
}

.content-text ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.content-text ol li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.content-text a {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-color: rgba(212, 56, 13, 0.3);
    text-underline-offset: 3px;
    transition: all 0.3s ease;
}

.content-text a:hover {
    color: var(--secondary-color);
    text-decoration-color: var(--secondary-color);
}

/* ============================================
   SERVICE CARD - PRICE DISPLAY
   ============================================ */
.service-card .price {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-color);
    margin: 12px 0 8px;
    line-height: 1.2;
}

.service-card .price-label {
    display: block;
    font-size: 0.78rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.service-card .price small {
    font-size: 0.7em;
    font-weight: 500;
    color: #888;
}

/* ============================================
   FAQ - VILLE PAGE REFINEMENTS
   ============================================ */
.ville-faq .faq-item {
    background: var(--white);
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ville-faq .faq-item:hover {
    border-color: rgba(212, 56, 13, 0.25);
}

.ville-faq .faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(212, 56, 13, 0.1);
}

.ville-faq .faq-question {
    padding: 20px 24px;
}

.ville-faq .faq-answer {
    padding: 0 24px;
    color: #555;
}

.ville-faq .faq-item.active .faq-answer {
    padding: 0 24px 20px;
}

.ville-faq .faq-answer ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
}

.ville-faq .faq-answer ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
}

/* ============================================
   COMMUNES LIST (pill-shaped links)
   ============================================ */
.communes-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.communes-list a {
    display: inline-block;
    border-radius: 20px;
    padding: 8px 16px;
    background: var(--light-color);
    color: var(--dark-color);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
}

.communes-list a:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 56, 13, 0.25);
}

.communes-list a.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(212, 56, 13, 0.25);
}

.communes-list a.active:hover {
    background: #b92e08;
    border-color: #b92e08;
}

/* ============================================
   VILLE PAGE LAYOUT SECTIONS
   ============================================ */
.ville-content {
    padding: 60px 0;
}

.ville-content .section-padding {
    padding: 60px 0;
}

.ville-services {
    padding: 60px 0;
    background: var(--light-color);
}

.ville-zones {
    padding: 60px 0;
}

.ville-avis {
    padding: 60px 0;
    background: var(--light-color);
}

.ville-faq {
    padding: 60px 0;
}

.ville-communes {
    padding: 60px 0;
    background: var(--light-color);
}

/* Two-column content layout */
.ville-two-cols {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.ville-sidebar {
    position: sticky;
    top: 100px;
}

.ville-sidebar .contact-form {
    padding: 30px;
}

.ville-sidebar .contact-form h3 {
    font-size: 1.15rem;
    margin-bottom: 20px;
    text-align: center;
    color: var(--dark-color);
}

/* Info box in sidebar */
.ville-info-box {
    background: var(--white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
}

.ville-info-box h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.ville-info-box p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.6;
}

.ville-info-box p:last-child {
    margin-bottom: 0;
}

/* ============================================
   VILLE STATS BAR
   ============================================ */
.ville-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 40px 0;
    background: var(--light-color);
}

.ville-stat {
    text-align: center;
}

.ville-stat .stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    line-height: 1.2;
}

.ville-stat .stat-label {
    font-size: 0.85rem;
    color: #666;
    display: block;
    margin-top: 5px;
}

/* ============================================
   RESPONSIVE - TABLET (max 992px)
   ============================================ */
@media (max-width: 992px) {
    .ville-hero {
        padding: 75px 0;
    }

    .ville-hero h1 {
        font-size: 2rem;
    }

    .ville-two-cols {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ville-sidebar {
        position: static;
    }

    .ville-stats {
        gap: 25px;
    }
}

/* ============================================
   RESPONSIVE - MOBILE (max 768px)
   ============================================ */
@media (max-width: 768px) {
    /* Hero */
    .ville-hero {
        padding: 55px 0;
    }

    .ville-hero h1 {
        font-size: 1.6rem;
    }

    .ville-hero h2 {
        font-size: 1rem;
    }

    .ville-hero p {
        font-size: 0.95rem;
    }

    .ville-hero::before {
        width: 250px;
        height: 250px;
        border-width: 35px;
        top: -80px;
        right: -60px;
    }

    .ville-hero::after {
        width: 200px;
        height: 200px;
        border-width: 30px;
        bottom: -100px;
        left: -50px;
    }

    /* Info badges - column layout */
    .ville-infos {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .ville-info {
        width: 100%;
        max-width: 300px;
        padding: 12px 20px;
    }

    /* Stats - column layout */
    .ville-stats {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 30px 0;
    }

    .ville-stat .stat-number {
        font-size: 1.6rem;
    }

    /* Content */
    .content-text {
        font-size: 0.95rem;
    }

    .content-text h2 {
        font-size: 1.35rem;
        margin-top: 30px;
    }

    .content-text h3 {
        font-size: 1.1rem;
        margin-top: 25px;
    }

    /* Sections */
    .ville-content,
    .ville-services,
    .ville-zones,
    .ville-avis,
    .ville-faq,
    .ville-communes {
        padding: 40px 0;
    }

    /* Grids to 1 col */
    .ville-two-cols {
        grid-template-columns: 1fr;
    }

    /* Service card price */
    .service-card .price {
        font-size: 1.4rem;
    }

    /* Communes list */
    .communes-list {
        gap: 8px;
    }

    .communes-list a {
        font-size: 0.82rem;
        padding: 6px 14px;
    }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE (max 576px)
   ============================================ */
@media (max-width: 576px) {
    .ville-hero {
        padding: 45px 0;
    }

    .ville-hero h1 {
        font-size: 1.35rem;
    }

    .ville-hero::before,
    .ville-hero::after {
        display: none;
    }

    .ville-info {
        padding: 10px 16px;
    }

    .ville-info .info-value {
        font-size: 0.95rem;
    }

    .content-text ul li {
        padding-left: 28px;
    }

    .content-text ul li::before {
        width: 20px;
        height: 20px;
        font-size: 0.65rem;
    }

    .ville-faq .faq-question {
        padding: 15px 18px;
        font-size: 0.9rem;
    }
}
