/* FitBinome — page de présentation (mêmes couleurs et polices que l'appli) */
:root {
  --bg: #131417; --bg2: #17191D; --surface: #1D1F24; --raised: #262930; --line: #2E3138;
  --text: #F2F1EC; --muted: #A7AAAF; --accent: #C6F24E; --on-accent: #131417;
  --display: 'Anton', 'Impact', sans-serif; --body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --r: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.hl { color: var(--accent); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--accent); color: var(--on-accent); }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 999px;
  font: 700 16px/1 var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, background .15s ease, box-shadow .15s ease; }
.btn:active { transform: scale(.97); }
.btn-pri { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 30px -12px rgb(198 242 78 / .6); }
.btn-pri::after { content: '→'; font-weight: 700; transition: transform .15s ease; }
@media (hover: hover) and (pointer: fine) { .btn-pri:hover { background: #d3f76c; } .btn-pri:hover::after { transform: translateX(3px); } .btn-ghost:hover { background: var(--surface); } }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-lg { min-height: 60px; padding: 0 34px; font-size: 18px; }

/* en-tête */
.hdr { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); padding-top: env(safe-area-inset-top); }
.hdr-in { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font: 400 24px/1 var(--display); letter-spacing: .3px; text-decoration: none; color: var(--text); }
.logo-mark { width: 22px; height: 22px; border-radius: 7px; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h18v4H3zM3 10h12v4H3zM3 16h7v4H3z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h18v4H3zM3 10h12v4H3zM3 16h7v4H3z'/%3E%3C/svg%3E") center/contain no-repeat; }
.hdr-nav { display: none; gap: 24px; margin-left: auto; }
.hdr-nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.hdr-nav a:hover { color: var(--text); }
.hdr-cta { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.lnk-login { font-weight: 700; font-size: 15px; text-decoration: none; color: var(--text); padding: 10px 2px; }
.hdr-cta .btn { display: none; }
@media (min-width: 960px) { .hdr-nav { display: flex; } .hdr-cta { margin-left: 8px; } .hdr-cta .btn { display: inline-flex; } }

/* haut de page */
.hero { position: relative; overflow: hidden; padding: 48px 0 40px;
  background: radial-gradient(900px 500px at 85% 10%, rgb(198 242 78 / .14), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgb(198 242 78 / .06), transparent 60%); }
.hero-in { display: grid; gap: 40px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--muted); }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgb(198 242 78 / .18); }
.hero h1 { margin-top: 18px; font: 400 clamp(44px, 11vw, 84px)/.98 var(--display); text-transform: uppercase; letter-spacing: .2px; }
.lead { margin-top: 18px; font-size: clamp(17px, 2.2vw, 20px); color: #D2D3D6; max-width: 560px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-btns .btn { flex: 1 1 200px; }
.hero-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.hero-points li { display: flex; align-items: center; gap: 10px; }
.hero-points li::before { content: ''; width: 18px; height: 18px; flex: none; border-radius: 50%; background: rgb(198 242 78 / .16)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C6F24E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat; }
.hero-phones { position: relative; height: 520px; max-width: 420px; margin: 0 auto; width: 100%; }
@media (min-width: 960px) {
  .hero { padding: 72px 0 80px; }
  .hero-in { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .hero-btns .btn { flex: 0 0 auto; }
  .hero-phones { height: 620px; max-width: none; }
}

/* cadres de téléphone */
.phone { margin: 0; border-radius: 38px; padding: 10px; background: #0B0C0E; border: 1px solid #2A2D33;
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / .8), inset 0 0 0 2px #1A1C20; }
.phone img { border-radius: 29px; width: 100%; aspect-ratio: 585 / 1266; object-fit: cover; object-position: top; background: var(--surface); }
.hero-phones .phone { position: absolute; width: 250px; }
.hero-phones .phone-front { left: 50%; top: 0; transform: translateX(-20%) rotate(2deg); z-index: 2; }
.hero-phones .phone-back { left: 50%; top: 50px; transform: translateX(-85%) rotate(-6deg); opacity: .75; filter: saturate(.9); }
@media (min-width: 960px) { .hero-phones .phone { width: 290px; } }

/* sections */
.sec { padding: 72px 0; }
.sec-alt { background: var(--bg2); border-block: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.sec h2, .final h2 { margin-top: 10px; font: 400 clamp(34px, 6vw, 56px)/1.02 var(--display); text-transform: uppercase; max-width: 820px; }
.lead-sm { margin-top: 14px; color: #CFD0D3; max-width: 640px; }
.lead-sm a { color: var(--accent); }
@media (min-width: 960px) { .sec { padding: 104px 0; } }

/* comment ça marche */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 40px; }
.step { display: grid; gap: 22px; align-items: center; }
.step .phone { width: min(280px, 78vw); margin-inline: auto; }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 400 22px/1 var(--display); }
.step h3 { margin-top: 12px; font-size: 22px; font-weight: 800; }
.step p { margin-top: 8px; color: #CFD0D3; }
.step-txt { max-width: 460px; margin-inline: auto; }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .step { align-items: start; }
  .step .phone { width: 100%; max-width: 300px; }
  .step-txt { margin: 0; }
}

/* pourquoi */
.why { margin-top: 40px; display: grid; gap: 14px; }
.tile { padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.tile h3 { margin-top: 14px; font-size: 20px; font-weight: 800; }
.tile p { margin-top: 8px; color: #C9CACD; font-size: 16px; }
.tile-big { display: grid; gap: 22px; align-items: center; overflow: hidden;
  background: linear-gradient(150deg, rgb(198 242 78 / .12), var(--surface) 55%); border-color: rgb(198 242 78 / .25); }
.tile-big .phone-sm { width: 220px; margin: 0 auto -120px; }
.ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgb(198 242 78 / .14); }
.ic::before { content: ''; width: 24px; height: 24px; background: var(--accent); -webkit-mask: var(--m) center/contain no-repeat; mask: var(--m) center/contain no-repeat; }
.ic-flame { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 3c1 3.5 5 5.5 5 10a5 5 0 0 1-10 0c0-2.2 1-3.6 2-4.6.2 1.8 1 2.6 1.9 3 0-3.2.4-5.9 1.1-8.4Z'/%3E%3C/svg%3E"); }
.ic-shield { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 4.5 3.4 8 8 9 4.6-1 8-4.5 8-9V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.ic-dumbbell { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 7v10M3 9v6M18 7v10M21 9v6M6 12h12'/%3E%3C/svg%3E"); }
.ic-trophy { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M8 4h8v5a4 4 0 0 1-8 0zM8 6H5a3 3 0 0 0 3 4M16 6h3a3 3 0 0 1-3 4M12 13v4M8 20h8M9 17h6'/%3E%3C/svg%3E"); }
.ic-gift { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M4 10h16v10H4zM3 7h18v3H3zM12 7v13M12 7c-1.5-3-5-3-5-1s3 1 5 1c2 0 5 1 5-1s-3.5-2-5 1'/%3E%3C/svg%3E"); }
.ic-pin { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.2 7-12a7 7 0 0 0-14 0c0 5.8 7 12 7 12z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E"); }
@media (min-width: 760px) { .why { grid-template-columns: repeat(2, 1fr); } .tile-big { grid-column: 1 / -1; grid-template-columns: 1fr 260px; } .tile-big .phone-sm { margin: 0 0 -140px; } }
@media (min-width: 1080px) { .why { grid-template-columns: repeat(3, 1fr); } .tile-big { grid-column: span 2; grid-row: span 2; grid-template-columns: 1fr 240px; padding: 32px; } .tile-big h3 { font-size: 26px; } }

/* installer */
.install { margin-top: 32px; display: grid; gap: 14px; }
.inst { padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.inst h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; }
.inst ol { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.inst li { counter-increment: s; position: relative; padding: 5px 0 0 44px; min-height: 32px; color: #D2D3D6; line-height: 1.5; }
.inst li::before { content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--raised); font-weight: 800; color: var(--accent); }
.inst .btn { margin-top: 18px; }
.inst .btn[hidden] { display: none; }
.kbd { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 8px; background: var(--raised); border: 1px solid var(--line); font-size: 14px; }
.os { width: 26px; height: 26px; background: var(--text); -webkit-mask: var(--m) center/contain no-repeat; mask: var(--m) center/contain no-repeat; }
.os-ios { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='6' y='2.5' width='12' height='19' rx='3'/%3E%3Cpath d='M10.5 18.5h3'/%3E%3C/svg%3E"); }
.os-and { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='5' y='2.5' width='14' height='19' rx='2'/%3E%3Cpath d='M5 6h14M5 18h14'/%3E%3C/svg%3E"); }
@media (min-width: 760px) { .install { grid-template-columns: 1fr 1fr; } }

/* gérants */
.gym { display: grid; gap: 28px; align-items: center; }
.gym-card { padding: 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 20px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.checks li::before { content: ''; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--accent)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23131417' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }
@media (min-width: 960px) { .gym { grid-template-columns: 1.3fr 1fr; gap: 56px; } }

/* questions */
.faq-wrap { display: grid; gap: 28px; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; display: grid; place-items: center;
  border-radius: 50%; background: var(--raised); color: var(--accent); font-size: 18px; transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: #C9CACD; }
.faq details a { color: var(--accent); }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; } .faq-wrap > div:first-child { position: sticky; top: 100px; } }

/* dernier appel */
.final { padding: 80px 0 96px; text-align: center; background: radial-gradient(700px 360px at 50% 0%, rgb(198 242 78 / .16), transparent 70%); }
.final-in { display: grid; justify-items: center; gap: 18px; }
.final h2 { max-width: none; }
.final p { color: #CFD0D3; max-width: 520px; }

/* pied de page */
.ftr { border-top: 1px solid var(--line); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); }
.ftr-in { display: grid; gap: 14px; }
.ftr-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ftr-links a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 6px 0; }
.ftr-links a:hover { color: var(--text); }

/* bouton collé en bas sur téléphone */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--bg) 70%, transparent); transform: translateY(110%); transition: transform .25s ease; }
.sticky-cta .btn { width: 100%; }
.sticky-cta.is-on { transform: none; }
.sticky-cta[hidden] { display: none; }
@media (min-width: 960px) { .sticky-cta { display: none !important; } }

/* apparition douce au défilement */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
[hidden] { display: none !important; }
