/* CCITB golf tournament app — all styles extracted 1:1 from the original
   prototype (index.html inline styles were the visual spec).
   Plain CSS, no build step. One commented section per screen. */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../assets/vendor/inter/inter-variable.woff2') format('woff2');
}

/* ===== Design tokens ===== */
:root {
    --bg: #F6F6F3;
    --surface: #FFFFFF;
    --ink: #111111;
    --muted: #7A7F87;
    --line: #ECECE7;
    /* The prototype runtime overrode the inline --accent:#00947C with the
       x-dc prop default #18ad81 — this is the effective accent color. */
    --accent: #18ad81;
    --accent-bright: #18AD81;
    --dark: #08140F;
}

/* ===== Base ===== */
* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    background: #E6E7E2;
    font-family: Inter, system-ui, sans-serif;
    /* Mobile layout stability: no iOS text inflation, no double-tap zoom
       (pinch stays available), no horizontal drift of the centered shell. */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    touch-action: manipulation;
}

::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.tnum {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
}

@keyframes fadeUp {
    from { transform: translateY(10px); }
    to { transform: none; }
}

.screen {
    animation: fadeUp .26s ease;
}

.tap {
    transition: transform .12s ease;
}

.tap:active {
    transform: scale(.975);
}

.leaflet-container {
    background: #0b1a14;
    font-family: Inter, sans-serif;
}

input.recherche::placeholder {
    color: #5C6169;
    opacity: 1;
}

input.recherche:focus {
    border-color: #00947c !important;
}

/* App shell */
.app-root {
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--bg);
    position: relative;
    overflow: hidden;
    color: var(--ink);
}

/* Shared rounded search/text input (visual spec: login + quatuors search) */
.recherche {
    width: 100%;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 99px;
    padding: 16px 22px;
    /* 16px minimum: below that iOS Safari zooms the page in on focus and
       never zooms back out, which shifts the whole centered layout. */
    font: 400 16px Inter, sans-serif;
    color: #111;
    outline: none;
    transition: border-color .2s ease;
}

/* ===== Loading ===== */
.loading {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--muted);
}

.loading__pin {
    width: 46px;
    height: 46px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: var(--accent);
}

.loading__label {
    font-size: 13px;
    letter-spacing: .05em;
}

/* ===== Login ===== */
.login {
    min-height: 100vh;
    padding: 48px 24px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login__logo {
    height: 28px;
    width: auto;
    display: block;
    margin: 0 auto 14px;
}

.login__tournoi {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .01em;
    line-height: 1;
    text-align: center;
    color: #16ad80;
}

.login__title {
    margin: 28px 0 10px;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -.02em;
    text-align: center;
}

.login__intro {
    margin: 0 0 26px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
    text-align: center;
    text-wrap: pretty;
}

.login__fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.login__error {
    margin-top: 14px;
    background: #FFF6F5;
    border: 1px solid rgba(196, 69, 54, .25);
    border-radius: 14px;
    padding: 13px 15px;
    font-size: 13px;
    line-height: 1.5;
    color: #8A3227;
    text-wrap: pretty;
}

.login__submit {
    margin-top: 16px;
    background: linear-gradient(155deg, #00947C, #05372d);
    color: #fff;
    border: none;
    border-radius: 99px;
    padding: 16px;
    font: 700 15px Inter, sans-serif;
    letter-spacing: .01em;
    cursor: pointer;
}

/* ===== Tab bar ===== */
.tab-bar {
    position: fixed;
    bottom: 0;
    /* Centered with inset + auto margins rather than a 50% translate: stays
       aligned with .app-root even if the document is wider than the viewport. */
    left: 0;
    right: 0;
    margin-inline: auto;
    width: 100%;
    max-width: 430px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 -1px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    padding: 9px 4px calc(9px + env(safe-area-inset-bottom));
    z-index: 1000;
}

.tab-bar__btn {
    flex: 1;
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    color: #3C4043;
    font-weight: 500;
}

.tab-bar__btn.tab-bar__btn--active {
    color: var(--accent);
    font-weight: 700;
}

.tab-bar__label {
    font-size: 11px;
}

/* ===== VIP FAB ===== */
.vip-fab-wrap {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin-inline: auto;
    width: 100%;
    max-width: 430px;
    height: 0;
    z-index: 1001;
    pointer-events: none;
}

.vip-fab {
    position: absolute;
    right: 16px;
    bottom: 84px;
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 9px;
    background: linear-gradient(155deg, #00947C, #115245);
    color: #ffffff;
    border: 1px solid rgba(24, 173, 129, .45);
    border-radius: 99px;
    padding: 13px 18px 13px 15px;
    font: 600 14px Inter, sans-serif;
    letter-spacing: .01em;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 16px 34px -12px rgba(8, 20, 15, .65), 0 0 0 5px rgba(255, 255, 255, .6);
}

.vip-fab__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ===== Accueil ===== */
.accueil {
    padding: 18px 18px 110px;
}

.accueil__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
}

.accueil__brand {
    display: flex;
    align-items: flex-end;
    gap: 11px;
}

.accueil__logo {
    height: 24px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.accueil__tournoi {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .01em;
    line-height: 1;
    display: block;
    color: #16ad80;
}

.accueil__title {
    margin: 16px 0 0;
    font-size: 34px;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -.02em;
}

.accueil__ambiance {
    margin: 10px 0 22px;
    font-size: 16px;
    line-height: 1.45;
    color: #3A4A42;
    text-wrap: pretty;
}

.accueil__ambiance-fin {
    font-weight: 600;
    color: #16ad7f;
}

/* Dark "VOTRE DÉPART" card */
.depart-card {
    background: linear-gradient(155deg, #00947C, #05372d);
    border-radius: 22px;
    padding: 22px;
    color: #EAF3EE;
    box-shadow: 0px 22px 44px -22px #08140f00;
    position: relative;
    overflow: hidden;
}

.depart-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.depart-card__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #eaf3eebf;
}

.depart-card__time-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 12px 0 2px;
}

.depart-card__time {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -.03em;
    line-height: 1;
    color: #ffffff;
}

.depart-card__sub {
    font-size: 13px;
    color: #eaf3eecc;
    margin-bottom: 20px;
}

.depart-card__stats {
    display: flex;
    gap: 10px;
}

.depart-card__stat {
    flex: 1;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 13px;
    padding: 11px 12px;
}

.depart-card__stat-label {
    font-size: 11px;
    letter-spacing: .12em;
    color: #eaf3eebf;
    font-weight: 600;
}

.depart-card__stat-value {
    font-size: 16px;
    font-weight: 700;
    margin-top: 3px;
    color: #ffffff;
}

.depart-card__footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: 13px;
    color: rgba(234, 243, 238, .78);
}

.depart-card__terrain {
    font-weight: 700;
    color: #fff;
}

.depart-card__sep {
    opacity: .4;
}

.depart-card__footer strong {
    color: #fff;
}

/* Weather duo */
.accueil__meteo-row {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}

.meteo-card {
    flex: 1;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 13px 14px;
}

.meteo-card__label {
    font-size: 11px;
    letter-spacing: .14em;
    color: var(--muted);
    font-weight: 600;
}

.meteo-card__value-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-top: 5px;
    /* Never wrap: the wind unit stays beside its figure. */
    white-space: nowrap;
}

.meteo-card__value {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.meteo-card__unite {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}

.meteo-card__sun {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

/* "EN CE MOMENT" card */
.now-card {
    margin-top: 14px;
    background: linear-gradient(180deg, #F0FAF6, #FFFFFF);
    border: 1px solid rgba(0, 148, 124, 0.22);
    border-radius: 18px;
    padding: 16px;
    cursor: pointer;
}

.now-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.now-card__label {
    font-size: 11px;
    letter-spacing: .14em;
    color: var(--muted);
    font-weight: 600;
}

.now-card__badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    color: #fff;
    padding: 5px 11px;
    border-radius: 99px;
    white-space: nowrap;
}

.now-card__badge.now-card__badge--encours,
.now-card__badge.now-card__badge--termine {
    background: var(--accent);
}

.now-card__badge.now-card__badge--avenir {
    background: #3A4A42;
}

.now-card__title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.now-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-size: 13px;
    color: var(--muted);
}

.now-card__plage {
    color: var(--accent);
    font-weight: 600;
}

.now-card__sep {
    opacity: .4;
}

.now-card__link {
    margin-top: 10px;
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
}

/* ===== Segmented control (shared: Quatuors, Trous) ===== */
.seg {
    position: relative;
    display: flex;
    gap: 4px;
    padding: 4px;
    background: #ECECE7;
    border-radius: 99px;
}

.seg__pill {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    border-radius: 99px;
    background: #fff;
    box-shadow: 0 2px 8px -2px rgba(0, 0, 0, .18);
    transition: transform .25s cubic-bezier(.4, 0, .2, 1);
    z-index: 0;
}

.seg.seg--3 .seg__pill {
    width: calc((100% - 16px) / 3);
}

.seg.seg--2 .seg__pill {
    width: calc((100% - 12px) / 2);
}

.seg__btn {
    position: relative;
    z-index: 1;
    flex: 1;
    padding: 11px 0;
    border: none;
    border-radius: 99px;
    font: 600 14px/1 Inter, sans-serif;
    cursor: pointer;
    background: transparent;
    color: #7A7F87;
    transition: color .25s ease;
}

.seg__btn.seg__btn--active {
    font-weight: 700;
    color: #111;
}

/* ===== Quatuors ===== */
.quatuors {
    padding: 24px 18px 175px;
}

.quatuors__title {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.quatuors__sub {
    margin: 8px 0 34px;
    font-size: 14px;
    color: var(--muted);
}

/* "VOTRE QUATUOR" card */
.mon-quatuor {
    background: linear-gradient(180deg, #F0FAF6, #FFFFFF);
    border: 1px solid #00947c38;
    border-radius: 20px;
    padding: 18px;
}

.mon-quatuor__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.mon-quatuor__label {
    font-size: 11px;
    letter-spacing: .14em;
    color: var(--accent);
    font-weight: 700;
    white-space: nowrap;
}

.mon-quatuor__numero {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
}

.mon-quatuor__info {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 14px;
}

.mon-quatuor__joueurs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mon-quatuor__joueur {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mon-quatuor__joueur-body {
    min-width: 0;
    flex: 1;
}

.mon-quatuor__joueur-head {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mon-quatuor__joueur-nom {
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.mon-quatuor__vous {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #fff;
    background: var(--accent);
    padding: 3px 9px;
    border-radius: 99px;
}

.mon-quatuor__joueur-entreprise {
    font-size: 13px;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 5px;
}

/* Search box */
.quatuors__search {
    position: relative;
    margin: 34px 0 10px;
}

.quatuors__search-input {
    padding: 16px 48px;
}

.quatuors__search-icon {
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
}

.quatuors__clear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    color: #9CA1A8;
    transition: color .15s ease;
}

.quatuors__clear:hover {
    color: #5C6169;
}

.quatuors__seg {
    margin-bottom: 32px;
}

.quatuors__list-label {
    font-size: 11px;
    letter-spacing: .14em;
    color: var(--muted);
    font-weight: 700;
    margin: 6px 2px 10px;
}

.quatuors__empty {
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    padding: 30px 0;
}

.quatuors__cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quatuors__cards.quatuors__cards--personnes {
    gap: 9px;
}

/* Full-foursome cards */
.quatuor-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.quatuor-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.quatuor-card__head-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.quatuor-card__tro {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
    border: 1px solid #00947c38;
    padding: 4px 11px;
    border-radius: 10px;
    background-color: #f0faf6;
}

.quatuor-card__terrain {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .07em;
    font-weight: 600;
}

.quatuor-card__lignes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quatuor-card__ligne {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.quatuor-card__ligne-body {
    min-width: 0;
    flex: 1;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.quatuor-card__nom {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    white-space: nowrap;
    flex-shrink: 0;
}

.quatuor-card__entreprise {
    font-size: 11px;
    font-weight: 400;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: right;
}

/* By-company cards */
.entreprise-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
}

.entreprise-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 13px;
    margin-bottom: 13px;
    border-bottom: 1px solid var(--line);
}

.entreprise-card__nom {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: #111;
    line-height: 1.18;
    text-wrap: pretty;
}

.entreprise-card__count {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    background: #F1F1EC;
    padding: 5px 12px;
    border-radius: 99px;
    white-space: nowrap;
    flex-shrink: 0;
}

.entreprise-card__membres {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.entreprise-card__membre {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.entreprise-card__membre-body {
    min-width: 0;
    flex: 1;
}

.entreprise-card__membre-nom {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.entreprise-card__membre-role {
    font-size: 11px;
    color: var(--muted);
    margin-top: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.entreprise-card__quatuor {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    background: #F0FAF6;
    border: 1px solid rgba(0, 148, 124, .22);
    padding: 3px 8px;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Person cards */
.personne-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 13px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.personne-card__body {
    min-width: 0;
    flex: 1;
}

.personne-card__nom {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.personne-card__entreprise {
    font-size: 12px;
    color: var(--muted);
    margin-top: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.personne-card__meta {
    text-align: right;
    flex-shrink: 0;
}

.personne-card__quatuor {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    background: #F0FAF6;
    border: 1px solid rgba(0, 148, 124, .22);
    padding: 3px 9px;
    border-radius: 9px;
    white-space: nowrap;
}

.personne-card__terrain {
    font-size: 10px;
    color: var(--muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 600;
    white-space: nowrap;
}

/* ===== Trous ===== */
.trous {
    padding: 24px 18px 175px;
}

.trous__title {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.trous__sub {
    margin: 8px 0 18px;
    font-size: 14px;
    color: var(--muted);
}

.trous__parcours {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 10px 2px 18px;
    font-size: 12px;
    color: var(--muted);
}

.trous__parcours-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block;
}

.trous__parcours strong {
    color: #111;
}

.trous__cards {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-top: 18px;
}

.trou-card {
    border-radius: 18px;
    padding: 18px;
    background: #fff;
    border: 1px solid #ECECE7;
}

.trou-card.trou-card--anim {
    background: linear-gradient(180deg, #F0FAF6, #FFFFFF);
    border: 1px solid rgba(0, 148, 124, 0.22);
}

.trou-card__row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.trou-card__numbox {
    text-align: center;
    min-width: 40px;
}

.trou-card__num {
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.02em;
    color: #111;
}

.trou-card.trou-card--anim .trou-card__num {
    color: var(--accent);
}

.trou-card__num-label {
    font-size: 9px;
    letter-spacing: .1em;
    color: var(--muted);
    font-weight: 700;
    margin-top: 3px;
}

.trou-card__body {
    flex: 1;
    min-width: 0;
}

.trou-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.trou-card__normale {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.trou-card__sep {
    opacity: .4;
}

.trou-card__verges {
    font-size: 13px;
    color: var(--muted);
}

.trou-card__depart-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    color: #fff;
    background: var(--accent);
    padding: 5px 11px;
    border-radius: 99px;
    white-space: nowrap;
}

.trou-card__desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.4;
    margin-top: 7px;
    text-wrap: pretty;
}

/* Partner animation callout */
.trou-anim {
    position: relative;
    margin-top: 26px;
    border: 1px solid #16ad80bf;
    border-radius: 13px;
    padding: 24px 14px 14px;
    background-color: #ffffff;
}

.trou-anim__tag {
    position: absolute;
    top: -12px;
    left: 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    color: #16ad80;
    border: 1px solid #16ad80bf;
    border-radius: 99px;
    padding: 4px 10px;
    background-color: #f0faf6;
}

.trou-anim__entreprise {
    font-size: 14px;
    font-weight: 700;
}

.trou-anim__activite {
    font-size: 13px;
    color: var(--muted);
    margin-top: 2px;
}

/* ===== Journée ===== */
.journee {
    padding: 24px 18px 175px;
}

.journee__title {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.journee__sub {
    margin: 8px 0 18px;
    font-size: 14px;
    color: var(--muted);
}

/* Live clock card */
.clock-card {
    background: linear-gradient(155deg, #00947C, #05372d);
    border-radius: 20px;
    padding: 20px 22px;
    color: #EAF3EE;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px 18px 38px -22px #08140f00;
}

.clock-card__label {
    font-size: 11px;
    letter-spacing: .14em;
    color: #eaf3eebf;
    font-weight: 600;
    margin-bottom: 8px;
}

.clock-card__time {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -.03em;
    line-height: 1;
    color: #ffffff;
}

.clock-card__live {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, .4);
    padding: 6px 13px;
    border-radius: 99px;
    white-space: nowrap;
}

.clock-card__live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

/* Past steps toggle */
.journee__past-toggle {
    width: 100%;
    margin-top: 20px;
    border: 1px dashed var(--line);
    border-radius: 99px;
    padding: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font: 600 12px Inter, sans-serif;
    color: var(--muted);
    letter-spacing: .02em;
    background-color: #ecece7;
}

.journee__past-chevron {
    transition: transform .2s;
}

.journee__past-chevron.journee__past-chevron--open {
    transform: rotate(180deg);
}

/* Timeline */
.journee__timeline {
    position: relative;
    margin-top: 18px;
    padding-left: 30px;
}

.journee__timeline-line {
    position: absolute;
    left: 8px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: var(--line);
}

.journee__past-panel {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height .4s ease, opacity .22s ease;
}

.journee__past-panel.journee__past-panel--open {
    max-height: 1600px;
    opacity: 1;
    transition: max-height .55s ease, opacity .4s ease .08s;
}

.journee-item {
    position: relative;
    margin-bottom: 14px;
}

.journee-item__dot {
    position: absolute;
    left: -29px;
    top: 18px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.journee-item__dot.journee-item__dot--futur {
    background: #fff;
    border: 2.5px solid #C9CCC7;
}

.journee-item__dot.journee-item__dot--passe {
    background: #C9CCC7;
}

.journee-item__dot.journee-item__dot--encours {
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 148, 124, .18);
}

.journee-item__card {
    border-radius: 18px;
    padding: 15px 16px;
    background: #fff;
    color: #111;
    border: 1px solid #ECECE7;
}

.journee-item__card.journee-item__card--passe {
    opacity: .55;
}

.journee-item__card.journee-item__card--encours {
    background: linear-gradient(180deg, #F0FAF6, #FFFFFF);
    border: 1px solid rgba(0, 148, 124, 0.22);
}

.journee-item__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.journee-item__plage {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
}

.journee-item__badges {
    display: flex;
    gap: 6px;
}

.journee-item__ec {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #fff;
    background: var(--accent);
    padding: 4px 10px;
    border-radius: 99px;
    white-space: nowrap;
}

.journee-item__titre {
    font-size: 16px;
    font-weight: 700;
    margin-top: 7px;
    color: #111;
}

.journee-item__lieu {
    font-size: 12px;
    margin-top: 3px;
    color: #7A7F87;
}

.journee-item__desc {
    font-size: 13px;
    line-height: 1.45;
    margin-top: 8px;
    color: #7A7F87;
    text-wrap: pretty;
}

/* ===== Partenaires ===== */
.partenaires {
    padding: 24px 18px 175px;
}

.partenaires__title {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.partenaires__sub {
    margin: 8px 0 20px;
    font-size: 14px;
    color: var(--muted);
}

/* Presidency dark card */
.presidence-card {
    background: linear-gradient(155deg, #00947C, #05372d);
    border-radius: 22px;
    padding: 22px;
    color: #EAF3EE;
    box-shadow: 0px 22px 44px -24px #08140f00;
    position: relative;
    overflow: hidden;
}

.presidence-card__label {
    font-size: 11px;
    letter-spacing: .12em;
    color: #ffffffbf;
    font-weight: 700;
    margin-bottom: 16px;
}

.presidence-card__logo {
    height: 42px;
    width: auto;
    display: block;
    margin-bottom: 18px;
}

.presidence-card__texte {
    font-size: 16px;
    line-height: 1.5;
    color: rgba(234, 243, 238, .72);
    text-wrap: pretty;
}

.presidence-card__lien {
    display: inline-block;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
}

.partenaires__section-label {
    font-size: 11px;
    letter-spacing: .14em;
    color: var(--muted);
    font-weight: 700;
    margin: 40px 2px 12px;
}

.partenaires__section-label.partenaires__section-label--autres {
    text-transform: uppercase;
}

.partenaires__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
}

.partenaire-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
    cursor: pointer;
}

.partenaire-card__logo-box {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.partenaire-card__logo {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.partenaire-card__rule {
    height: 1px;
    background: #D3D1C7;
    margin: 13px 0;
}

.partenaire-card__nom {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.partenaire-card__info {
    font-size: 11px;
    color: var(--muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* ===== Urgence / VIP ===== */
.urgence {
    padding: 24px 18px 175px;
}

.urgence__eyebrow {
    font-size: 14px;
    letter-spacing: .01em;
    color: #16ad80;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
}

.urgence__title {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -.02em;
}

/* VIP squad card */
.vip-card {
    margin-top: 18px;
    background: linear-gradient(155deg, #00947C, #05372d);
    border-radius: 22px;
    padding: 22px;
    color: #EAF3EE;
    box-shadow: 0px 22px 44px -24px #08140f00;
}

.vip-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.vip-card__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vip-card__titre {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.vip-card__intro {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(234, 243, 238, .78);
    text-wrap: pretty;
}

.vip-card__sms {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 18px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 14px;
    border-radius: 99px;
}

/* Map */
.urgence__map-box {
    margin-top: 14px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    position: relative;
}

#urg-map {
    height: 280px;
    width: 100%;
}

.urgence__map-chip {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 500;
    background: rgba(8, 20, 15, .82);
    backdrop-filter: blur(4px);
    color: #EAF3EE;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 11px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.urgence__map-chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-bright);
}

.urgence__recenter {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 500;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .28);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

/* Discreet refresh hint (bottom-left of the map), visible only while fetching */
.urgence__map-refresh {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 500;
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
}

.urgence__map-refresh--on {
    opacity: 1;
}

.urgence__map-refresh-dot {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-bright);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .18);
    animation: mapRefreshPulse 1s ease-in-out infinite;
}

@keyframes mapRefreshPulse {
    0%, 100% { opacity: .45; transform: scale(.8); }
    50% { opacity: 1; transform: scale(1); }
}

/* Geolocation */
.urgence__geo-btn-wrap {
    margin-top: 10px;
}

.urgence__geo-btn {
    width: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 99px;
    padding: 16px;
    font: 600 15px Inter, sans-serif;
    color: #111;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

/* Active state: user position is being shown (toggle on) */
.urgence__geo-btn--on {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.urgence__geo-btn--on svg {
    stroke: #fff;
}

/* Cart photo */
.urgence__photo {
    margin-top: 40px;
    border-radius: 18px;
    overflow: hidden;
    background: #E9EAE4;
    height: 150px;
    border: 1px solid var(--line);
    position: relative;
}

.urgence__photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Essentials */
.urgence__section-label {
    font-size: 11px;
    letter-spacing: .14em;
    color: var(--muted);
    font-weight: 700;
    margin: 44px 2px 14px;
}

.essentiels {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.essentiels__cat-titre {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
}

.essentiels__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.essentiels__chip {
    font-size: 13px;
    font-weight: 500;
    background: #fff;
    border: 1px solid var(--line);
    padding: 8px 13px;
    border-radius: 99px;
}
