.ville {
    --geo-bg: linear-gradient(180deg, #eef7ff 0%, #ffffff 22%, #f4fbf7 100%);
    --geo-surface: rgba(255, 255, 255, 0.94);
    --geo-border: rgba(27, 86, 113, 0.14);
    --geo-shadow: 0 24px 60px rgba(16, 24, 40, 0.10);
    --geo-primary: #0f6b7a;
    --geo-primary-dark: #0a4957;
    --geo-text: #17324d;
    --geo-muted: #61738a;
    --geo-accent: #2ca7ba;
    --city-hero-height: clamp(500px, calc(100svh - 190px), 680px);
}

body.ville {
    background: var(--geo-bg);
    color: var(--geo-text);
}

body.ville main {
    padding: 0 1.5rem 4rem;
}

.ville .content-wrapper {
    width: min(1240px, 100%);
    margin: 0 auto;
}

.ville .city-hero,
.ville .city-info-section,
.ville .city-description-section,
.ville .city-collection {
    margin-top: 2rem;
}

.ville .city-hero {
    margin-top: 0;
    width: 100vw;
    height: var(--city-hero-height);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
}

.ville .city-info-grid {
    display: grid;
    grid-template-columns: minmax(0, 880px);
    justify-content: center;
}

.ville .city-hero-media,
.ville .geo-wrapper,
.ville .city-description-card,
.ville .city-spotlight-card {
    background: var(--geo-surface);
    border: 1px solid var(--geo-border);
    box-shadow: var(--geo-shadow);
    backdrop-filter: blur(10px);
}

.ville .city-hero-media--full::before,
.ville .city-hero-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 18%, rgba(73, 190, 229, 0.16), transparent 34%),
        radial-gradient(circle at 86% 12%, rgba(233, 185, 73, 0.16), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(239, 248, 255, 0.72));
    pointer-events: none;
}

.ville .city-hero-overlay > *,
.ville .city-hero-placeholder > * {
    position: relative;
    z-index: 1;
}

.ville .geo-kicker,
.ville .section-kicker,
.ville .city-slideshow-kicker,
.ville .city-hero-placeholder-kicker,
.ville .city-map-empty-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--geo-accent);
}

.ville h1 {
    margin: 0 0 0.3rem;
    font-size: clamp(2rem, 3.2vw, 3.15rem);
    line-height: 0.96;
    letter-spacing: -0.04em;
    color: #ffffff;
}

.ville h2,
.ville h3 {
    margin: 0;
    color: var(--geo-primary-dark);
}

.ville .city-subtitle {
    margin: 0 0 0.6rem;
    color: #d5f7fb;
    font-size: 0.9rem;
    font-weight: 700;
}

.ville .city-intro,
.ville .city-hero-placeholder p,
.ville .city-hero-overlay p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
}

.ville .city-intro {
    display: -webkit-box;
    max-width: min(1000px, 100%);
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ville .geo-wrapper p,
.ville .section-copy,
.ville .city-description-card > p,
.ville .city-spotlight-description {
    color: var(--geo-muted);
}

.ville .city-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.ville .city-meta-item {
    display: inline-flex;
    align-items: center;
    padding: 0.58rem 0.82rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 26px rgba(4, 16, 24, 0.18);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    backdrop-filter: blur(12px);
    line-height: 1.1;
}

.ville .user-signature {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.85rem;
    padding: 0.55rem 0.8rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 30px rgba(4, 16, 24, 0.18);
    backdrop-filter: blur(12px);
}

.ville .avatar-signature {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.ville .signature-text {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.88rem;
    line-height: 1.2;
}

.ville .city-hero-media {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    height: 100%;
    min-height: 0;
}

.ville .diapo-container,
.ville .city-hero-visual,
.ville .city-hero-placeholder {
    position: relative;
    height: 100%;
    min-height: 0;
}

.ville .city-slideshow {
    background: #0b2230;
}

.ville .slides {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 0;
    background: #0b2230;
}

.ville .slide {
    display: none;
    width: 100%;
    height: 100%;
}

.ville .slide.active {
    display: block;
}

.ville .diapo-fade .slides {
    height: 100%;
}

.ville .diapo-fade .slide {
    display: block;
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.025);
    transition:
        opacity 0.7s ease,
        transform 1.2s ease,
        visibility 0s linear 0.7s;
    will-change: opacity, transform;
}

.ville .diapo-fade .slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition-delay: 0s;
}

.ville .slide-image,
.ville .city-hero-image,
.ville .city-spotlight-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ville .city-hero-overlay {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    padding: clamp(0.9rem, 2vw, 1.5rem) clamp(1rem, 2.6vw, 2.4rem) clamp(1rem, 2.2vw, 1.55rem);
    background:
        linear-gradient(180deg, rgba(6, 20, 31, 0) 0%, rgba(6, 20, 31, 0.18) 18%, rgba(6, 20, 31, 0.82) 100%);
}

.ville .city-hero-overlay .geo-kicker {
    color: #8fe2ee;
    text-shadow: 0 2px 10px rgba(4, 16, 24, 0.42);
}

.ville .city-hero-overlay h1,
.ville .city-hero-overlay .city-subtitle,
.ville .city-hero-overlay .city-intro,
.ville .city-hero-overlay .signature-text,
.ville .city-hero-overlay .city-meta-item {
    text-shadow:
        0 2px 10px rgba(4, 16, 24, 0.42),
        0 8px 24px rgba(4, 16, 24, 0.24);
}

.ville .prev,
.ville .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 58px;
    height: 58px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.12)),
        rgba(7, 20, 32, 0.32);
    color: #ffffff;
    box-shadow:
        0 18px 34px rgba(4, 16, 24, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    cursor: pointer;
    z-index: 2;
    font-size: 2rem;
    line-height: 1;
    font-weight: 300;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.ville .prev {
    left: 1.2rem;
}

.ville .next {
    right: 1.2rem;
}

.ville .prev:hover,
.ville .next:hover {
    transform: translateY(-50%) scale(1.06);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.16)),
        rgba(7, 20, 32, 0.42);
    border-color: rgba(255, 255, 255, 0.34);
    box-shadow:
        0 22px 42px rgba(4, 16, 24, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.ville .prev:active,
.ville .next:active {
    transform: translateY(-50%) scale(0.98);
}

.ville .dots {
    position: absolute;
    left: 50%;
    bottom: 1.35rem;
    transform: translateX(-50%);
    display: inline-flex;
    gap: 0.5rem;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(10, 73, 87, 0.54);
    z-index: 2;
}

.ville .dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.46);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.ville .dot.active {
    background: #ffffff;
    transform: scale(1.15);
}

.ville .city-hero-visual,
.ville .city-hero-placeholder {
    display: grid;
    align-content: end;
}

.ville .city-hero-visual-copy,
.ville .city-hero-placeholder {
    padding: 1.4rem;
}

.ville .city-hero-visual-copy {
    position: absolute;
    inset: auto 0 0 0;
    background: linear-gradient(180deg, rgba(10, 73, 87, 0), rgba(10, 73, 87, 0.84));
    color: #fff;
}

.ville .city-hero-visual-kicker {
    margin: 0 0 0.45rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #b3eff7;
}

.ville .city-hero-visual-note {
    margin: 0;
    line-height: 1.6;
}

.ville .city-hero-placeholder {
    border-radius: 30px;
    overflow: hidden;
    padding: 1.7rem;
}

.ville .city-hero-placeholder h2,
.ville .city-map-empty h2 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.ville .geo-map-zone,
.ville .geo-wrapper {
    border-radius: 28px;
}

.ville .geo-map-zone {
    position: relative;
    overflow: hidden;
    padding: clamp(1rem, 2vw, 1.5rem);
    min-height: 460px;
}

.ville .geo-map-stage {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
}

.ville .geo-map-hint {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    margin: 0;
    padding: 0.62rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 107, 122, 0.12);
    box-shadow: 0 12px 26px rgba(15, 107, 122, 0.12);
    color: var(--geo-primary-dark);
    font-size: 0.82rem;
    font-weight: 700;
}

.ville .city-map-image {
    border-radius: 24px;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 18px 34px rgba(15, 107, 122, 0.16);
}

.ville .city-map-image--cover {
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.ville .city-map-empty {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    text-align: center;
    min-height: 320px;
    width: min(420px, 100%);
    padding: 2rem;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(15, 107, 122, 0.10);
}

.ville .geo-wrapper {
    padding: 1.6rem;
    display: grid;
    gap: 1rem;
    align-content: start;
}

.ville .geo-copy {
    display: grid;
    gap: 1rem;
}

.ville .geo-description-header {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
}

.ville .region-logo {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(44, 167, 186, 0.12), rgba(15, 107, 122, 0.06));
    border: 1px solid rgba(15, 107, 122, 0.08);
}

.ville .geo-panel-kicker,
.ville .geo-panel-label {
    margin: 0 0 0.4rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--geo-primary-dark);
}

.ville .geo-wrapper h2 {
    font-size: 1.55rem;
    line-height: 1.15;
}

.ville .city-panel-card,
.ville .geo-panel-meta {
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(44, 167, 186, 0.08), rgba(15, 107, 122, 0.04));
    border: 1px solid rgba(15, 107, 122, 0.10);
}

.ville .city-facts-list,
.ville .city-spotlight-facts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.8rem;
}

.ville .city-facts-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ville .city-facts-list li {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(15, 107, 122, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.ville .city-spotlight-facts li {
    display: grid;
    gap: 0.2rem;
}

.ville .city-fact-icon {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(15, 107, 122, 0.14), rgba(44, 167, 186, 0.06));
    color: var(--geo-primary);
    box-shadow: 0 10px 18px rgba(15, 107, 122, 0.10);
}

.ville .city-fact-icon svg {
    width: 22px;
    height: 22px;
}

.ville .city-fact-copy {
    display: grid;
    gap: 0.22rem;
    min-width: 0;
}

.ville .city-fact-label,
.ville .city-spotlight-fact-label {
    color: var(--geo-primary-dark);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ville .city-fact-value,
.ville .city-spotlight-fact-value {
    color: var(--geo-muted);
    line-height: 1.65;
}

.ville .city-location-trail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
}

.ville .city-location-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(15, 107, 122, 0.10);
    color: var(--geo-primary-dark);
    text-decoration: none;
    font-weight: 700;
    line-height: 1.2;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ville .city-location-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 107, 122, 0.22);
    box-shadow: 0 14px 26px rgba(15, 107, 122, 0.12);
}

.ville .city-location-pill-text {
    display: inline-block;
}

.ville .city-location-separator {
    color: rgba(15, 107, 122, 0.48);
    font-weight: 800;
}

.ville .city-location-flag {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 14px rgba(15, 107, 122, 0.12);
}

.ville .geo-panel-note {
    margin: 0;
}

.ville .access-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.92rem 1.2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--geo-primary), var(--geo-accent));
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 16px 28px rgba(15, 107, 122, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ville .access-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 34px rgba(15, 107, 122, 0.24);
}

.ville .section-heading {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1rem;
    max-width: 760px;
}

.ville .city-description-card {
    border-radius: 28px;
    padding: clamp(1.4rem, 2.3vw, 2rem);
}

.ville .rich-text,
.ville .city-description-card > p {
    color: var(--geo-muted);
    line-height: 1.82;
}

.ville .rich-text > :first-child {
    margin-top: 0;
}

.ville .rich-text > :last-child {
    margin-bottom: 0;
}

.ville .city-collection-list {
    display: grid;
    gap: 1.2rem;
}

.ville .city-spotlight-card {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
    gap: 1.2rem;
    border-radius: 28px;
    padding: 1rem;
}

.ville .city-spotlight-media {
    min-height: 360px;
}

.ville .city-spotlight-slider {
    position: relative;
    height: 100%;
    min-height: 360px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 107, 122, 0.08), rgba(44, 167, 186, 0.02));
}

.ville .city-spotlight-shot {
    margin: 0;
    height: 100%;
    min-height: 360px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 107, 122, 0.08), rgba(44, 167, 186, 0.02));
}

.ville .city-spotlight-image {
    min-height: 360px;
}

.ville .city-spotlight-slider .slides,
.ville .city-spotlight-slider .slide {
    height: 100%;
    min-height: 360px;
}

.ville .city-spotlight-slider .prev,
.ville .city-spotlight-slider .next {
    width: 48px;
    height: 48px;
    font-size: 1.55rem;
    top: auto;
    bottom: 1rem;
    transform: none;
}

.ville .city-spotlight-slider .prev {
    left: 1rem;
}

.ville .city-spotlight-slider .next {
    left: 4.6rem;
    right: auto;
}

.ville .city-spotlight-slider .prev:hover,
.ville .city-spotlight-slider .next:hover {
    transform: scale(1.04);
}

.ville .city-spotlight-slider .prev:active,
.ville .city-spotlight-slider .next:active {
    transform: scale(0.98);
}

.ville .city-spotlight-dots {
    left: auto;
    right: 1rem;
    bottom: 1rem;
    transform: none;
}

.ville .city-spotlight-empty {
    display: grid;
    place-items: center;
    min-height: 360px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(15, 107, 122, 0.08), rgba(44, 167, 186, 0.02));
    color: var(--geo-muted);
    font-weight: 600;
}

.ville .city-spotlight-content {
    display: grid;
    gap: 1rem;
    align-content: start;
    padding: 0.35rem 0.2rem 0.35rem 0;
}

.ville .city-spotlight-content h3 {
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    line-height: 1.15;
}

.ville .city-spotlight-description {
    margin: 0;
    color: var(--geo-muted);
    line-height: 1.74;
}

.ville .city-spotlight-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.ville .city-spotlight-facts li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 0.8rem;
    align-items: start;
    padding: 0.9rem 0.95rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(44, 167, 186, 0.08), rgba(15, 107, 122, 0.04));
    border: 1px solid rgba(15, 107, 122, 0.10);
}

.ville .city-spotlight-fact-icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--geo-primary);
    box-shadow: 0 10px 18px rgba(15, 107, 122, 0.10);
}

.ville .city-spotlight-fact-icon svg {
    width: 20px;
    height: 20px;
}

.ville .city-spotlight-fact-copy {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.ville .city-spotlight-content .access-button {
    width: 100%;
    margin-top: 0.25rem;
}

@media (max-width: 1100px) {
    .ville .city-spotlight-card {
        grid-template-columns: 1fr;
    }

    .ville .city-hero-media {
        min-height: 420px;
    }

    .ville .city-spotlight-media,
    .ville .city-spotlight-slider,
    .ville .city-spotlight-slider .slides,
    .ville .city-spotlight-slider .slide,
    .ville .city-spotlight-shot,
    .ville .city-spotlight-image,
    .ville .city-spotlight-empty {
        min-height: 320px;
    }
}

@media (max-width: 760px) {
    .ville {
        --city-hero-height: clamp(440px, calc(100svh - 150px), 580px);
    }

    body.ville main {
        padding: 0 0 3rem;
    }

    .ville .city-description-card,
    .ville .city-spotlight-card,
    .ville .geo-wrapper {
        border-radius: 24px;
    }

    .ville .slides {
        min-height: var(--city-hero-height);
    }

    .ville .prev,
    .ville .next {
        width: 50px;
        height: 50px;
        font-size: 1.7rem;
    }

    .ville .prev {
        left: 1rem;
    }

    .ville .next {
        right: 1rem;
    }

    .ville .content-wrapper {
        width: 100%;
    }

    .ville .city-hero {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .ville .city-hero-media {
        border-radius: 0;
    }

    .ville .city-hero-overlay {
        padding: 0.95rem 0.95rem 1.15rem;
    }

    .ville h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .ville .city-subtitle {
        margin-bottom: 0.45rem;
        font-size: 0.84rem;
    }

    .ville .city-intro {
        -webkit-line-clamp: 3;
    }

    .ville .city-meta-item {
        font-size: 0.78rem;
    }

    .ville .signature-text {
        font-size: 0.82rem;
    }

    .ville .geo-description-header {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .ville .region-logo {
        width: 72px;
        height: 72px;
        border-radius: 20px;
    }

    .ville .city-location-trail {
        gap: 0.45rem;
    }

    .ville .city-location-pill {
        padding: 0.62rem 0.82rem;
        font-size: 0.92rem;
    }

    .ville .city-facts-list {
        grid-template-columns: 1fr;
    }

    .ville .city-spotlight-facts {
        grid-template-columns: 1fr;
    }

    .ville .city-spotlight-slider .prev,
    .ville .city-spotlight-slider .next {
        width: 42px;
        height: 42px;
        bottom: 0.8rem;
        font-size: 1.35rem;
    }

    .ville .city-spotlight-slider .prev {
        left: 0.8rem;
    }

    .ville .city-spotlight-slider .next {
        left: 3.95rem;
    }

    .ville .city-spotlight-dots {
        right: 0.8rem;
        bottom: 0.8rem;
        padding: 0.48rem 0.7rem;
    }

    .ville .city-spotlight-shot,
    .ville .city-spotlight-image,
    .ville .city-spotlight-empty,
    .ville .city-spotlight-slider,
    .ville .city-spotlight-slider .slides,
    .ville .city-spotlight-slider .slide {
        min-height: 240px;
    }
}
