/* Sito MisterFit (3 dicembre 2026): il coach dei Reel, una giornata con l'app, durata e prezzi da
   scegliere, Reel di Instagram. Stile dell'app: titoli in maiuscole normali, superfici senza bordi,
   pillole, accento #C6F24E. */

@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/BarlowCondensed-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/DMSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/DMSans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/DMSans-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #0b0d0c; --bg-2: #0e100f; --line: #161917; --surface: #151816; --surface-2: #1e221f; --surface-3: #2a2f2b;
  --text: #f3f2ee; --text-2: #a7ada8; --accent: #c6f24e; --on-accent: #0b0d0c; --accent-surface: #1a2113;
  --maxw: 1240px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text); overflow-x: hidden;
  font: 17px/1.6 "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body:has(#mf-cookie) { padding-bottom: 190px; }
h1, h2, h3 { font-family: "Barlow Condensed", "DM Sans", sans-serif; font-weight: 700; line-height: .92; margin: 0; letter-spacing: -.5px; }
p { margin: 0; }
a { color: var(--accent); }
img { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--accent); }
.muted { color: var(--text-2); }
.small { font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kick { display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1 "DM Sans", sans-serif; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.kick::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.h-xl { font-size: clamp(56px, 9vw, 124px); }
.h-l { font-size: clamp(44px, 6vw, 84px); }
.h-m { font-size: clamp(40px, 5vw, 64px); }
.h-s { font-size: 30px; }
.sec-head { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.sec-head.row { max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.sec-head.row > div:first-child { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }

/* Pulsanti */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px; border: 0; background: var(--accent); color: var(--on-accent); font: 700 16px/1 "DM Sans", sans-serif; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s; box-shadow: 0 14px 40px rgba(198,242,78,.22); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 16px 44px rgba(198,242,78,.32); color: var(--on-accent); }
.btn.ghost { background: var(--surface-2); color: var(--text); box-shadow: none; }
.btn.ghost:hover { background: var(--surface-3); color: var(--text); }
.btn.dark { background: var(--bg); color: var(--text); box-shadow: none; }
.btn.dark:hover { color: var(--text); }
.btn.sm { min-height: 44px; padding: 0 20px; font-size: 15px; box-shadow: none; }
.btn svg { width: 18px; height: 18px; }

/* Testata */
header.site { position: sticky; top: 0; z-index: 30; background: rgba(11,13,12,.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 26px/1 "Barlow Condensed", sans-serif; color: var(--text); text-decoration: none; }
.brand img { border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.nav a { color: var(--text-2); text-decoration: none; }
.nav a:hover { color: var(--text); }
.nav a.btn { color: var(--on-accent); }
.lang b { color: var(--text); }
@media (max-width: 860px) { .hide-m { display: none; } .nav { gap: 14px; } }

/* Hero */
.hero { position: relative; padding: 56px 0 110px; }
.hero::before { content: ""; position: absolute; right: -220px; top: -140px; width: 900px; height: 900px; border-radius: 50%; background: radial-gradient(circle, rgba(198,242,78,.15), rgba(198,242,78,0) 65%); pointer-events: none; }
.hero .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-copy { flex: 1 1 480px; display: flex; flex-direction: column; gap: 26px; }
.hero-copy .lead { font-size: 21px; color: var(--text-2); max-width: 540px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { background: var(--surface); border-radius: 999px; padding: 8px 14px; font-size: 14px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.stores img { height: 52px; width: auto; }
.hero-art { flex: 1 1 520px; position: relative; min-height: 700px; }
.photo { border-radius: 32px; overflow: hidden; background: var(--surface); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .photo { position: absolute; right: 0; top: 0; width: 78%; height: 640px; }
.hero-art .photo img { object-position: 50% 50%; }
.hero-art .phone { position: absolute; left: 0; top: 140px; width: 250px; transform: rotate(-4deg); }
.glass { position: absolute; background: rgba(21,24,22,.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-radius: 20px; box-shadow: 0 18px 50px rgba(0,0,0,.45); padding: 14px 18px; z-index: 3; }
.glass.decision { left: 150px; bottom: 24px; display: flex; align-items: center; gap: 12px; }
.glass.rest { right: 20px; top: 24px; }
.glass .label { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 700; color: var(--text-2); }
.glass .timer { font: 700 44px/.95 "Barlow Condensed", sans-serif; color: var(--accent); }
.ok { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ok svg { width: 15px; height: 15px; stroke: var(--on-accent); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) {
  .hero-art { min-height: 560px; }
  .hero-art .photo { width: 86%; height: 520px; }
  .hero-art .phone { width: 180px; top: 150px; }
  .glass.decision { left: 40px; bottom: 10px; }
}

.phone { border-radius: 36px; overflow: hidden; background: var(--surface); box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 0 7px var(--surface-2), 0 0 0 8px var(--surface-3); }
.phone img { width: 100%; height: auto; }

/* Fascia */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; background: var(--bg-2); }
.band ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap; font: 700 26px/1.1 "Barlow Condensed", sans-serif; color: #59615a; text-transform: uppercase; letter-spacing: .5px; }
.band b { color: var(--accent); font-weight: 700; }

/* Sezioni */
.block { padding: 130px 0; }
.block.tight { padding: 60px 0; }
.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid { display: grid; gap: 16px; }
.grid.day { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); margin-top: 56px; }
.grid.tiles { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 48px; }
.tile { background: var(--surface); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.tile .when { font: 700 18px/1 "Barlow Condensed", sans-serif; letter-spacing: 1px; color: var(--accent); text-transform: uppercase; }
.tile p { color: var(--text-2); font-size: 15px; }
.ui { background: var(--bg); border-radius: 20px; padding: 16px; font-size: 14px; line-height: 1.45; }
.ui.note { display: flex; gap: 12px; align-items: flex-start; }
.ui .m { width: 36px; height: 36px; border-radius: 10px; flex: none; }
.ui .who { display: flex; justify-content: space-between; }
.ui .who small { color: var(--text-2); font-size: 12px; }
.ui .avatar { width: 36px; height: 36px; border-radius: 50%; flex: none; }
.set { display: grid; grid-template-columns: 26px 1.3fr 1fr 0.8fr 30px; gap: 6px; align-items: center; padding: 8px 0; white-space: nowrap; font-size: 13px; }
.set.head { font-size: 11px; letter-spacing: 1px; font-weight: 700; color: var(--text-2); padding-top: 0; }
.set .k { font-weight: 700; }
.set .todo { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--surface-3); }
.bar { height: 6px; border-radius: 3px; background: var(--surface-2); margin-top: 12px; overflow: hidden; }
.bar i { display: block; width: 100%; height: 100%; background: var(--accent); }
.ico { width: 48px; height: 48px; border-radius: 16px; background: var(--accent-surface); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* Durata */
.panel { background: var(--surface); border-radius: 40px; padding: clamp(28px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.panel > div { flex: 1 1 400px; display: flex; flex-direction: column; gap: 22px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills button { border: 0; border-radius: 999px; min-height: 46px; padding: 0 18px; font: 700 15px "DM Sans", sans-serif; cursor: pointer; background: var(--bg); color: var(--text); }
.pills button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.workout { background: var(--bg); border-radius: 28px; padding: 24px; }
.workout .top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.workout ol { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.workout li { display: flex; align-items: center; gap: 14px; background: var(--surface); border-radius: 16px; padding: 12px 14px; }
.workout li[hidden] { display: none; }
.workout li b { font: 700 22px/1 "Barlow Condensed", sans-serif; color: var(--accent); width: 20px; }
.workout li span { flex: 1; font-weight: 500; }
.workout li small { color: var(--text-2); font-size: 14px; }

/* Coach */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.split > * { flex: 1 1 440px; }
.split .copy { display: flex; flex-direction: column; gap: 22px; }
.coach-art { position: relative; min-height: 620px; }
.coach-art .photo { width: 86%; height: 600px; }
.coach-art .photo img { object-position: 50% 18%; }
.chat { right: 0; bottom: 30px; width: min(330px, 92%); display: flex; flex-direction: column; gap: 10px; padding: 18px; }
.bub { max-width: 85%; padding: 12px 16px; border-radius: 20px; font-size: 15px; line-height: 1.45; }
.bub.me { align-self: flex-end; background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 6px; }
.bub.ai { background: var(--surface-2); border-bottom-left-radius: 6px; }
ul.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
ul.checks li { display: flex; gap: 12px; align-items: flex-start; }
ul.checks svg { flex: none; width: 20px; height: 20px; margin-top: 4px; fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* Dentro l'app */
.shots { display: flex; gap: 20px; justify-content: center; align-items: flex-end; overflow-x: auto; padding: 12px 12px 4px; margin-top: 56px; scrollbar-width: none; }
.shots figure { flex: none; margin: 0; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.shots figure:nth-child(2), .shots figure:nth-child(4) { margin-bottom: 40px; }
.shots figure:nth-child(3) { margin-bottom: 80px; }
.shots .phone { width: 196px; }
.shots figcaption { color: var(--text-2); font-size: 15px; }
@media (max-width: 640px) { .reel { flex-basis: 72vw; } }
@media (max-width: 1100px) { .shots { justify-content: flex-start; } }

/* Prezzi */
.seg { display: flex; flex-wrap: wrap; gap: 4px; background: var(--surface); border-radius: 999px; padding: 5px; }
.seg button { border: 0; border-radius: 999px; min-height: 44px; padding: 0 20px; font: 700 15px "DM Sans", sans-serif; cursor: pointer; background: transparent; color: var(--text-2); }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; margin-top: 48px; }
.price { background: var(--surface); border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.price.pro { background: var(--accent-surface); box-shadow: inset 0 0 0 2px var(--accent); }
.price .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.price .tier { font-size: 36px; }
.price.pro .tier { color: var(--accent); }
.badge { background: var(--accent); color: var(--on-accent); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; }
.badge[hidden] { display: none; }
.amount b { font: 700 76px/1 "Barlow Condensed", sans-serif; }
.price ul.checks { font-size: 15px; }
.price .btn { margin-top: auto; }
.fine { font-size: 14px; color: var(--text-2); margin-top: 24px; }

/* Instagram */
.reels { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; margin-top: 40px; scrollbar-width: none; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; }
.reels::-webkit-scrollbar { display: none; }
.reel-nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.reel-nav[hidden] { display: none; }
.reel-nav button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--text); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.reel-nav button:hover:not(:disabled) { background: var(--surface-3); }
.reel-nav button:disabled { opacity: .35; cursor: default; }
.reel-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.reel { flex: 0 0 270px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; color: var(--text); }
.reel .cover { all: unset; box-sizing: border-box; cursor: pointer; display: block; position: relative; aspect-ratio: 9 / 16; border-radius: 24px; overflow: hidden; background: var(--surface); }
.reel .cover:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.reel .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.reel .cover:hover img { transform: scale(1.04); }
.reel .cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.65)); pointer-events: none; }
.reel .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(11,13,12,.7); display: flex; align-items: center; justify-content: center; z-index: 1; }
.reel .play svg { width: 26px; height: 26px; fill: var(--accent); }
.reel .fmt { position: absolute; left: 14px; bottom: 14px; z-index: 1; background: var(--accent); color: var(--on-accent); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700; }
.reel > a, .reel > span { font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--text); text-decoration: none; }
.reel > a:hover { color: var(--accent); }
.reel iframe { display: block; width: 100%; border: 0; border-radius: 24px; background: #fff; }
.reel.next { text-decoration: none; }
.reel.next .cover { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px; background: var(--accent-surface); box-shadow: inset 0 0 0 2px var(--accent); }
.reel.next .cover::after { display: none; }
.reel.next .cover img { width: 96px; height: 96px; border-radius: 50%; }
.reel.next strong { font: 700 30px/1 "Barlow Condensed", sans-serif; }
.reel.next .cover span { color: var(--text-2); font-size: 15px; }
.ig-head { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.ig-head img { width: 96px; height: 96px; border-radius: 50%; box-shadow: 0 0 0 4px var(--accent); }

/* FAQ */
.faq-wrap { display: flex; flex-wrap: wrap; gap: 56px; }
.faq-wrap > div:first-child { flex: 1 1 320px; display: flex; flex-direction: column; gap: 18px; }
.faq-list { flex: 2 1 520px; display: flex; flex-direction: column; gap: 10px; }
details.faq { background: var(--surface); border-radius: 22px; padding: 22px 24px; }
details.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; }
details.faq[open] summary::after { content: "\2212"; }
details.faq p { margin-top: 12px; color: var(--text-2); }

/* Chiusura */
.cta { background: var(--accent); color: var(--on-accent); border-radius: 44px; overflow: hidden; display: flex; flex-wrap: wrap; align-items: stretch; }
.cta > div:first-child { flex: 1 1 460px; padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.cta h2 { font-size: clamp(52px, 7vw, 100px); }
.cta p { font-size: 19px; color: #2a3313; }
.cta .art { flex: 1 1 340px; min-height: 420px; position: relative; }
.cta .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 15px; color: var(--text-2); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-grid p { margin-top: 14px; max-width: 340px; }
.foot-grid h3 { font: 700 13px/1 "DM Sans", sans-serif; letter-spacing: 2px; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-grid a { color: var(--text-2); text-decoration: none; }
.foot-grid a:hover { color: var(--text); }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }
.legal a { color: var(--text-2); }

/* Entrate in scena */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease var(--d, 0s), transform .6s ease var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Social nel footer */
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); color: var(--text); display: inline-flex; align-items: center; justify-content: center; }
.social a:hover { background: var(--surface-3); color: var(--accent); }
.social svg { width: 20px; height: 20px; }

/* Il coach dell'apertura segue il mouse: si inclina, la luce si sposta, respira. */
.hero-art { perspective: 1400px; }
.hero-art .photo { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.hero-art .photo .stack { position: absolute; inset: 0; transform-origin: 50% 85%; animation: coach-breathe 5.5s ease-in-out infinite; }
.hero-art .photo .stack img, .hero-art .photo .stack svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art .photo .stack img { object-fit: cover; object-position: 50% 50%; }
/* Occhi: l'iride vera della foto scorre dentro l'occhio (site.js). Prima del JS non si vedono. */
.hero-art .photo .stack svg.eyes { opacity: 0; transition: opacity .06s; }
.hero-art .photo .stack svg.eyes.on { opacity: 1; }
/* Palpebre chiuse e sorriso largo: la stessa foto con occhi o bocca diversi, in dissolvenza. */
.hero-art .photo .stack img.pose { opacity: 0; transition: opacity .22s ease; }
.hero-art .photo .stack img.pose.blink { transition-duration: .06s; }
.hero-art .photo .stack img.pose.on { opacity: 1; }
.hero-art .photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--gx, 70%) var(--gy, 20%), rgba(255,255,255,.16), rgba(255,255,255,0) 55%); mix-blend-mode: soft-light; transition: background-position .3s; }
@keyframes coach-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.012) translateY(-2px); } }
@media (prefers-reduced-motion: reduce) {
  .hero-art .photo { transform: none; transition: none; }
  .hero-art .photo .stack { animation: none; }
}
