/* Zenata Sports Club — réservation de terrain (pages /five/)
   Idée : la soirée de foot sous les projecteurs. En-tête bleu nuit tracé comme un terrain vu du ciel,
   vert pelouse réservé à « c'est libre », chiffres en capitales étroites comme sur un tableau d'affichage. */
/* polices Barlow (licence SIL Open Font), servies par le site lui-même */
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("/assets/fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("/assets/fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
.fv { --night: #06183a; --club: #1257d6; --turf: #169b5b; --turf-ink: #0c6a3d; --turf-bg: #e3f5eb; --last: #a85d00; --last-bg: #fff1d6; --sand: #f2f5fa; --rule: #dbe2ee; --ink2: #111a30; --soft: #5b6781;
  --disp: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif; --txt: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-family: var(--txt); background: var(--sand); color: var(--ink2); padding-bottom: calc(4.6rem + env(safe-area-inset-bottom)); }
.fv h1, .fv h2, .fv h3 { font-family: var(--disp); letter-spacing: 0; }
.fv button, .fv input, .fv select { font-family: var(--txt); }

/* en-tête */
.fv-hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 100% 0, #17409c 0, transparent 55%), radial-gradient(90% 70% at 0 0, #0f3277 0, transparent 60%), var(--night); color: #fff; padding: calc(.9rem + env(safe-area-inset-top)) max(1.1rem, calc(50% - 294px)) 1.5rem; }
.fv-lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .09; pointer-events: none; }
.fv-top { position: relative; display: flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .95rem; margin-bottom: 1.1rem; }
.fv-top img { width: 34px; height: 34px; }
.fv-back { display: grid; place-items: center; width: 40px; height: 40px; margin-left: -.4rem; border-radius: 50%; color: #fff; text-decoration: none; font-size: 1.7rem; line-height: 1; background: rgba(255, 255, 255, .13); }
.fv-back:focus-visible, .fv-tabs a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.fv-hero h1 { position: relative; color: #fff; font-size: clamp(2.3rem, 10vw, 3.2rem); font-weight: 700; line-height: .95; margin: 0 0 .45rem; text-transform: uppercase; }
.fv-hero p { position: relative; margin: 0; color: #c9d6f2; font-size: 1rem; max-width: 30ch; }
.fv-main { max-width: 620px; margin: 0 auto; padding: 1.1rem 1rem 1rem; }
.fv-main > h2 { font-size: 1.35rem; font-weight: 700; color: var(--night); margin: 1.3rem 0 .6rem; text-transform: uppercase; }
.fv-main > h2:first-child { margin-top: .1rem; }

/* choix du format : deux terrains vus du ciel */
.fv-formats { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.fv-format { position: relative; text-align: left; padding: .6rem .6rem .7rem; border-radius: 16px; border: 2px solid var(--rule); background: #fff; color: var(--ink2); cursor: pointer; }
.fv-format svg { display: block; width: 100%; border-radius: 10px; margin-bottom: .55rem; }
.fv-format b { display: block; font-family: var(--disp); font-size: 1.45rem; line-height: 1; text-transform: uppercase; color: var(--night); }
.fv-format span { display: block; font-size: .88rem; color: var(--soft); margin-top: .2rem; }
.fv-format strong { display: block; margin-top: .35rem; font-size: 1rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.fv-format[aria-pressed=true] { border-color: var(--club); box-shadow: 0 0 0 3px rgba(18, 87, 214, .16); }
.fv-format[aria-pressed=true]::after { content: "✓"; position: absolute; top: .95rem; right: .95rem; width: 26px; height: 26px; border-radius: 50%; background: var(--club); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.fv-format:focus-visible, .fv-day:focus-visible, .fv-seg button:focus-visible, .fv .slot:focus-visible, .fv-cta:focus-visible { outline: 3px solid var(--club); outline-offset: 2px; }

/* jours */
.fv-days { display: flex; gap: .45rem; overflow-x: auto; scroll-snap-type: x proximity; padding: .1rem .1rem .5rem; margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem; scrollbar-width: none; }
.fv-days::-webkit-scrollbar { display: none; }
.fv-day { flex: none; scroll-snap-align: center; width: 62px; padding: .5rem 0 .55rem; border-radius: 14px; border: 1px solid var(--rule); background: #fff; color: var(--ink2); cursor: pointer; text-align: center; }
.fv-day i { display: block; font-style: normal; font-size: .78rem; color: var(--soft); }
.fv-day b { display: block; font-family: var(--disp); font-size: 1.75rem; line-height: 1.05; }
.fv-day[aria-pressed=true] { background: var(--night); border-color: var(--night); color: #fff; } .fv-day[aria-pressed=true] i { color: #b9c8ea; }

/* durée */
.fv-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: #e3e9f3; }
.fv-seg button { min-height: 46px; border: 0; border-radius: 11px; background: transparent; color: var(--ink2); font-weight: 600; font-size: 1rem; cursor: pointer; }
.fv-seg button small { display: block; font-weight: 500; font-size: .8rem; color: var(--soft); }
.fv-seg button[aria-pressed=true] { background: #fff; box-shadow: 0 1px 3px rgba(6, 24, 58, .18); }

/* créneaux */
.fv-period { font-family: var(--txt); font-size: .9rem; font-weight: 600; color: var(--soft); margin: .9rem 0 .4rem; }
.fv .slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
@media (min-width: 520px) { .fv .slots { grid-template-columns: repeat(4, 1fr); } }
.fv .slot { min-height: 62px; padding: .4rem .2rem; border-radius: 14px; border: 1px solid #bfe3cf; background: var(--turf-bg); color: var(--turf-ink); cursor: pointer; text-decoration: none; font-weight: 400; }
.fv .slot b { display: block; font-family: var(--disp); font-size: 1.5rem; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink2); }
.fv .slot span { display: block; font-size: .76rem; font-weight: 600; margin-top: .2rem; }
.fv .slot.last { background: var(--last-bg); border-color: #edcf96; color: var(--last); }
.fv .slot.sel { background: var(--club); border-color: var(--club); color: #dbe7ff; } .fv .slot.sel b { color: #fff; }
.fv .slot[disabled] { background: #e9edf3; border-color: #e9edf3; color: #8b96aa; cursor: default; text-decoration: none; } .fv .slot[disabled] b { color: #8b96aa; text-decoration: line-through; }
.fv-empty { background: #fff; border: 1px dashed #b9c4d8; border-radius: 14px; padding: 1rem; color: var(--soft); }

/* barre de réservation, feuille du bas, onglets */
.fv-bar { position: fixed; left: 0; right: 0; bottom: calc(4.1rem + env(safe-area-inset-bottom)); z-index: 30; display: flex; align-items: center; gap: .8rem; padding: .7rem 1rem; background: var(--night); color: #fff; box-shadow: 0 -6px 20px rgba(6, 24, 58, .25); }
.fv-bar div { flex: 1; min-width: 0; line-height: 1.2; } .fv-bar b { display: block; font-family: var(--disp); font-size: 1.35rem; } .fv-bar span { font-size: .85rem; color: #c9d6f2; }
.fv-cta { flex: none; min-height: 48px; padding: .5rem 1.2rem; border: 0; border-radius: 12px; background: var(--turf); color: #fff; font-weight: 700; font-size: 1rem; cursor: pointer; }
.fv-cta:hover { background: var(--turf-ink); } .fv-cta[disabled] { opacity: .6; }
.fv-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 31; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-top: 1px solid var(--rule); padding-bottom: env(safe-area-inset-bottom); }
.fv-tabs a { position: relative; display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .5rem .2rem .45rem; color: var(--soft); text-decoration: none; font-size: .74rem; font-weight: 600; }
.fv-tabs a svg { width: 24px; height: 24px; fill: currentColor; } .fv-tabs a.on { color: var(--club); }
.fv-tabs a:focus-visible { outline-color: var(--club); outline-offset: -3px; }
.fv-count { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 18px; padding: 0 5px; border-radius: 99px; background: var(--club); color: #fff; font-size: .68rem; line-height: 18px; }
.fv-sheet { position: fixed; inset: 0; z-index: 60; background: rgba(6, 24, 58, .55); display: grid; align-items: end; }
.fv-sheet-box { background: #fff; border-radius: 22px 22px 0 0; padding: 1.1rem 1.1rem calc(1.2rem + env(safe-area-inset-bottom)); max-height: 92dvh; overflow: auto; width: 100%; max-width: 620px; margin: 0 auto; animation: fv-up .22s ease-out; }
@keyframes fv-up { from { transform: translateY(24px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .fv-sheet-box { animation: none; } }
.fv-sheet-box h2 { font-size: 1.6rem; text-transform: uppercase; color: var(--night); margin: 0; }

/* billet de réservation */
.fv-ticket { position: relative; border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(6, 24, 58, .16); overflow: hidden; margin-bottom: 1rem; display: block; color: inherit; text-decoration: none; }
.fv-ticket-top { position: relative; background: var(--night); color: #fff; padding: 1rem 1.1rem 1.15rem; }
.fv-ticket-top small { display: block; font-size: .9rem; color: #c9d6f2; text-transform: capitalize; }
.fv-ticket-top .time { font-family: var(--disp); font-size: clamp(2.6rem, 13vw, 3.6rem); font-weight: 700; line-height: 1; margin: .15rem 0 .3rem; font-variant-numeric: tabular-nums; }
.fv-ticket-top .where { font-weight: 600; font-size: 1.05rem; }
.fv-tag { display: inline-block; font-size: .8rem; font-weight: 700; padding: .1rem .55rem; border-radius: 99px; background: rgba(255, 255, 255, .16); margin-bottom: .5rem; }
.fv-stamp { position: absolute; right: .9rem; top: .9rem; font-family: var(--disp); font-size: 1.05rem; font-weight: 700; text-transform: uppercase; padding: .1rem .6rem; border: 2px solid #5fe0a0; color: #5fe0a0; border-radius: 8px; transform: rotate(6deg); }
.fv-stamp.off { border-color: #ff9a8f; color: #ff9a8f; } .fv-stamp.past { border-color: #b9c8ea; color: #b9c8ea; }
.fv-perf { position: relative; height: 0; border-top: 2px dashed #c6d0e2; margin: 0 1rem; }
.fv-perf::before, .fv-perf::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--sand); }
.fv-perf::before { left: -27px; } .fv-perf::after { right: -27px; }
.fv-ticket-bot { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: .9rem 1.1rem 1rem; }
.fv-ticket-bot dt { font-size: .8rem; color: var(--soft); } .fv-ticket-bot dd { margin: 0; font-weight: 600; }
.fv-ticket-bot .price { text-align: right; } .fv-ticket-bot .price dd { font-family: var(--disp); font-size: 1.6rem; line-height: 1; }
.fv-ticket.mini .fv-ticket-top .time { font-size: 2.1rem; } .fv-ticket.mini .fv-ticket-top { padding: .8rem 1rem .9rem; }
.fv .card { border-radius: 16px; box-shadow: none; } .fv .card h2 { font-size: 1.35rem; text-transform: uppercase; color: var(--night); }
.fv .btn { border-radius: 12px; } .fv .btn-primary { background: var(--club); border-color: var(--club); }
.fv .recap { background: var(--sand); border-radius: 14px; } .fv .recap b { color: var(--night); }
.fv-links { text-align: center; font-size: .85rem; margin-top: 1.4rem; } .fv-links a { color: var(--soft); }
.fv .demande { border: 0; border-left: 6px solid var(--turf); border-radius: 14px; } .fv .demande .big { font-family: var(--disp); font-size: 1.6rem; text-transform: uppercase; line-height: 1.05; color: var(--night); }

/* onglets des terrains (5A, 5B… / 7A, 7B) */
.fv-pistes { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .45rem; margin-top: .7rem; }
.fv-pistes button { min-height: 58px; padding: .35rem .2rem; border-radius: 14px; border: 1px solid var(--rule); background: #fff; color: var(--ink2); cursor: pointer; }
.fv-pistes button b { display: block; font-family: var(--disp); font-size: 1.6rem; line-height: 1; }
.fv-pistes button small { display: block; font-size: .76rem; font-weight: 600; color: var(--turf-ink); margin-top: .15rem; }
.fv-pistes button.full small { color: #8b96aa; }
.fv-pistes button[aria-pressed=true] { background: var(--night); border-color: var(--night); color: #fff; } .fv-pistes button[aria-pressed=true] small { color: #8fe3b6; } .fv-pistes button[aria-pressed=true].full small { color: #b9c8ea; }
.fv-pistes button:focus-visible { outline: 3px solid var(--club); outline-offset: 2px; }

/* page d'accueil du site */
.fv-home { padding-bottom: 2rem; }
.fv-home .fv-hero { text-align: center; padding-top: calc(1.8rem + env(safe-area-inset-top)); padding-bottom: 2rem; }
.fv-home .fv-hero p { margin: 0 auto; }
.fv-crest { position: relative; width: 104px; height: 104px; margin-bottom: .8rem; }
.fv-go { display: flex; align-items: center; gap: .9rem; padding: .85rem .9rem; margin-bottom: .6rem; border-radius: 16px; border: 1px solid var(--rule); background: #fff; color: var(--ink2); text-decoration: none; }
.fv-go > svg { flex: none; width: 76px; height: 48px; border-radius: 9px; }
.fv-go > svg.ic { width: 46px; height: 46px; padding: 10px; border-radius: 12px; background: #e6eefc; fill: var(--club); }
.fv-go span { flex: 1; min-width: 0; }
.fv-go b { display: block; font-family: var(--disp); font-size: 1.45rem; line-height: 1.05; text-transform: uppercase; color: var(--night); }
.fv-go i { display: block; font-style: normal; font-size: .92rem; color: var(--soft); margin-top: .15rem; }
.fv-go em { font-style: normal; font-size: 1.6rem; color: #9aa6bd; }
.fv-go.first { background: var(--night); border-color: var(--night); padding: 1rem .9rem; }
.fv-go.first b { color: #fff; font-size: 1.7rem; } .fv-go.first i { color: #c9d6f2; } .fv-go.first em { color: #fff; }
.fv-go:focus-visible { outline: 3px solid var(--club); outline-offset: 2px; }
