/* =============================================
   ASKIM - Memleket (provinces, pays, villes)
   ============================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #fff;
}

.mk-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.mk-intro {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.mk-intro h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #111;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.mk-intro h2 span {
    background: linear-gradient(45deg, #e74c3c, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mk-intro p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.75;
}

.mk-section {
    padding: 90px 0;
    background: #fff;
    scroll-margin-top: 70px;
}

.mk-section-alt {
    background: #f8f7f5;
}

/* ============================================
   HERO
   ============================================ */
.mk-hero {
    position: relative;
    overflow: hidden;
    background: #000;
    padding: 150px 5% 90px;
    color: #fff;
}

/* Même photo de fond que l'accueil */
.mk-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://image.noelshack.com/fichiers/2026/37/4/1789030416-hf-20260910-083424-dd8ace74-4842-4810-8adf-86e4c0f59a55.jpg') center 30%/cover;
    filter: brightness(0.55);
}

/* Voile plus sombre à gauche pour la lisibilité, touche rouge à droite */
.mk-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.15) 100%),
        radial-gradient(circle at 85% 50%, rgba(231,76,60,0.35) 0%, rgba(231,76,60,0) 45%);
}

.mk-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 4rem;
}

.mk-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 1.2rem;
}

.mk-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.mk-breadcrumb a:hover {
    text-decoration: underline;
}

.mk-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    margin-bottom: 0.8rem;
}

.mk-hero h1 {
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 1.3rem;
}

.mk-hero h1 span {
    background: linear-gradient(45deg, #e74c3c, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mk-eyebrow-dark {
    color: #e74c3c;
}

.mk-lead {
    font-size: 1.15rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.92);
    max-width: 580px;
    margin-bottom: 2rem;
}

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

.mk-btn-light,
.mk-btn-outline,
.mk-btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.mk-btn-light {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    box-shadow: 0 10px 25px rgba(231,76,60,0.4);
}

.mk-btn-light:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(231,76,60,0.55);
}

.mk-btn-outline {
    border: 2px solid rgba(255,255,255,0.85);
    color: #fff;
}

.mk-btn-outline:hover {
    background: #fff;
    color: #c0392b;
    text-decoration: none;
}

.mk-btn-dark {
    background: #111;
    color: #fff;
}

.mk-btn-dark:hover {
    background: #e74c3c;
    color: #fff;
    text-decoration: none;
}

/* Plaques d'immatriculation */
.mk-plate {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: #fff;
    border-radius: 14px;
    padding: 0 1.2rem 0 0;
    height: 74px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    color: #111;
}

.mk-plate-tr {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    padding: 0 0.6rem;
    background: #1f1f5c;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.mk-plate-num {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.mk-plate-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: #c0392b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mk-hero-plates {
    position: relative;
    height: 320px;
}

.mk-hero-plates .mk-plate {
    position: absolute;
    width: 320px;
}

.mk-plate-back {
    top: 10px;
    right: 40px;
    transform: rotate(-8deg);
    opacity: 0.75;
}

.mk-plate-mid {
    top: 110px;
    right: 0;
    transform: rotate(5deg);
    opacity: 0.9;
}

.mk-plate-front {
    top: 210px;
    right: 70px;
    transform: rotate(-3deg);
}

/* Carte du lieu */
.mk-place-card {
    background: #fbf3ea;
    color: #111;
    border-radius: 26px;
    padding: 1.6rem;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    transform: rotate(-2deg);
}

.mk-place-card-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #8a7a6a;
    margin-bottom: 0.8rem;
}

.mk-plate-static {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.mk-place-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.2rem;
    font-size: 0.95rem;
    color: #555;
}

.mk-place-card-foot strong {
    color: #111;
}

.mk-place-card-btn {
    background: #fff;
    border-radius: 50px;
    padding: 0.55rem 1.1rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: #111;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.mk-place-card-btn:hover {
    color: #e74c3c;
    text-decoration: none;
}

/* ============================================
   RÉGIONS ET PASTILLES
   ============================================ */
.mk-region {
    padding: 2rem 0;
    border-top: 1px solid #f0f0f0;
    scroll-margin-top: 80px;
}

.mk-region:first-of-type {
    border-top: none;
}

.mk-region-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mk-region-head h3 {
    color: #111;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.mk-region-head h3 small {
    color: #aaa;
    font-size: 1rem;
    font-weight: 600;
    margin-left: 0.4rem;
}

.mk-region-count {
    color: #999;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.mk-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mk-pills-center {
    justify-content: center;
}

.mk-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 50px;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    color: #222;
    font-weight: 600;
    font-size: 0.97rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: all 0.2s ease;
}

.mk-pill:hover {
    border-color: #e74c3c;
    color: #e74c3c;
    text-decoration: none;
    transform: translateY(-2px);
}

.mk-pill-plate {
    min-width: 32px;
    height: 26px;
    padding: 0 0.4rem;
    border-radius: 50px;
    background: #fdecea;
    color: #c0392b;
    font-size: 0.78rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Cartes pays / villes */
.mk-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 14px;
}

.mk-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 1rem 1.1rem;
    color: #111;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mk-card:hover {
    border-color: rgba(231,76,60,0.4);
    box-shadow: 0 10px 25px rgba(231,76,60,0.08);
    color: #111;
    text-decoration: none;
}

.mk-card-code {
    flex-shrink: 0;
    min-width: 48px;
    height: 48px;
    padding: 0 0.4rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mk-card-body strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
}

.mk-card-body small {
    color: #888;
    font-size: 0.88rem;
}

/* ============================================
   PAGE D'UN LIEU
   ============================================ */
.mk-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 980px;
    margin: 0 auto;
}

.mk-fact {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 1.4rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.mk-fact-span2 {
    grid-column: span 2;
}

/* Paragraphe complémentaire */
.mk-about {
    max-width: 820px;
    margin: 2.4rem auto 0;
    padding: 1.6rem 1.8rem;
    background: #fdf2f1;
    border-left: 4px solid #e74c3c;
    border-radius: 0 20px 20px 0;
}

.mk-about p {
    color: #444;
    font-size: 1.08rem;
    line-height: 1.85;
}

/* Diaspora */
.mk-diaspora-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.mk-diaspora-text h2 {
    font-size: 2.6rem;
    font-weight: 800;
    color: #111;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 1.3rem;
}

.mk-diaspora-text h2 span {
    background: linear-gradient(45deg, #e74c3c, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mk-diaspora-text p {
    color: #555;
    font-size: 1.07rem;
    line-height: 1.85;
    margin-bottom: 1rem;
}

.mk-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.mk-stat {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 1.2rem 1.3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.mk-stat strong {
    display: block;
    color: #e74c3c;
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.mk-stat span {
    color: #444;
    font-weight: 600;
    font-size: 0.95rem;
}

.mk-stats-note {
    grid-column: 1 / -1;
    color: #999;
    font-size: 0.82rem;
    line-height: 1.5;
    margin-top: 0.4rem;
}

.mk-fact small {
    display: block;
    color: #999;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.mk-fact strong {
    display: block;
    color: #111;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.4;
}

.mk-fact em {
    color: #888;
    font-style: normal;
    font-size: 0.9rem;
}

.mk-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.mk-step {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 22px;
    padding: 1.6rem;
}

.mk-step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.mk-step h3 {
    color: #222;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.mk-step p {
    color: #666;
    font-size: 0.97rem;
    line-height: 1.65;
}

.mk-all {
    text-align: center;
    margin-top: 2rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
    .mk-hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .mk-hero-plates {
        display: none;
    }

    .mk-place-card {
        max-width: 460px;
        transform: none;
    }

    .mk-facts,
    .mk-steps,
    .mk-diaspora-grid {
        grid-template-columns: 1fr;
    }

    .mk-fact-span2 {
        grid-column: auto;
    }

    .mk-diaspora-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .mk-hero {
        padding: 120px 5% 60px;
    }

    .mk-hero h1 {
        font-size: 2.3rem;
        letter-spacing: -1px;
    }

    .mk-lead {
        font-size: 1rem;
    }

    .mk-hero-actions {
        flex-direction: column;
    }

    .mk-btn-light,
    .mk-btn-outline {
        width: 100%;
    }

    .mk-section {
        padding: 64px 0;
    }

    .mk-intro {
        margin-bottom: 30px;
    }

    .mk-intro h2,
    .mk-diaspora-text h2 {
        font-size: 1.9rem;
    }

    .mk-about {
        padding: 1.2rem 1.2rem;
    }

    .mk-about p,
    .mk-diaspora-text p {
        font-size: 1rem;
    }

    .mk-intro p {
        font-size: 1rem;
    }

    .mk-region-head {
        flex-direction: column;
        gap: 0.2rem;
    }

    .mk-region-head h3 {
        font-size: 1.35rem;
    }

    .mk-pill {
        font-size: 0.9rem;
    }

    .mk-plate {
        height: 64px;
    }

    .mk-plate-num {
        font-size: 1.7rem;
    }

    .mk-plate-name {
        font-size: 1.35rem;
    }
}
