/* Physiorun · maquette Forge v3 : l'« après » de la méthode de l'ami (UGC, Atbike, Carglow) aux couleurs de Physiorun */
@font-face { font-family: "Manrope"; src: url("fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --night: #0a2c33;      /* bleu pétrole profond, tiré du turquoise du logo */
  --night-2: #0f3a42;
  --turq: #2fb3c1;       /* turquoise du logo Physiorun */
  --turq-ink: #062329;
  --sand: #f5f3ef;       /* le blanc chaud des murs et du bois clair */
  --bg: #ffffff;
  --ink: #0d1b1e;
  --grey: #56636a;
  --mute: #8a959a;
  --line: rgba(13, 27, 30, .1);
  --r-xl: 28px;
  --r-card: 24px;
  --r-btn: 12px;
  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --band: 32px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --edge: max(var(--pad), calc((100vw - var(--wrap)) / 2));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 "Manrope", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
button { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.only-touch { display: none; }
@media (max-width: 899px) { .only-touch { display: inline; } .only-desk, .only-desk-flex { display: none !important; } }

/* Bandeau Forge */
.forge-band { position: fixed; inset: 0 0 auto; z-index: 80; height: var(--band); display: flex; align-items: center; justify-content: center; background: #000; color: #fff; font-size: 12.5px; font-weight: 500; }
.forge-band .short { display: none; }
@media (max-width: 640px) { .forge-band .long { display: none; } .forge-band .short { display: inline; } }

/* Verre précis (Edge) */
.glass { background: rgba(255, 255, 255, .13); -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 1px 0 rgba(255, 255, 255, .35), 0 24px 48px -24px rgba(0, 0, 0, .45); color: #fff; }
.glass-light { background: rgba(255, 255, 255, .56); -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8); box-shadow: inset 0 0 0 1px rgba(13, 27, 30, .07), 0 18px 40px -24px rgba(13, 27, 30, .35); }

/* Logo proposé */
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -.035em; color: #fff; }
.brand--ink { color: var(--ink); }
.brand__mark { width: 28px; height: 28px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 42px; padding: 0 18px; border-radius: var(--r-btn); font: 600 14px/1 "Manrope", sans-serif; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; cursor: pointer; border: 0; transition: transform .25s var(--ease), background .25s, box-shadow .25s; }
.btn svg { width: 18px; height: 18px; }
.btn--lg { height: 52px; padding: 0 24px; font-size: 15px; }
.btn--white { background: #fff; color: var(--ink); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .5); }
.btn--white:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .55); }
.btn--brand { background: var(--turq); color: var(--turq-ink); }
.btn--brand:hover { background: #45c2cf; transform: translateY(-1px); }
.btn--glass { background: rgba(255, 255, 255, .14); color: #fff; -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.btn--glass:hover { background: rgba(255, 255, 255, .22); }
.btn--soft { background: var(--sand); color: var(--ink); }
.btn--soft:hover { background: #ece9e3; }
.btn:active { transform: scale(.98); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--turq); outline-offset: 3px; }

/* Titres */
.h2 { font-weight: 500; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -.04em; }
.h2--light { color: #fff; }
.sub { margin-top: 16px; font-size: 17px; color: var(--grey); max-width: 46ch; }
.sub--light { color: rgba(255, 255, 255, .74); }
h3 { font-weight: 600; font-size: 17px; letter-spacing: -.02em; line-height: 1.3; }

/* 1. La scène du haut de page */
.hero { padding: calc(var(--band) + 10px) 10px 0; }
.stage { position: relative; height: calc(100svh - var(--band) - 20px); min-height: 600px; max-height: 1000px; border-radius: var(--r-xl); overflow: hidden; background: var(--night); isolation: isolate; transform-origin: 50% 100%; }
.stage__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 32%; z-index: -2; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(6, 30, 36, .94) 0%, rgba(6, 30, 36, .8) 30%, rgba(6, 30, 36, .25) 55%, rgba(6, 30, 36, 0) 70%),
  linear-gradient(0deg, rgba(6, 30, 36, .55) 0%, rgba(6, 30, 36, 0) 40%),
  linear-gradient(180deg, rgba(6, 30, 36, .45) 0%, rgba(6, 30, 36, 0) 22%); }
.nav { position: absolute; inset: 22px 28px auto; display: flex; align-items: center; justify-content: space-between; z-index: 2; }
.nav__pill { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; padding: 5px; border-radius: 999px; }
.nav__pill a { padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; color: rgba(255, 255, 255, .86); transition: background .25s, color .25s; }
.nav__pill a:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.hero__copy { position: absolute; left: clamp(28px, 4.5vw, 72px); bottom: clamp(32px, 7vh, 72px); max-width: 640px; color: #fff; }
.hero__title { font-weight: 500; font-size: clamp(52px, 6.6vw, 104px); line-height: .98; letter-spacing: -.055em; }
.hero__lead { margin-top: 22px; font-size: 18px; line-height: 1.5; color: rgba(255, 255, 255, .8); max-width: 44ch; }
.hero__actions { margin-top: 30px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero__proof { position: absolute; right: clamp(24px, 3vw, 40px); bottom: clamp(32px, 7vh, 72px); padding: 18px 22px; border-radius: 20px; min-width: 200px; }
.hero__stars { display: block; font-size: 15px; letter-spacing: .16em; color: #fff; }
.hero__proof p { margin-top: 6px; font-size: 15px; }
.hero__proof b { font-size: 26px; font-weight: 600; letter-spacing: -.03em; margin-right: 4px; }
.hero__mini { display: none; }
.hero__count { color: rgba(255, 255, 255, .72); font-size: 13.5px !important; margin-top: 2px !important; }

/* Entrée : la scène arrive inclinée et se pose (UGC), le texte monte */
.js .stage { transform: perspective(1800px) rotateX(9deg) scale(.94); opacity: .001; transition: transform 1.5s var(--ease), opacity .8s var(--ease); }
.js .stage__img { transform: scale(1.1); transition: transform 2.6s var(--ease); }
.is-in .stage { transform: none; opacity: 1; }
.is-in .stage__img { transform: none; }
.js [data-in] { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .nav[data-in] { transform: none; }
.is-in [data-in] { opacity: 1; transform: none; }
.is-in .nav { transition-delay: .5s; }
.is-in .hero__title { transition-delay: .55s; }
.is-in .hero__lead { transition-delay: .65s; }
.is-in .hero__actions { transition-delay: .75s; }
.is-in .hero__proof { transition-delay: .9s; }

/* Apparitions au défilement */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-seen { opacity: 1; transform: none; }

/* Barre du haut après la scène */
.bar { position: fixed; z-index: 60; top: calc(var(--band) + 10px); left: 50%; width: min(1180px, calc(100% - 20px)); height: 58px; padding: 0 8px 0 18px; display: flex; align-items: center; gap: 24px; border-radius: 18px; transform: translate(-50%, -160%); transition: transform .5s var(--ease); }
.bar.is-on { transform: translate(-50%, 0); }
.bar__links { display: flex; gap: 26px; margin-left: auto; margin-right: 8px; }
.bar__links a { font-size: 14px; color: var(--grey); text-decoration: none; }
.bar__links a:hover { color: var(--ink); }
.bar .brand { font-size: 17px; }
.bar .brand__mark { width: 24px; height: 24px; }

/* 2. Soins : les cartes « À l'affiche » */
.soins { padding: clamp(96px, 13vh, 150px) 0 clamp(80px, 11vh, 130px); overflow: hidden; }
.soins__head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 36px; }
.rail-nav { display: flex; gap: 10px; }
.round { width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; transition: transform .25s var(--ease); }
.round:hover { transform: scale(1.06); }
.round svg { width: 18px; height: 18px; }
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--edge) 24px; scroll-padding-left: var(--edge); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.card { position: relative; flex: 0 0 clamp(270px, 25vw, 340px); aspect-ratio: 3 / 4; border-radius: var(--r-card); overflow: hidden; scroll-snap-align: start; background: var(--night); color: #fff; isolation: isolate; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.card::before { content: ""; position: absolute; inset: 40% 0 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 30, 36, .88), rgba(6, 30, 36, 0)); }
.card:hover img { transform: scale(1.04); }
.card__body { position: absolute; left: 22px; right: 22px; bottom: 22px; }
.card__body h3 { font-size: 21px; font-weight: 600; letter-spacing: -.03em; }
.card__body p { margin-top: 6px; font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, .78); }

/* 3. Coureurs : la section aux couleurs de la marque */
.run { background: var(--night); color: #fff; padding: clamp(96px, 14vh, 160px) 0; overflow: hidden; }
.run__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.run__label { width: 190px; padding: 10px 14px; background: #fff; border-radius: 14px; margin-bottom: 32px; }
.laps { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 32px; }
.laps p { margin-top: 6px; font-size: 15px; color: rgba(255, 255, 255, .66); }
.tilt { perspective: 1600px; }
.tilt__card { position: relative; border-radius: var(--r-card); overflow: hidden; transform-origin: 50% 100%; transform: rotateX(calc(var(--t, 1) * 24deg)) rotateZ(calc(var(--t, 1) * -3deg)) scale(calc(1 - var(--t, 1) * .1)); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .7); will-change: transform; }
.tilt__card > img { width: 100%; aspect-ratio: 4 / 3.6; object-fit: cover; object-position: 50% 30%; }
.tilt__glass { position: absolute; left: 20px; bottom: 20px; padding: 16px 18px; border-radius: 18px; max-width: 300px; }
.tilt__k { font-weight: 600; font-size: 16px; }
.tilt__glass p + p { margin-top: 4px; font-size: 14px; color: rgba(255, 255, 255, .8); }

/* 4. Le cabinet (Atbike) */
.cab__full { position: relative; height: clamp(600px, 100svh, 980px); overflow: hidden; color: #fff; isolation: isolate; }
.cab__full > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cab__full::before { content: ""; position: absolute; inset: 40% 0 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 30, 36, .78), rgba(6, 30, 36, 0)); }
.cab__over { position: absolute; left: 0; right: 0; bottom: clamp(40px, 8vh, 80px); }
.cab__over p { margin-top: 16px; font-size: 17px; color: rgba(255, 255, 255, .84); max-width: 50ch; }
.cab__trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 16px; }
.cab__trio img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); }
.cab__trio figcaption { margin-top: 12px; font-size: 14.5px; font-weight: 500; color: var(--grey); }

/* 5. Équipe */
.team { padding: clamp(96px, 13vh, 150px) 0; }
.team__head { align-self: end; padding: 0 12px 12px 0; }
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.team__grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-card); background: var(--sand); transition: transform .6s var(--ease); }
.team__grid li:hover img { transform: translateY(-4px); }

/* 6. Avis */
.avis { background: var(--sand); padding: clamp(96px, 13vh, 150px) 0; }
.avis__grid { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; }
.avis__big { font-weight: 500; font-size: clamp(80px, 10vw, 140px); line-height: .9; letter-spacing: -.06em; }
.avis__stars { margin-top: 18px; font-size: 19px; letter-spacing: .16em; color: var(--ink); }
.avis__count { margin-top: 6px; color: var(--grey); font-size: 15px; }
.quotes { display: grid; gap: 16px; }
.quotes li { background: #fff; border-radius: var(--r-card); padding: 28px 32px; }
.quotes blockquote { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; letter-spacing: -.015em; }
.quotes p { margin-top: 14px; color: var(--mute); font-size: 14px; }

/* 7. Rendez-vous */
.rdv { padding: clamp(24px, 4vh, 48px) 0 clamp(80px, 11vh, 130px); }
.rdv__card { position: relative; border-radius: var(--r-xl); overflow: hidden; padding: clamp(36px, 6vw, 88px); color: #fff; background: var(--night); isolation: isolate; min-height: 520px; display: flex; align-items: end; }
.rdv__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.rdv__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 30, 36, .92) 0%, rgba(6, 30, 36, .74) 45%, rgba(6, 30, 36, .3) 100%); }
.rdv__txt { max-width: 620px; }
.rdv__today { margin-top: 22px; font-size: 15px; font-weight: 600; color: var(--turq); }
.rdv__actions { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
.rdv__alt { margin-top: 20px; display: flex; gap: 22px; font-size: 14.5px; }
.rdv__alt a { color: rgba(255, 255, 255, .82); text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .35); }
.venir { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 48px; margin-top: 56px; }
.venir h3 { margin-bottom: 12px; }
.venir p { color: var(--grey); margin-bottom: 12px; }
.link { color: var(--ink); text-underline-offset: 4px; text-decoration-color: rgba(13, 27, 30, .3); }
.hours { border-collapse: collapse; width: 100%; max-width: 300px; font-size: 15px; }
.hours th, .hours td { padding: 4px 0; text-align: left; font-weight: 400; color: var(--grey); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--ink); font-weight: 600; }
.venir__map iframe { width: 100%; height: 100%; min-height: 240px; border: 0; border-radius: 20px; filter: grayscale(.35); }

/* Pied */
.foot { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.foot__in { display: grid; gap: 12px; font-size: 14px; color: var(--grey); }
.foot .brand { font-size: 17px; }
.foot .brand__mark { width: 24px; height: 24px; }
.foot__forge { color: var(--mute); font-size: 13px; }

/* Dock du téléphone */
.dock { display: none; }

/* Fiche de rendez-vous */
.sheet { width: min(420px, calc(100% - 32px)); padding: 32px; border: 0; border-radius: var(--r-xl); background: #fff; color: var(--ink); box-shadow: 0 30px 80px -20px rgba(6, 30, 36, .45); }
.sheet::backdrop { background: rgba(6, 30, 36, .4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sheet[open] { animation: sheet-in .4s var(--ease); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.sheet__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--sand); font-size: 20px; cursor: pointer; }
.sheet__title { font-weight: 500; font-size: 28px; letter-spacing: -.035em; }
.sheet__today { margin-top: 8px; color: var(--grey); font-size: 15px; }
.sheet__actions { margin-top: 24px; display: grid; gap: 10px; }

/* Tablette et téléphone */
@media (max-width: 1080px) {
  .nav__pill { display: none; }
  .run__grid { grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 899px) {
  .hero { padding: calc(var(--band) + 8px) 8px 0; }
  .stage { height: calc(100svh - var(--band) - 16px); min-height: 560px; border-radius: 24px; }
  .stage__img { object-position: 57% 40%; }
  .stage::before { background:
    linear-gradient(0deg, rgba(6, 30, 36, .94) 0%, rgba(6, 30, 36, .7) 30%, rgba(6, 30, 36, 0) 58%),
    linear-gradient(180deg, rgba(6, 30, 36, .5) 0%, rgba(6, 30, 36, 0) 20%); }
  .nav { inset: 16px 16px auto; }
  .nav__cta { height: 38px; padding: 0 16px; }
  .hero__copy { left: 20px; right: 20px; bottom: 20px; text-align: center; }
  .hero__title { font-size: clamp(42px, 12vw, 54px); }
  .hero__lead { font-size: 15.5px; margin: 14px auto 0; }
  .hero__actions { margin-top: 22px; }
  .hero__actions .btn { width: 100%; }
  .hero__mini { display: block; margin-bottom: 12px; font-size: 13.5px; color: rgba(255, 255, 255, .85); }
  .hero__mini span { letter-spacing: .14em; margin-right: 6px; }
  .hero__proof { display: none; top: 70px; right: 16px; bottom: auto; min-width: 0; padding: 10px 14px; border-radius: 16px; }
  .hero__proof b { font-size: 18px; }
  .hero__stars { font-size: 12px; }
  .hero__proof p { margin-top: 2px; font-size: 13px; }
  .hero__count { display: none; }

  .bar { height: 52px; padding: 0 6px 0 14px; border-radius: 16px; }
  .bar__links { display: none; }
  .bar .btn { margin-left: auto; height: 40px; }

  .soins__head { margin-bottom: 24px; }
  .rail-nav { display: none; }
  .card { flex-basis: 78vw; }
  .h2 { font-size: clamp(30px, 8vw, 38px); }
  .sub { font-size: 16px; }
  .laps { grid-template-columns: 1fr; gap: 20px; }
  .cab__full { height: 82svh; min-height: 520px; }
  .cab__trio { grid-template-columns: 1fr 1fr; }
  .cab__trio figure:first-child { grid-column: 1 / -1; }
  .team__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .team__head .sub { font-size: 14px; margin-top: 8px; }
  .avis__grid { grid-template-columns: 1fr; gap: 40px; }
  .quotes li { padding: 22px; }
  .rdv__card { min-height: 0; padding: 32px 24px; border-radius: 24px; }
  .rdv__card::before { background: linear-gradient(0deg, rgba(6, 30, 36, .95) 30%, rgba(6, 30, 36, .55) 100%); }
  .rdv__actions .btn { width: 100%; }
  .venir { grid-template-columns: 1fr; gap: 36px; margin-top: 40px; }
  .foot { padding-bottom: 120px; }

  .dock { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); height: 66px; padding: 0 6px; border-radius: 24px; background: rgba(10, 44, 51, .42); -webkit-backdrop-filter: blur(26px) saturate(1.9); backdrop-filter: blur(26px) saturate(1.9); transform: translateY(150%); transition: transform .5s var(--ease); }
  .dock.is-on { transform: none; }
  .dock a { display: grid; justify-items: center; gap: 3px; text-decoration: none; font-size: 10.5px; font-weight: 500; color: rgba(255, 255, 255, .8); }
  .dock a svg { width: 21px; height: 21px; }
  .dock__call { width: 52px; height: 52px; margin: 0 auto; border-radius: 50%; background: var(--turq); color: var(--turq-ink) !important; place-items: center; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .45); }
  .dock__call svg { width: 22px !important; height: 22px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .stage, .js .stage__img, .js [data-in], .js [data-reveal] { opacity: 1; transform: none; }
  .tilt__card { transform: none !important; }
}

/* Tablette en portrait : deux cartes visibles, dock resserré */
@media (min-width: 600px) and (max-width: 899px) {
  .card { flex-basis: 44vw; }
  .dock { left: 50%; right: auto; width: 460px; margin-left: -230px; }
}
