﻿:root {
    /* === PALETTE MARKETPLACE (fourni) === */
    --violet-900: #400066;
    --violet-800: #520E84;
    --violet-700: #6E1CAA;
    --yellow: #FFD600;
    --fuchsia: #FF24AB;
    --white: #FFFFFF;
    --white-80: rgba(255, 255, 255, .80);
    --black: #121212;
    --surface: #5C1696;
    --primary: #7c1fff;
    --secondary: #ff2d95;
    --success: #12d66b;
    --warning: #ffd400;
    --danger: #ff0033;
    --info: #22b4ff;

    /* === ALIAS UI (basés sur la palette) === */
    --bg: var(--black);
    --txt: var(--white);
    --muted: var(--white-80);

    --card: rgba(255, 255, 255, .08);
    --card2: rgba(255, 255, 255, .06);
    --stroke: rgba(255, 255, 255, .16);

    --shadow: 0 18px 60px rgba(0, 0, 0, .45);
    --r: 22px;
    --max: 1160px;

    /* Accents */
    --primary: var(--violet-700);
    --primary2: var(--surface);
    --accent: var(--fuchsia);
    --highlight: var(--yellow);
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    color: var(--txt);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
    background-color: #2A1838;

    background-image:
        /* halo fuchsia doux */
        radial-gradient(900px 600px at 85% 15%,
            rgba(255, 36, 171, 0.18),
            transparent 65%),

        /* halo violet */
        radial-gradient(1000px 700px at 15% 85%,
            rgba(110, 28, 170, 0.22),
            transparent 70%),

        /* halo jaune très discret (festif, pas décoratif) */
        radial-gradient(600px 400px at 50% 0%,
            rgba(255, 214, 0, 0.10),
            transparent 60%);

    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow-x: hidden;
    background-attachment: fixed;
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(18, 18, 18, .65);
    border-bottom: 1px solid rgba(255, 255, 255, .10);
}

main.container {
    padding-top: 110px
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 18px;
}

/* Grain */
.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.20'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
    opacity: .20;
}

.topbar {
    position: fixed;
    /* ✅ never disappears */
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    backdrop-filter: blur(10px);
    background: rgb(64, 0, 102);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: 5px 0;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0;
}

.logo {
    width: 100px;
    height: 60px;
    background: url("/img/logo-pass-carnaval.png") center / cover no-repeat;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0 0;
}

.brand-sub {
    display: block;
    font-size: 12px;
    color: var(--white-80);
    margin-top: 2px
}

.menu {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.menu a {
    font-size: 13px;
    color: var(--muted);
    padding: 13px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
}

.menu a:hover {
    color: var(--txt);
    border-color: rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .06);
}

/* Mobile menu */
.hamb {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .06);
    cursor: pointer;
    color: rgba(255, 255, 255, .9);
}

.drawer {
    display: none;
    padding: 10px 0 16px;
    border-top: 1px solid rgba(255, 255, 255, .10);
}

.drawer.open {
    display: block;
}

.drawer a {
    display: block;
    padding: 10px 10px;
    border-radius: 14px;
    color: rgba(255, 255, 255, .88);
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .04);
    margin-top: 8px;
}

section {
    padding: 100px 0 0;
    position: relative;
}

section:first-of-type {
    border-top: none;
}

/* Cards / pills */
.card {
    background:
        linear-gradient(180deg,
            rgba(82, 14, 132, 0.92),
            rgba(42, 0, 59, 0.94));

    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.35);
    border-radius: var(--r);
    box-shadow: var(--shadow);
}

.card.soft {
    box-shadow: none;
    background: rgba(255, 255, 255, .05);
}

.pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.pill {
    font-size: 12px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .05);
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pill b {
    color: var(--txt);
    font-weight: 900;
}

.pill .dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--violet-700);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .06);
    flex: 0 0 auto;
}

/* Buttons */
.btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .16);
    font-weight: 950;
    font-size: 14px;
    letter-spacing: .2px;
    cursor: pointer;
    user-select: none;
    transition: transform .08s ease, background .2s ease, border-color .2s ease;
    background: rgba(255, 255, 255, .06);
    white-space: nowrap;
    color: rgba(255, 255, 255, .92);
}

.btn:hover {
    border-color: rgba(255, 255, 255, .28);
    transform: translateY(-1px);
}

.btn.primary {
    border-color: transparent;
    background: var(--fuchsia);
    box-shadow: 0 16px 50px rgba(110, 28, 170, .20);
}

.btn.primary:hover {
    transform: translateY(-2px);
}

.btn.ghost {
    background: rgba(255, 255, 255, .03);
}

.btn .ic {
    width: 22px;
    height: 22px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 13px;
    flex: 0 0 auto;
}

.btn.primary .ic {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .18);
}

/* Hero */
.hero {
    padding: 12px 0 24px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 18px;
    align-items: stretch;
}

h1 {
    margin: 0;
    font-size: clamp(25px, 6vw, 50px);
    line-height: 1.02;
    letter-spacing: -1px;
    word-break: break-word;
}

.grad {
    /* background: linear-gradient(90deg, var(--warning), var(--secondary), var(--primary), var(--info), var(--success)); */
    background: linear-gradient(90deg,
            #8B5CF6 0%,
            /* violet */
            #C026D3 45%,
            /* fuchsia */
            #FFD600 85%
            /* jaune en accent final */
        );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
    max-width: 58ch;
}

.hero-right {
    padding: 12px 0px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    position: relative;
}

.badge-row {
    padding: 0 12px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.badge {
    font-size: 12px;
    color: rgba(255, 255, 255, .88);
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .06);
    border-radius: 999px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    justify-content: center;
    margin: 0px 4px;
}

.badge .spark {
    width: 10px;
    height: 10px;
    border-radius: 99px;
    background: conic-gradient(from 180deg, var(--yellow), var(--fuchsia), var(--violet-700), var(--surface), var(--yellow));
    box-shadow: 0 0 0 5px rgba(255, 255, 255, .06);
    flex: 0 0 auto;
}

.pass-mock {
    margin-top: auto;
    border-radius: var(--r);
    border: 1px solid rgba(255, 255, 255, .14);
    background: radial-gradient(700px 260px at 20% 30%, rgba(255, 214, 0, .14), transparent 55%),
        radial-gradient(700px 260px at 80% 40%, rgba(255, 36, 171, .14), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .05));
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.pass-mock:before {
    content: "";
    position: absolute;
    inset: -30%;
    background:
        radial-gradient(circle at 40% 50%, rgba(255, 255, 255, .10), transparent 45%),
        conic-gradient(from 10deg, rgba(110, 28, 170, .22), rgba(255, 36, 171, .18), rgba(255, 214, 0, .14), rgba(92, 22, 150, .16), rgba(110, 28, 170, .22));
    filter: blur(28px);
    opacity: .65;
    transform: rotate(12deg);
}

.pass-mock>* {
    position: relative;
    z-index: 1;
}

.pass-top {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.pass-holder {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pass-title {
    font-weight: 950;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pass-mini {
    color: var(--muted);
    font-size: 12px;
}

.pass-balance {
    margin-top: 12px;
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -.8px;
}

.pass-actions {
    margin: 12px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.mini-btn {
    font-size: 12px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(0, 0, 0, .14);
    color: rgba(255, 255, 255, .90);
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.mini-btn:hover {
    border-color: rgba(255, 255, 255, .28);
}

/* Section head + filters */
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.section-head h2 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -.3px;
}

.section-head .sub {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    margin-top: 10px;
}

.search {
    flex: 1;
    min-width: 140px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(0, 0, 0, .20);
    padding: 14px;
    color: rgba(255, 255, 255, .92);
    outline: none;
}

.search::placeholder {
    color: rgba(255, 255, 255, .55);
}

.chip {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .06);
    padding: 12px 14px;
    font-size: 12px;
    color: var(--muted);
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.chip input {
    accent-color: var(--yellow);
}

.chip.active {
    color: rgba(255, 255, 255, .92);
    border-color: rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .10);
}

/* Cards grid */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.partner-card {
    padding: 14px;
    border-radius: var(--r);
    background:
        linear-gradient(180deg,
            rgba(82, 14, 132, 0.92),
            rgba(42, 0, 59, 0.94));

    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.35);
    transition: transform .12s ease, border-color .2s ease;
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.partner-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 214, 0, 0.65);

    box-shadow:
        0 0 0 1px rgba(255, 214, 0, 0.35),
        0 18px 36px rgba(0, 0, 0, 0.45),
        0 0 28px rgba(255, 214, 0, 0.25);
}

.partner-card .top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.partner-card .name {
    font-weight: 950;
    letter-spacing: .2px;
}

.partner-card .meta {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.tag {
    font-size: 11px;
    padding: 6px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(0, 0, 0, .18);
    color: rgba(255, 255, 255, .82);
    white-space: nowrap;
}

.partner-card .cta-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.tiny {
    font-size: 12px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .05);
    color: rgba(255, 255, 255, .90);
    cursor: pointer;
    white-space: nowrap;
}

.tiny:hover {
    border-color: rgba(255, 255, 255, .28);
}

/* Steps */
.grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.step {
    padding: 16px;
    border-radius: var(--r);
    background:
        linear-gradient(180deg,
            rgba(82, 14, 132, 0.92),
            rgba(42, 0, 59, 0.94));

    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.35);
}

.step .n {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 14px;
    font-weight: 950;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .08);
}

.step h3 {
    margin: 6px 0 6px;
    font-size: 16px;
}

.step p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
    font-size: 14px;
}

/* Map layout */
.map-wrap {
    display: grid;
    gap: 14px;
    align-items: stretch;
    margin-top: 14px;
}

#map {
    height: 560px;
    border-radius: var(--r);
    border: 1px solid rgba(255, 255, 255, .14);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-width: 0;
}

.side {
    height: 560px;
    border-radius: var(--r);
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.side-head {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    background: rgba(18, 18, 18, .20);
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.side-list {
    padding: 10px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.list-item {
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .06);
    cursor: pointer;
}

.list-item:hover {
    border-color: rgba(255, 255, 255, .28);
}

.list-item.active {
    outline: 2px solid rgba(255, 36, 171, .35);
}

.list-item .row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
}

.list-item .title {
    font-weight: 950;
    overflow-wrap: anywhere;
}

.list-item .mini {
    color: var(--muted);
    font-size: 12px;
    margin-top: 4px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.list-item .pill2 {
    font-size: 11px;
    padding: 6px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(0, 0, 0, .18);
    color: rgba(255, 255, 255, .82);
    white-space: nowrap;
    flex: 0 0 auto;
}

/* Sponsors */

.sponsor {
    padding: 16px;
    border-radius: var(--r);
    background-color: #1E1329;
    /* violet nuit profond */

    background-image:
        /* lumière centrale douce */
        radial-gradient(900px 600px at 50% 35%,
            rgba(110, 28, 170, 0.25),
            transparent 65%),

        /* accent fuchsia discret */
        radial-gradient(600px 420px at 85% 15%,
            rgba(255, 36, 171, 0.15),
            transparent 70%);
    position: relative;
    overflow: hidden;
}

.sponsor:before {
    content: "";
    position: absolute;
    inset: -40%;
    background: conic-gradient(from 180deg, rgba(255, 214, 0, .12), rgba(255, 36, 171, .12), rgba(110, 28, 170, .12), rgba(92, 22, 150, .10), rgba(255, 214, 0, .12));
    filter: blur(28px);
    opacity: .6;
    transform: rotate(18deg);
}

.sponsor>* {
    position: relative;
    z-index: 1;
}

.tier {
    font-size: 12px;
    color: var(--muted);
}

.sponsor .name {
    font-size: 18px;
    font-weight: 950;
    margin-top: 6px;
}

.sponsor .note {
    color: var(--muted);
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.45;
}

/* Footer */
footer {
    padding: 44px 0;
    color: var(--muted);
}

.footgrid {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr;
    gap: 14px;
}

.footgrid h4 {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, .92);
}

.footgrid a {
    color: var(--muted);
    display: block;
    padding: 6px 0;
}

.footgrid a:hover {
    color: rgba(255, 255, 255, .92);
}

/* Mapbox popup tone */
.mapboxgl-popup-content {
    color: rgba(255, 255, 255, .92);
    background: rgba(18, 18, 18, .92) !important;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.mapboxgl-popup-tip {
    border-top-color: rgba(18, 18, 18, .92) !important;
}

/* wrapper */
.pass-carousel {
    position: relative;
    max-width: 100%;
    margin: 4px 0px 0;
}

/* track scrollable */
.pass-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 10px 10px;
    /* espace pour les flèches */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.pass-track-solo {
    padding: 2px 16px;
}

.pass-track-multi {
    padding: 2px 40px;
}

.pass-track::-webkit-scrollbar {
    display: none;
}

/* each slide */
.pass-slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
}

/* active feel (JS ajoute .is-active sur slide) */
.pass-slide {
    opacity: .72;
    transition: transform .22s ease, opacity .22s ease;
}

.pass-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

/* nav buttons */
.pass-nav {
    position: absolute;
    top: 32%;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(0, 0, 0, .20);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 2;
    backdrop-filter: blur(8px);
}

.pass-nav.prev {
    left: 6px;
}

.pass-nav.next {
    right: 6px;
}

.pass-nav:active {
    transform: translateY(-20%) scale(.96);
}

/* dots */
.pass-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.pass-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .28);
}

.pass-dot.is-active {
    background: rgba(255, 255, 255, .9);
}

.change-product-restriction-link {
    display: flex;
    justify-content: center;
    color: #f292bf;
    background-color: transparent;
    white-space: nowrap;
}

.pass-balance-line {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.action-inner-right-card-div {
    display: flex;
}

.action-inner-right-card {
    height: 2rem;
    width: 2rem;
    margin: 18px 4px 0 20px;
    font-size: 30px;
}

/* container */
.modal-container {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.modal-container.is-open {
    display: block;
}

/* backdrop */
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
}

/* card */
.modal-card {
    position: relative;
    width: min(92vw, 520px);
    margin: 18vh auto;
    padding: 22px 22px 18px;
    border-radius: 18px;
    background: var(--violet-900);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
    color: var(--white);
}

/* close */
.modal-close-button {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--white);
    cursor: pointer;
}

/* text */
.modal-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 800;
}

.modal-description {
    margin: 0 0 18px;
    opacity: .9;
}

.modal-accent {
    color: var(--fuchsia);
}

/* actions */
.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.modal-button {
    border: none;
    border-radius: 14px;
    padding: 10px 16px;
    font-weight: 700;
    cursor: pointer;
}

.modal-button-cancel {
    background: rgba(255, 255, 255, .15);
    color: var(--white);
}

.modal-button-confirm {
    background: var(--fuchsia);
    color: var(--white);
}

/* Zone icône */
.icon-stack {
    position: relative;
    border-radius: 12px;

    display: grid;
    place-items: center;
}

/* Icône principale */
.icon-base {
    font-size: 30px;
    line-height: 1;
}

/* Icône interdit superposée */
.icon-forbidden {
    position: absolute;

    font-size: 20px;
    line-height: 1;
}

/* Texte */
.icon-button__text {
    white-space: nowrap;
    letter-spacing: .2px;
}


/* Responsive: down to 300px */
@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .grid3 {
        grid-template-columns: 1fr;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .map-wrap {
        grid-template-columns: 1fr;
    }

    #map,
    .side {
        height: 440px;
    }

    .footgrid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .menu {
        display: none;
    }

    .hamb {
        display: inline-flex;
    }

    .container {
        padding: 0 18px;
    }

    section {
        padding: 100px 0 0;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .filters {
        gap: 10px;
    }

    .pass-track-multi {
        padding: 2px 30px 10px;
    }

    .filters .search {
        flex: 0 0 100%;
        width: 100%;
    }

    /* 2️⃣ Zone des chips centrée */
    .filters .chip {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Centre les 2 checkboxes ensemble */
    .filters #chipOpen,
    .filters #chipTopup {
        margin: 0 auto;
    }

    /* Optionnel : bouton sur sa propre ligne */
    .filters #btnLocate {
        flex: 0 0 100%;
        justify-content: center;
    }

    main.container {
        padding-top: 90px;
    }

    .hero {
        padding: 0;
        position: relative;
    }

    .hero-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-right {
        grid-row: 1;
    }

    .hero-grid> :not(.hero-right) {
        grid-row: 2;
    }

    .mini-btn {
        width: 100%;
    }

    .pass-actions {
        grid-template-columns: none;
    }

    .badge-row {
        padding: 0 16px 0;
        grid-template-columns: none;
    }

    .badge {
        margin: 6px 0;
    }

    .pill {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .badge {
        width: 100%;
        justify-content: center;
    }

    .chip {
        width: 100%;
        justify-content: center;
    }

    .search {
        width: 100%;
        min-width: 0;
    }

    .pass-balance {
        font-size: 18px;
    }

    #map,
    .side {
        height: 380px;
    }

    .pass-slide {
        flex-basis: 92%;
    }

    .pass-track {
        display: grid;
    }

    .action-inner-right-card {
        margin: 8px 4px 0 20px;
    }
}

@media (max-width: 320px) {
    h1 {
        font-size: 25px;
    }

    .btn {
        font-size: 13px;
        padding: 10px 12px;
    }

    .tag {
        font-size: 10px;
    }
}

/* Container global */
#stripe-pay-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}

/* Carte centrale */
#stripe-pay-modal .modal-card {
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 95%;
    max-width: 520px;

    max-height: 90vh;
    /* ✅ limite hauteur */
    display: flex;
    flex-direction: column;

    border-radius: 18px;
    overflow: hidden;
    /* important */
}

/* Scroll uniquement dans le contenu */
#stripe-pay-modal .modal-scrollable {
    overflow-y: auto;
    padding: 20px;
    flex: 1;
    /* prend tout l’espace restant */
    -webkit-overflow-scrolling: touch;
    /* iOS smooth */
}

/* Footer fixe */
#stripe-pay-modal .modal-actions {
    padding: 16px;
    border-top: 1px solid rgba(0, 0, 0, .08);
}

/* Modal native simple & stylée */
.pc-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.pc-modal.is-open {
    display: block;
}

.pc-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(8px);
}

.pc-modal__panel {
    position: relative;
    width: min(520px, calc(100% - 28px));
    margin: 14vh auto 0;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(82, 14, 132, .95), rgba(64, 0, 102, .95));
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
    overflow: hidden;
}

.pc-modal__panel::before {
    content: "";
    position: absolute;
    inset: -1px;
    background:
        radial-gradient(600px 240px at 15% 0%, rgba(255, 36, 171, .22), transparent 60%),
        radial-gradient(600px 240px at 85% 100%, rgba(255, 214, 0, .14), transparent 65%);
    pointer-events: none;
}

.pc-modal__head {
    position: relative;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 16px 10px;
}

.pc-modal__icon {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
}

.pc-modal__title {
    font-weight: 900;
    font-size: 18px;
}

.pc-modal__subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, .82);
    margin-top: 2px;
}

.pc-modal__close {
    margin-left: auto;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    color: #fff;
    background: rgba(255, 255, 255, .10);
}

.pc-modal__body {
    position: relative;
    padding: 0 16px 14px;
    color: rgba(255, 255, 255, .88);
    line-height: 1.45;
}

.pc-modal__actions {
    position: relative;
    padding: 12px 16px 16px;
    display: flex;
    justify-content: flex-end;
}

.pc-btn {
    border: none;
    cursor: pointer;
    border-radius: 999px;
    padding: 12px 14px;
    font-weight: 900;
    background: rgba(255, 255, 255, .10);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .14);
}