.pays {
    --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-shadow-strong: 0 28px 66px rgba(16, 24, 40, 0.14);
    --geo-primary: #0f6b7a;
    --geo-primary-dark: #0a4957;
    --geo-text: #17324d;
    --geo-muted: #61738a;
}

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

body.pays main {
    padding: 2rem 1.5rem 4rem;
}

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

.pays .country-hero {
    position: relative;
    z-index: 2;
    margin: 0 0 2.6rem;
    max-width: 1080px;
}

.pays .country-hero-header {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 1.2rem;
    align-items: center;
    margin-bottom: 1.2rem;
}

.pays .country-flag {
    width: 112px;
    height: 112px;
    border-radius: 28px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(15, 107, 122, 0.10);
    box-shadow: 0 18px 34px rgba(15, 107, 122, 0.12);
}

.pays .country-hero-copy {
    min-width: 0;
}

.pays .geo-kicker {
    margin: 0 0 0.55rem;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #2ca7ba;
}

.pays h1 {
    margin: 0 0 0.45rem;
    font-size: clamp(2.1rem, 4vw, 3.6rem);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--geo-primary-dark);
}

.pays .country-subtitle {
    margin: 0;
    color: var(--geo-primary);
    font-weight: 700;
    font-size: 1rem;
}

.pays .country-intro {
    margin: 0;
    max-width: 92ch;
    color: var(--geo-muted);
    font-size: clamp(1rem, 1.45vw, 1.08rem);
    line-height: 1.78;
}

.pays .country-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.15rem;
}

.pays .country-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 107, 122, 0.12);
    box-shadow: 0 12px 26px rgba(15, 107, 122, 0.10);
    color: var(--geo-primary-dark);
    font-size: 0.92rem;
    font-weight: 700;
}

.pays .country-explorer,
.pays .country-directory,
.pays .international-wrapper {
    margin-top: 2rem;
}

.pays .geo-world-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1.38fr) minmax(320px, 0.78fr);
    gap: 1.5rem;
    align-items: stretch;
}

.pays .geo-map-zone,
.pays .geo-wrapper,
.pays .geo-classic-wrapper,
.pays .international-card,
.pays .country-empty {
    background: var(--geo-surface);
    border: 1px solid var(--geo-border);
    box-shadow: var(--geo-shadow);
    backdrop-filter: blur(10px);
}

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

.pays .geo-map-zone::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 15%, rgba(73, 190, 229, 0.16), transparent 34%),
        radial-gradient(circle at 85% 10%, rgba(233, 185, 73, 0.16), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(239, 248, 255, 0.72));
    pointer-events: none;
}

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

.pays #map-image {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    z-index: 1;
}

.pays .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;
}

.pays .geo-wrapper {
    border-radius: 28px;
    padding: 1.6rem;
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 1rem;
    min-height: 460px;
    align-content: start;
}

.pays .geo-copy {
    display: grid;
    gap: 0.9rem;
}

.pays .geo-description-header {
    display: block;
}

.pays .geo-description-copy {
    min-width: 0;
}

.pays .geo-panel-kicker {
    margin: 0 0 0.55rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #2ca7ba;
}

.pays .geo-wrapper h2 {
    margin: 0;
    font-size: 1.55rem;
    line-height: 1.15;
    color: var(--geo-primary-dark);
}

.pays .geo-wrapper p {
    margin: 0;
    color: var(--geo-muted);
    line-height: 1.65;
    font-size: 0.98rem;
}

.pays .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);
}

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

.pays .geo-panel-note {
    margin: 0;
    color: var(--geo-muted);
    line-height: 1.65;
}

.pays .access-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: start;
    width: fit-content;
    min-width: 150px;
    padding: 0.9rem 1.25rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--geo-primary), #2ca7ba);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 16px 30px rgba(15, 107, 122, 0.24);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.pays .access-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.02);
    box-shadow: 0 20px 36px rgba(15, 107, 122, 0.28);
}

.pays .map-area.active {
    outline: 2px solid rgba(44, 167, 186, 0.95);
}

.pays .hidden {
    display: none;
}

.pays .geo-classic-wrapper {
    border-radius: 28px;
    padding: 1.3rem;
}

.pays .geo-center {
    margin: 0;
}

.pays .country-entity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.2rem;
}

.pays .geo-continent {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(15, 107, 122, 0.10);
    box-shadow: 0 18px 32px rgba(16, 24, 40, 0.08);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pays .geo-continent:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 107, 122, 0.24);
    box-shadow: var(--geo-shadow-strong);
}

.pays .geo-continent .imagejpg {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.pays .geo-continent-copy {
    display: grid;
    gap: 0.55rem;
    padding: 1rem 1.1rem 1.25rem;
}

.pays .geo-continent-kicker {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #2ca7ba;
}

.pays .geo-continent h2 {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.35;
    color: var(--geo-text);
}

.pays .international-wrapper > .international-section-title {
    display: none;
}

.pays .international-section-header {
    margin: 0 0 1.5rem;
    max-width: 780px;
}

.pays .international-section-kicker {
    margin: 0 0 0.45rem;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #2ca7ba;
}

.pays .international-section-title-enhanced {
    margin: 0 0 0.6rem;
    font-size: clamp(1.6rem, 2.5vw, 2.3rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--geo-primary-dark);
}

.pays .international-section-copy {
    margin: 0;
    max-width: 62ch;
    color: var(--geo-muted);
    font-size: 1rem;
    line-height: 1.72;
}

.pays .international-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
}

.pays .international-card {
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pays .international-card:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 107, 122, 0.25);
    box-shadow: var(--geo-shadow-strong);
}

.pays .international-card-image {
    display: block;
    min-height: 210px;
    overflow: hidden;
}

.pays .international-card-image img {
    width: 100%;
    display: block;
    height: 210px;
    object-fit: cover;
}

.pays .international-card-content {
    padding: 1.1rem 1.2rem 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    height: 100%;
}

.pays .international-card-title {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.35;
    color: var(--geo-text);
}

.pays .international-card-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.78rem 1rem;
    border-radius: 16px;
    background: rgba(15, 107, 122, 0.08);
    color: var(--geo-primary-dark);
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.pays .international-card-link:hover {
    background: var(--geo-primary);
    color: #fff;
}

.pays .country-empty {
    border-radius: 22px;
    padding: 1.1rem 1.2rem;
    color: var(--geo-muted);
}

@media (max-width: 1040px) {
    .pays .geo-world-wrapper {
        grid-template-columns: 1fr;
    }

    .pays .geo-map-zone,
    .pays .geo-wrapper {
        min-height: auto;
    }
}

@media (max-width: 720px) {
    body.pays main {
        padding-inline: 1rem;
    }

    .pays .country-hero-header {
        grid-template-columns: 1fr;
    }

    .pays .country-flag {
        width: 88px;
        height: 88px;
    }

    .pays .geo-map-zone,
    .pays .geo-wrapper,
    .pays .geo-classic-wrapper {
        border-radius: 22px;
        padding: 1.1rem;
    }

    .pays .country-entity-grid,
    .pays .international-grid {
        grid-template-columns: 1fr;
    }

    .pays .international-card-image {
        min-height: 170px;
    }

    .pays .international-card-image img,
    .pays .geo-continent .imagejpg {
        height: 170px;
    }
}
