/* Site public du coach — modèle PCW.
   Concept : le terrain de padel. Bleu du gazon synthétique pour la marque, jaune balle pour l'action,
   blanc des lignes pour la structure. Les couleurs et polices sont remplacées par celles du coach
   (site_content.theme) au chargement. Thème unique clair, assumé : c'est l'identité du coach. */
:root {
  --brand: #0E2A52;          /* bleu terrain */
  --brand-2: #1B4A8C;        /* bleu gazon clair */
  --ball: #E4F55B;           /* jaune balle */
  --surface: #F2F5F9;        /* fond légèrement bleuté */
  --card: #FFFFFF;
  --ink: #0B1830;
  --muted: #55627A;
  --line: #D9E1EC;
  --on-brand: #FFFFFF;
  --on-brand-muted: rgba(255, 255, 255, .72);
  --ok: #157F4B;
  --warn: #9A5B00;
  --err: #B42318;
  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--brand); }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ball); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.muted { color: var(--muted); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* ----------------------------------------------------------------- type --- */
.eyebrow {
  margin: 0 0 10px; font: 700 12px/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ball);
}
.eyebrow--brand { color: var(--brand-2); }
.h2 {
  margin: 0 0 18px; font-family: var(--f-display); font-weight: 800; font-stretch: 112%;
  font-size: clamp(28px, 4.2vw, 44px); line-height: 1.05; letter-spacing: -.01em; text-wrap: balance; color: var(--brand);
}
.h2--light { color: var(--on-brand); }
.h3 { margin: 0 0 12px; font: 800 22px/1.2 var(--f-display); color: var(--brand); }
.h4 { margin: 22px 0 10px; font: 700 13px/1.3 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: 19px; line-height: 1.55; color: var(--ink); max-width: 62ch; }

/* -------------------------------------------------------------- buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
  font: 700 15px/1 var(--f-body); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--ball { background: var(--ball); color: var(--brand); }
.btn--brand { background: var(--brand); color: var(--on-brand); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .45); color: var(--on-brand); }
.btn--ghost { border-color: var(--line); color: var(--brand); background: var(--card); }

/* ----------------------------------------------------------------- demo --- */
.demo-ribbon { background: var(--ball); color: var(--brand); font-size: 13px; }
.demo-ribbon__in { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; padding-block: 8px; }
.demo-ribbon a { font-weight: 700; }

/* --------------------------------------------------------------- topbar --- */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--brand); color: var(--on-brand); }
.topbar__in { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 15px/1 var(--f-display); font-stretch: 125%; letter-spacing: .06em; min-width: 0; }
.brand span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand img { height: 34px; width: auto; }
.brand__mark { width: 18px; height: 18px; border-radius: 50%; background: var(--ball); box-shadow: inset -4px -3px 0 rgba(0, 0, 0, .12); flex: none; }
.nav { display: flex; gap: 22px; margin-left: auto; font-weight: 600; font-size: 15px; }
.nav a { text-decoration: none; color: var(--on-brand-muted); }
.nav a:hover { color: var(--on-brand); }
@media (max-width: 860px) { .nav { display: none; } .topbar .btn { margin-left: auto; } }

/* ----------------------------------------------------------------- hero --- */
.hero { position: relative; background: var(--brand); color: var(--on-brand); overflow: hidden; }
.hero__lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 2; pointer-events: none; }
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; padding-block: 56px 72px; }
.hero__text { min-width: 0; }
.hero__title {
  margin: 0 0 18px; font-family: var(--f-display); font-weight: 900; font-stretch: 118%;
  font-size: clamp(38px, 6.4vw, 76px); line-height: .98; letter-spacing: -.02em; text-transform: uppercase; text-wrap: balance;
}
.hero__sub { margin: 0 0 28px; font-size: 19px; line-height: 1.5; color: var(--on-brand-muted); max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.stats { display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 40px 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .18); }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dt { font-size: 13px; color: var(--on-brand-muted); }
.stats dd { margin: 0; font: 800 28px/1.1 var(--f-display); font-stretch: 112%; color: var(--ball); font-variant-numeric: tabular-nums; }

/* Composition photo : grande photo du coach, photo d'action en incrustation, badge. */
.hero__media { position: relative; min-width: 0; padding: 0 0 56px 56px; }
.hero__media::before { /* ligne de fond de court, décalée derrière la photo */
  content: ""; position: absolute; top: -18px; right: -18px; width: 62%; height: 58%;
  border: 3px solid var(--ball); border-left: 0; border-bottom: 0; border-radius: 0 var(--r) 0 0; opacity: .9;
}
.shot { position: relative; margin: 0; overflow: hidden; border-radius: var(--r); background: var(--brand-2); }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot--main { aspect-ratio: 4 / 5; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.shot--inset {
  position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 3;
  border: 5px solid var(--brand); box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.hero-badge {
  position: absolute; right: -8px; bottom: 22px; display: flex; align-items: center; gap: 12px; max-width: 70%;
  padding: 12px 16px; border-radius: 14px; background: var(--card); color: var(--brand); box-shadow: 0 14px 30px rgba(0, 0, 0, .25);
  font-weight: 700; font-size: 14px; line-height: 1.25;
}
.hero-badge__ball { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ball); box-shadow: inset -6px -5px 0 rgba(0, 0, 0, .12); }
.hero-badge small { display: block; font-weight: 600; font-size: 12px; color: var(--muted); }

/* Emplacement photo stylisé (pas encore de photo) */
.ph { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(160deg, var(--brand-2), var(--brand)); color: var(--on-brand); text-align: center; }
.ph svg.ph__court { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1.5; }
.ph__inner { position: relative; display: grid; justify-items: center; gap: 8px; padding: 14px 18px; border-radius: 14px;
  background: color-mix(in srgb, var(--brand) 82%, transparent); }
.ph__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); }
.ph__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ph__label { font-weight: 700; font-size: 14px; max-width: 22ch; text-wrap: balance; }
.ph__tag { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ball); }
.ph__mono { font: 900 clamp(56px, 9vw, 110px)/1 var(--f-display); font-stretch: 125%; letter-spacing: -.03em; }
.shot--inset .ph__icon { width: 34px; height: 34px; }
.shot--inset .ph__label { font-size: 12px; }

@media (max-width: 860px) {
  .hero__in { grid-template-columns: 1fr; gap: 32px; padding-block: 28px 44px; }
  .hero__media { order: -1; padding: 0 0 36px 28px; max-width: 520px; width: 100%; justify-self: center; }
  .hero__media::before { top: -10px; right: -6px; }
  .shot--main { aspect-ratio: 5 / 4; }
  .hero-badge { right: 0; bottom: 8px; }
  .shot--inset :is(.ph__tag, .ph__icon) { display: none; }
  /* La petite photo couvre le bas à gauche : le libellé de la grande remonte en haut à droite. */
  .shot--main .ph { place-items: start end; padding: 14px; }
  .shot--main .ph__tag { display: none; }
}
@media (max-width: 420px) { .hero-badge { display: none; } }
@media (max-width: 520px) {
  /* Nom du coach en entier à côté du bouton « Réserver » : police moins large sur téléphone. */
  .brand { font-size: 14px; font-stretch: 100%; letter-spacing: .03em; }
}

/* -------------------------------------------------------------- sections --- */
.section { padding-block: 80px; }
.section--tint { background: var(--card); }
@media (max-width: 640px) { .section { padding-block: 56px; } }

.coach { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.coach__body { min-width: 0; }
.coach__body > p { max-width: 62ch; }
.coach__portrait { position: sticky; top: 96px; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--brand); max-width: 100%; }
.coach__portrait img { width: 100%; height: 100%; object-fit: cover; }
.monogram { position: relative; height: 100%; display: grid; place-items: center; color: var(--on-brand); }
.monogram svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.monogram span { position: relative; font: 900 clamp(64px, 12vw, 120px)/1 var(--f-display); font-stretch: 125%; letter-spacing: -.03em; }
.philosophy { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--ball); font-size: 18px; font-style: italic; color: var(--brand); max-width: 58ch; }
.coach__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 24px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--ball); box-shadow: 0 0 0 2px var(--brand); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--brand); }
@media (max-width: 860px) {
  .coach { grid-template-columns: 1fr; gap: 28px; }
  .coach__portrait { position: relative; top: auto; aspect-ratio: 16 / 10; }
  .coach__grid { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------- services --- */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; margin-top: 12px; }
.svc { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.svc__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.svc__name { margin: 0; font: 800 20px/1.2 var(--f-display); font-stretch: 108%; color: var(--brand); }
.svc__price { font: 800 22px/1 var(--f-display); color: var(--brand); white-space: nowrap; font-variant-numeric: tabular-nums; }
.svc__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); }
.svc p { margin: 0; color: var(--muted); flex: 1; }
.svc .btn { align-self: flex-start; margin-top: 6px; }

/* --------------------------------------------------------------- booking --- */
.booking-section { background: var(--surface); }
.booking { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
@media (max-width: 960px) { .booking { grid-template-columns: 1fr; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; min-width: 0; }
.steps { list-style: none; display: flex; gap: 8px; margin: 0 0 22px; padding: 0; counter-reset: s; }
.steps li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); min-width: 0; }
.steps li::before {
  counter-increment: s; content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--muted);
}
.steps li[aria-current="step"] { color: var(--brand); }
.steps li[aria-current="step"]::before { background: var(--ball); border-color: var(--brand); color: var(--brand); }
.steps li.done::before { content: "✓"; background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.steps li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 520px) { .steps li span { display: none; } .steps li { flex: none; } .steps li[aria-current="step"] span { display: inline; } }

.choice-list { display: grid; gap: 10px; }
.choice {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; width: 100%;
  padding: 16px; border-radius: 12px; border: 2px solid var(--line); background: var(--card); text-align: left;
  font: inherit; color: inherit; cursor: pointer;
}
.choice:hover { border-color: var(--brand-2); }
.choice[aria-pressed="true"] { border-color: var(--brand); background: var(--surface); }
.choice__dot { width: 12px; height: 12px; border-radius: 50%; }
.choice__name { font-weight: 700; color: var(--brand); }
.choice__meta { font-size: 13px; color: var(--muted); }
.choice__price { font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }

.days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x proximity; }
.day {
  flex: none; width: 72px; padding: 10px 6px; border-radius: 12px; border: 2px solid var(--line); background: var(--card);
  display: flex; flex-direction: column; align-items: center; gap: 2px; font: inherit; cursor: pointer; scroll-snap-align: start; color: var(--brand);
}
.day small { font-size: 12px; color: var(--muted); text-transform: capitalize; }
.day strong { font: 800 22px/1.1 var(--f-display); font-variant-numeric: tabular-nums; }
.day i { font-style: normal; font-size: 11px; color: var(--muted); }
.day[aria-pressed="true"] { border-color: var(--brand); background: var(--brand); color: var(--on-brand); }
.day[aria-pressed="true"] small, .day[aria-pressed="true"] i { color: var(--on-brand-muted); }
.day:disabled { opacity: .4; cursor: not-allowed; }
.day-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-weight: 700; color: var(--brand); }
.slot-group { margin-top: 18px; }
.slot-group h4 { margin: 0 0 8px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.slot {
  min-height: 44px; border-radius: 10px; border: 2px solid var(--line); background: var(--card);
  font: 700 15px/1 var(--f-body); color: var(--brand); cursor: pointer; font-variant-numeric: tabular-nums;
}
.slot:hover { border-color: var(--brand-2); }
.slot[aria-pressed="true"] { background: var(--ball); border-color: var(--brand); }
.slot-loc { margin: 4px 0 0; font-size: 13px; color: var(--muted); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 700; color: var(--brand); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--card); font: inherit; color: var(--ink);
}
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(228, 245, 91, .55); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin-top: 22px; }
.alert { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.alert--err { background: #FDECEA; color: var(--err); }
.alert--ok { background: #E7F6EE; color: var(--ok); }
.empty { padding: 28px 12px; text-align: center; color: var(--muted); }

.summary { position: sticky; top: 96px; }
.summary h3 { margin: 0 0 14px; font: 800 18px/1.2 var(--f-display); color: var(--brand); }
.summary dl { margin: 0; display: grid; gap: 12px; }
.summary dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.summary dd { margin: 2px 0 0; font-weight: 700; color: var(--brand); }
.summary .note { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (max-width: 960px) { .summary { position: static; } }

.booked { text-align: center; padding: 28px 8px; }
.booked__icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--ball); display: grid; place-items: center; color: var(--brand); font: 900 30px/1 var(--f-display); }
.booked h3 { font: 800 26px/1.15 var(--f-display); color: var(--brand); margin: 0 0 8px; }
.booked .actions { justify-content: center; }

.skeleton { height: 18px; border-radius: 6px; background: linear-gradient(90deg, var(--line), var(--surface), var(--line)); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ------------------------------------------------------------ locations --- */
.locations { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.loc { padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 6px; }
.loc h3 { margin: 0; font: 800 19px/1.2 var(--f-display); color: var(--brand); }
.loc p { margin: 0; color: var(--muted); }
.loc a { font-weight: 700; color: var(--brand-2); }

/* ---------------------------------------------------------- testimonials --- */
.testimonials { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.quote { margin: 0; padding: 24px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.quote p { margin: 0; font-size: 17px; line-height: 1.55; }
.quote footer { margin-top: auto; font-weight: 700; color: var(--brand); }
.stars { display: inline-flex; gap: 2px; color: #C79A00; letter-spacing: 2px; }
.stars i { display: inline-flex; width: 18px; height: 18px; }
.stars i svg { width: 100%; height: 100%; fill: rgba(11, 24, 48, .14); }
.stars i.on svg { fill: #F2B300; }
.rating-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: -6px 0 26px; padding: 18px 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.rating-head__score { display: flex; align-items: baseline; gap: 6px; color: var(--brand); }
.rating-head__value { font: 900 54px/1 var(--f-display); font-stretch: 112%; }
.rating-head__max { font: 800 20px var(--f-display); color: var(--muted); }
.rating-head p { margin: 4px 0 0; }
.rating-head .muted { font-size: 14px; }
.quote--review { gap: 10px; }
.quote--review .stars i { width: 16px; height: 16px; }
.quote footer small { display: block; font-weight: 500; font-size: 13px; color: var(--muted); margin-top: 2px; }
.quote__empty { font-size: 15px !important; font-style: italic; }
.quote__reply { margin: 0; padding: 10px 14px; border-left: 3px solid var(--brand-2); background: var(--surface); border-radius: 0 10px 10px 0; font-size: 14px; line-height: 1.5; }
.quote__reply b { display: block; color: var(--brand); margin-bottom: 2px; }
.reviews-more { margin-top: 18px; text-align: center; }
.hero-rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 18px; color: var(--on-brand); text-decoration: none; font-size: 14px; }
.hero-rating b { font-size: 16px; }
.hero-rating span:last-child { color: var(--on-brand-muted); }
.hero-rating .stars i svg { fill: rgba(255, 255, 255, .25); }
.hero-rating .stars i.on svg { fill: #F2B300; }

/* -------------------------------------------------------------- contact --- */
.contact { background: var(--brand); color: var(--on-brand); }
.contact__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.contact__side { display: grid; gap: 0; min-width: 0; }
.contact__side .contact__list { margin-top: 18px; }
.contact__lead { color: var(--on-brand-muted); max-width: 46ch; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact__list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .07); min-width: 0; }
.contact__list .k { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-brand-muted); }
.contact__list .v { font-weight: 700; user-select: all; overflow-wrap: anywhere; }
.contact__list a { color: var(--ball); font-weight: 700; white-space: nowrap; }
@media (max-width: 860px) { .contact__in { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- footer --- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .7); font-size: 14px; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 80px); }
.footer__in { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-block: 22px; }
.footer__made { margin-left: auto; }
.footer a { color: inherit; }

/* ------------------------------------------------------- formulaire de contact --- */
.contact-form { background: var(--card); color: var(--ink); border-radius: var(--r); padding: 24px; display: grid; gap: 14px; min-width: 0; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.contact-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form__grid .full { grid-column: 1 / -1; }
.contact-form .opt { font-weight: 500; color: var(--muted); }
.contact-form__note { margin: 0; font-size: 13px; color: var(--muted); }
.contact-form__note a { color: var(--brand-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-sent { text-align: center; padding: 26px 8px; display: grid; gap: 10px; justify-items: center; }
.contact-sent .booked__icon { margin: 0; }
.contact-sent h3 { margin: 0; font: 800 24px/1.2 var(--f-display); color: var(--brand); }
.contact-sent p { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .contact-form__grid { grid-template-columns: 1fr; } .contact-form { padding: 18px; } }
@media (min-width: 861px) { .footer { padding-bottom: 0; } }

/* --------------------------------------------------------- floating UI --- */
.whatsapp {
  position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(88px + env(safe-area-inset-bottom, 0px)); z-index: 25;
  width: 54px; height: 54px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
}
.whatsapp svg { width: 28px; height: 28px; fill: #fff; }
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 24; background: var(--card); border-top: 1px solid var(--line);
  padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
}
@media (min-width: 861px) {
  .mobile-cta { display: none; }
  .whatsapp { bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
}

.modal { position: fixed; inset: 0; z-index: 50; background: rgba(11, 24, 48, .6); display: grid; place-items: center; padding: 16px; }
.modal__card { background: var(--card); border-radius: var(--r); padding: 28px; max-width: 560px; width: 100%; max-height: 85vh; overflow: auto; }
.modal__card p { color: var(--muted); }

/* ------------------------------------------------- page de réservation --- */
.manage { max-width: 640px; margin: 40px auto; }
.manage .panel { padding: 28px; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status--confirmed { background: #E7F6EE; color: var(--ok); }
.status--pending { background: #FFF4DE; color: var(--warn); }
.status--cancelled { background: #FDECEA; color: var(--err); }
.status--completed, .status--no_show { background: var(--surface); color: var(--muted); }

/* --------------------------------------------------------------- galerie --- */
.section--dark { background: var(--ink); color: var(--on-brand); }
.gal-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 8px; }
.gal-head__note { margin: 0 0 18px; color: rgba(255, 255, 255, .62); font-size: 14px; }
/* Mosaïque : groupes de 5 photos (1 grande + 4 petites) qui remplissent exactement 2 rangées ; le dernier groupe s'adapte. */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 170px; grid-auto-flow: dense; gap: 10px; }
.gal-item { position: relative; margin: 0; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--brand-2); color: inherit; font: inherit; text-align: left; }
.g-big { grid-column: span 2; grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-pano { grid-column: span 4; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.gal-item:hover img { transform: scale(calc(var(--fz, 1) * 1.04)); }
.gal-item__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px; font-size: 13px; font-weight: 600; color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, .65), transparent); opacity: 0; transition: opacity .2s ease;
}
.gal-item:hover .gal-item__cap, .gal-item:focus-visible .gal-item__cap { opacity: 1; }
.gal-item .ph__label { font-size: 13px; }
.gal-more { display: flex; justify-content: center; margin-top: 18px; }
.gal-more:empty { display: none; }
@media (hover: none) { .gal-item__cap { opacity: 1; } }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 130px; gap: 8px; }
  .g-pano { grid-column: span 2; }
  .gal-item:not(.g-big):not(.g-wide):not(.g-pano) :is(.ph__tag, .ph__icon) { display: none; }
  .gal-item:not(.g-big):not(.g-wide):not(.g-pano) .ph__inner { padding: 8px 10px; }
}

/* ------------------------------------------------------------ plein écran --- */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(5, 10, 20, .94); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto minmax(0, 1fr); align-items: center; color: #fff;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); touch-action: pan-y; }
.lightbox__bar { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.lightbox__count { font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .75); font-variant-numeric: tabular-nums; }
.lightbox__btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .2); }
.lightbox__btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__nav { margin: 0 12px; }
.lightbox__stage { margin: 0; height: 100%; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; padding-bottom: 20px; }
#lb-img { position: relative; min-height: 0; display: grid; place-items: center; }
#lb-img img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
#lb-img .ph { position: relative; inset: auto; width: min(100%, 720px); aspect-ratio: 4 / 3; border-radius: 12px; }
#lb-caption { text-align: center; font-size: 15px; color: rgba(255, 255, 255, .85); padding: 0 12px; }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: minmax(0, 1fr); }
  .lightbox__nav { position: absolute; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); margin: 0; }
  .lightbox__nav--prev { left: 16px; } .lightbox__nav--next { right: 16px; }
  .lightbox__stage { padding: 0 8px 80px; }
}

/* Badge « Site propulsé par PCW Padel Coach » (pied de page) : version claire ou sombre selon le fond */
.pcw-badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 10px; border-radius: 999px; text-decoration: none; font-size: 13px; line-height: 1; white-space: nowrap;
  background: #FFFFFF; color: #0E1B2C; border: 1px solid #E3E7EC; transition: transform .2s, box-shadow .2s; }
.pcw-badge b { font-weight: 800; }
.pcw-badge__mark { width: 15px; height: 18px; flex: none; }
.pcw-badge__mark--on-dark { display: none; }
.pcw-badge--dark { background: #0E1B2C; color: #FFFFFF; border-color: rgba(255, 255, 255, .14); }
.pcw-badge--dark .pcw-badge__mark--on-light { display: none; }
.pcw-badge--dark .pcw-badge__mark--on-dark { display: block; }
.footer a.pcw-badge { color: #0E1B2C; }
.footer a.pcw-badge--dark { color: #FFFFFF; }
.pcw-badge:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
@media (max-width: 560px) { .footer__made { margin-left: 0; } }

/* Recadrage choisi par le coach : point gardé au centre et zoom. */
.shot img, .coach__portrait img, .gal-item img {
  object-position: var(--fx, 50%) var(--fy, 50%); transform: scale(var(--fz, 1)); transform-origin: var(--fx, 50%) var(--fy, 50%);
}

/* --------------------------------------------------- stages, packs --- */
.stages { display: grid; gap: 16px; margin-top: 12px; }
.stage { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.stage__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.stage__title { margin: 0; font: 800 22px/1.2 var(--f-display); font-stretch: 108%; color: var(--brand); }
.stage__when { margin: 0; font-weight: 700; }
.stage__desc { margin: 0; color: var(--muted); white-space: pre-line; }
.stage__action { margin-top: 6px; }
.stage-form { display: grid; gap: 12px; padding: 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.stage-form .check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.stage-form .check input { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.stage-form__bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.stage-form__note, .pack-note { margin: 0; font-size: 13px; }
.pack-note { margin-top: 16px; }

/* ------------------------------------------------------- menu mobile --- */
.burger { display: none; width: 44px; height: 44px; margin-left: 8px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 12px; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0; }
.burger span { display: block; width: 20px; height: 2px; background: var(--on-brand); border-radius: 2px; }
.mobile-menu { display: none; border-top: 1px solid rgba(255, 255, 255, .18); background: var(--brand); padding: 8px 20px 16px; }
.mobile-menu a { display: block; padding: 14px 4px; color: var(--on-brand); font-weight: 600; font-size: 17px; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a:last-child { color: var(--ball); }
@media (max-width: 860px) { .burger { display: flex; } .mobile-menu:not([hidden]) { display: block; } .topbar .btn { margin-left: auto; } }
