/* MPS CLUB PRO — site vitrine. Une famille (Archivo), la largeur fait la différence : titres élargis, texte normal. */
:root {
  --ink: #121318;
  --ink-2: #1c1e25;
  --paper: #f4f5f7;
  --card: #ffffff;
  --line: #e3e5ea;
  --muted: #5d6270;
  --red: #c8102e;
  --red-hi: #e10f25;
  --gym: #c8102e;
  --pool: #0e7490;
  --padel: #1d4ed8;
  --foot: #15803d;
  --spa: #be185d;
  --wa: #16a34a;
  --r: 18px;
  --wrap: 1180px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red-hi); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 12px; }

/* Titres : Archivo élargi, serré */
h1, h2, h3, .display { font-stretch: 125%; font-weight: 800; letter-spacing: -0.02em; line-height: 1.04; margin: 0; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.25rem; font-stretch: 112%; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 66ch; }
.lead { font-size: 1.2rem; color: #3c404b; }
.dark .lead, .dark p { color: #c9ccd4; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 20; background: rgba(18, 19, 24, 0.92); backdrop-filter: saturate(150%) blur(10px); color: #fff; }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand b { font-style: italic; font-weight: 900; font-size: 1.7rem; color: var(--red-hi); font-stretch: 110%; letter-spacing: -0.03em; }
.brand span { font-weight: 700; font-stretch: 115%; font-size: 0.95rem; }
.brand span em { font-style: normal; background: var(--red); padding: 1px 6px; border-radius: 6px; margin-inline-start: 4px; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; align-items: center; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 500; font-size: 0.95rem; color: #d7d9df; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; padding: 14px 22px; border-radius: 14px; border: 0; font-size: 1rem; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hi); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-line { color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-sm { padding: 9px 14px; font-size: 0.92rem; border-radius: 11px; }
.btn svg { width: 20px; height: 20px; flex: none; }
.menu-btn { display: none; margin-inline-start: auto; background: none; border: 0; color: #fff; padding: 8px; }
@media (max-width: 980px) {
  .nav { display: none; position: absolute; inset: 68px 0 auto 0; background: var(--ink); flex-direction: column; align-items: stretch; padding: 10px 20px 20px; }
  .nav.open { display: flex; }
  .menu-btn { display: block; }
}

/* Héros */
.hero { background: var(--ink); color: #fff; padding: 72px 0 0; overflow: hidden; position: relative; }
.hero .wrap { display: grid; gap: 28px; }
.hero h1 { max-width: 15ch; }
.hero h1 .red { color: var(--red-hi); }
.hero .lead { color: #c9ccd4; max-width: 58ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { color: #8f94a1; font-size: 0.92rem; }
.stage { position: relative; margin-top: 18px; }
.laptop { border-radius: 16px 16px 0 0; background: #2a2d36; padding: 12px 12px 0; box-shadow: 0 -20px 80px rgba(200, 16, 46, 0.18); max-width: 1040px; }
.laptop img { border-radius: 8px 8px 0 0; }
.phone { position: absolute; right: 0; bottom: 36px; width: min(30%, 290px); border-radius: 34px; background: #0b0c10; padding: 9px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); }
.phone img, .phone .chat { border-radius: 26px; }
@media (max-width: 760px) { .phone { position: relative; right: auto; bottom: auto; width: 62%; margin: -120px 0 24px auto; } }

/* Conversation WhatsApp (dessinée en HTML) */
.chat { background: #e9e2d8; padding: 14px 12px 18px; display: grid; gap: 8px; font-size: 0.82rem; line-height: 1.38; color: #111; min-height: 100%; }
.chat-head { display: flex; align-items: center; gap: 10px; background: #075e54; color: #fff; margin: -14px -12px 6px; padding: 12px 14px; border-radius: 26px 26px 0 0; }
.chat-head i { width: 30px; height: 30px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 0.8rem; }
.chat-head b { display: block; font-size: 0.88rem; }
.chat-head small { opacity: 0.8; font-size: 0.72rem; }
.bubble { background: #fff; border-radius: 4px 12px 12px 12px; padding: 8px 10px 6px; max-width: 92%; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08); }
.bubble time { display: block; text-align: right; font-size: 0.66rem; color: #667; margin-top: 2px; }
.bubble.me { background: #d9fdd3; justify-self: end; border-radius: 12px 4px 12px 12px; }

/* La journée du club : bande signature */
.day { background: var(--ink-2); color: #fff; border-top: 1px solid #2a2d36; }
.day-track { display: flex; gap: 12px; overflow-x: auto; padding: 22px 0 26px; scrollbar-width: thin; }
.day-item { flex: none; display: grid; gap: 2px; padding: 12px 16px; border-radius: 14px; background: #262932; border-inline-start: 4px solid var(--c, var(--red)); min-width: 220px; }
.day-item time { font-weight: 800; font-stretch: 120%; font-size: 1.15rem; }
.day-item b { font-weight: 600; }
.day-item small { color: #a6aab5; }
.day-label { padding-top: 26px; color: #a6aab5; font-size: 0.95rem; }

/* Sections */
section { padding: 88px 0; }
.dark { background: var(--ink); color: #fff; }
.head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 760px; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .g2, .g3 { grid-template-columns: 1fr; } section { padding: 64px 0; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.card p:last-child { margin-bottom: 0; }
.card h3 { margin-bottom: 8px; }

/* Activités */
.acts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1080px) { .acts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .acts { grid-template-columns: 1fr; } }
.act { display: grid; gap: 10px; align-content: start; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--c); border-radius: var(--r); padding: 22px; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.act:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(18, 19, 24, 0.08); }
.act h3 { color: var(--c); }
.act p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.act .go { font-weight: 700; font-size: 0.92rem; }

/* Bloc image + texte */
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.split.flip { grid-template-columns: 1.25fr 1fr; }
.split.flip .split-text { order: 2; }
@media (max-width: 960px) { .split, .split.flip { grid-template-columns: 1fr; gap: 28px; } .split.flip .split-text { order: 0; } }
.shot { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(18, 19, 24, 0.12); background: #fff; overflow: hidden; }
.dark .shot { border-color: #2a2d36; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 18px; height: 18px; border-radius: 50%; background: var(--c, var(--red)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Messages */
.msg-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.msg-type { background: #1c1e25; border: 1px solid #2a2d36; border-radius: 16px; padding: 18px; }
.msg-type b { display: block; margin-bottom: 4px; }
.msg-type small { color: #a6aab5; }
.msg-phone { width: min(100%, 330px); margin-inline: auto; border-radius: 34px; background: #0b0c10; padding: 9px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); }

/* Pensé pour le Maroc */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.facts div { padding: 26px 22px 0 0; }
.facts b { display: block; font-stretch: 118%; font-size: 1.15rem; margin-bottom: 6px; }
.facts p { color: var(--muted); font-size: 0.96rem; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }

/* Étapes (vraie suite d'étapes) */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps li { list-style: none; counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 800; margin-bottom: 14px; }
.steps { padding: 0; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-weight: 800; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: #3c404b; }

/* Appel final */
.cta { background: var(--red); color: #fff; border-radius: 26px; padding: 54px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; }
.cta p { color: #ffe4e8; }
.cta .btn-red { background: #fff; color: var(--red); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; padding: 36px 26px; } .cta-actions { justify-content: flex-start; } }

/* Page activité : bandeau */
.page-hero { background: var(--ink); color: #fff; padding: 64px 0 56px; border-bottom: 6px solid var(--c); }
.page-hero .crumbs { color: #8f94a1; font-size: 0.9rem; margin-bottom: 18px; }
.page-hero .crumbs a { color: #c9ccd4; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-top: 18px; }
.page-hero .hero-cta { margin-top: 26px; }
.tag { display: inline-block; color: var(--c); background: color-mix(in srgb, var(--c) 14%, #fff); border-radius: 999px; padding: 3px 12px; font-weight: 700; font-size: 0.85rem; }

/* Pied de page */
footer { background: var(--ink); color: #c9ccd4; padding: 56px 0 30px; margin-top: 88px; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
footer h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; font-stretch: 112%; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer a { text-decoration: none; color: #c9ccd4; }
footer a:hover { color: #fff; }
footer .legal { border-top: 1px solid #2a2d36; margin-top: 36px; padding-top: 18px; font-size: 0.88rem; color: #8f94a1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) { footer .cols { grid-template-columns: 1fr 1fr; } }

/* Bouton WhatsApp flottant */
.float-wa { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(22, 163, 74, 0.4); }
.float-wa svg { width: 30px; height: 30px; }

/* Une seule entrée animée : le héros */
@media (prefers-reduced-motion: no-preference) {
  .hero .stage { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both 0.15s; }
  .hero .phone { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both 0.45s; }
  @keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
}
.page-hero .lead, .hero .lead { color: #c9ccd4; }
.steps h3 { margin-bottom: 8px; }
