/* =========================================================
   MOVEMENT — stile principale
   Colori e font si cambiano da :root
   ========================================================= */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-ext.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 400 500; font-display: swap;
}

:root {
  --ink: #0d0d0d;
  --ink-2: #171717;
  --ink-3: #222;
  --bone: #ece8e1;
  --bone-2: #ddd8cf;
  --accent: #ff4d1a;       /* arancio segnale: colore brand */
  --wa: #25d366;
  --text: #f2efe9;
  --muted: #8d8a85;
  --line: rgba(242, 239, 233, 0.12);
  --line-dark: rgba(13, 13, 13, 0.14);
  --max: 1440px;
  --gutter: clamp(16px, 3.4vw, 48px);
  --display: "Archivo", "Arial Black", sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.light { background: var(--bone); color: var(--ink); }
.light ::selection { background: var(--ink); color: var(--bone); }
.pad { padding: clamp(96px, 13vw, 200px) 0; }

/* ---------- Tipografia ---------- */
.display {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: -0.02em;
}
.t-xl { font-size: clamp(40px, 9vw, 168px); }
.t-l  { font-size: clamp(42px, 7vw, 120px); }
.t-m  { font-size: clamp(30px, 4vw, 64px); }
.t-s  { font-size: clamp(22px, 2.2vw, 32px); }
.label {
  font-family: var(--mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.muted { color: var(--muted); }
.light .muted { color: #57544e; }
.accent { color: var(--accent); }
.lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; max-width: 52ch; }

/* contenuti in attesa */
.todo {
  font-family: var(--mono);
  font-size: 0.82em;
  color: var(--muted);
  background: rgba(255, 77, 26, 0.09);
  padding: 2px 6px;
  border-radius: 3px;
}
.light .todo { color: #57544e; background: rgba(13, 13, 13, 0.06); }
p.todo, div.todo { display: block; padding: 14px 16px; line-height: 1.6; }

/* split text (generato da JS) */
.word { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; overflow: hidden; padding-top: 0.14em; margin-top: -0.14em; vertical-align: top; }
.ch > span { display: inline-block; will-change: transform; }

/* ---------- Bottoni ---------- */
.btn {
  --bg: var(--text); --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  height: 58px; padding: 0 10px 0 26px;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 15px;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease-out);
}
.btn::after {
  content: ""; position: absolute; z-index: -1;
  left: 50%; top: 100%; width: 140%; aspect-ratio: 1; border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, 0) scale(0.2);
  transition: transform .6s var(--ease-out), top .6s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .btn:hover::after { top: -60%; transform: translate(-50%, 0) scale(1); } }
@media (hover: hover) and (pointer: fine) { .btn:hover { color: var(--ink); } }
.btn .dot {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--fg); color: var(--bg);
  transition: transform .5s var(--ease-out), background .4s, color .4s;
}
@media (hover: hover) and (pointer: fine) { .btn:hover .dot { transform: rotate(-45deg); background: var(--ink); color: var(--accent); } }
.btn.dark { --bg: var(--ink); --fg: var(--text); }
.btn.ghost { --bg: transparent; --fg: currentColor; border: 1px solid currentColor; color: inherit; }
.btn.ghost .dot { background: var(--text); }
.light .btn.ghost .dot { background: var(--ink); }
.btn.ghost .dot svg { color: var(--ink); }
.light .btn.ghost .dot svg { color: var(--bone); }
@media (hover: hover) and (pointer: fine) { .btn.ghost:hover .dot svg { color: var(--accent); } }

.link-u { position: relative; display: inline-block; }
.link-u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .link-u:hover::after { transform: scaleX(1); transform-origin: left; } }

/* ---------- Curtain / loader ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 300;
  background: var(--accent); color: var(--ink);
  display: none;
  pointer-events: none;
}
.js .curtain { display: block; transform: translateY(0); }
.curtain.up { transform: translateY(-100%); transition: transform 0.75s var(--ease); }
.curtain.below { transform: translateY(100%); transition: none; }
.curtain.cover { transform: translateY(0); transition: transform 0.45s var(--ease); }
.curtain-inner {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: var(--gutter);
  display: flex; justify-content: space-between; align-items: flex-end;
}
.curtain-count { font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: clamp(80px, 18vw, 260px); line-height: .8; }
.curtain-name { font-family: var(--mono); font-size: 13px; text-transform: uppercase; }

/* ---------- Progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120;
  background: var(--accent); transform-origin: left; transform: scaleX(0);
}

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  color: #fff;
  mix-blend-mode: difference;
  transition: transform .6s var(--ease);
}
.header.hide { transform: translateY(-110%); }
.header .container {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 84px;
}
.logo { font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: 22px; letter-spacing: -0.02em; text-transform: uppercase; }
.logo sup { font-family: var(--mono); font-size: 10px; font-weight: 500; margin-left: 3px; }
.nav { display: flex; gap: 34px; }
.nav a { font-size: 14px; font-weight: 500; position: relative; padding: 4px 0; }
.nav a::before {
  content: ""; position: absolute; left: -12px; top: 50%; width: 6px; height: 6px;
  border-radius: 50%; background: currentColor;
  transform: translateY(-50%) scale(0); transition: transform .4s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .nav a.active::before, .nav a:hover::before { transform: translateY(-50%) scale(1); } }
.header-right { display: flex; justify-content: flex-end; align-items: center; gap: 24px; }
.header-right .label { opacity: .8; }
.header-cta { font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.menu-btn {
  display: none; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: inherit;
}
.menu-btn i { display: grid; gap: 5px; width: 22px; }
.menu-btn i::before, .menu-btn i::after { content: ""; height: 2px; background: currentColor; transition: transform .5s var(--ease); }
.menu-open .menu-btn i::before { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-btn i::after { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px var(--gutter) 32px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease);
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); }
.menu-open { overflow: hidden; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a {
  font-family: var(--display); font-weight: 900; font-stretch: 125%;
  font-size: clamp(44px, 13vw, 96px); line-height: 1; text-transform: uppercase;
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--line);
  transform: translateY(40px); opacity: 0;
  transition: transform .7s var(--ease-out), opacity .7s;
}
.mobile-menu nav a sup { font-family: var(--mono); font-size: 12px; font-weight: 500; margin-top: 10px; }
.mobile-menu nav a.active { color: var(--accent); }
.menu-open .mobile-menu nav a { transform: none; opacity: 1; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .06s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .12s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .18s; }
.mobile-menu .mm-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); }

/* ---------- Hero home ---------- */
.hero {
  position: relative;
  height: 100svh; min-height: 620px;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: clamp(20px, 3vw, 40px);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 115%; object-fit: cover; object-position: center 40%; filter: grayscale(1) contrast(1.1); }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,0.5) 0%, rgba(13,13,13,0.05) 35%, rgba(13,13,13,0.85) 100%);
}
.hero > .container { position: relative; z-index: 1; }
.hero-top {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding-bottom: 28px; margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.hero-top { font-size: 15px; line-height: 1.45; color: rgba(242, 239, 233, 0.82); }
.hero-top p { max-width: 30ch; text-wrap: balance; }
.hero-top b { display: block; color: var(--text); font-weight: 600; }
/* il titolo si adatta alla larghezza del contenitore, a qualsiasi risoluzione */
.hero > .container, .footer .container { container-type: inline-size; }
.hero-title { font-size: 12.2vw; font-size: 12.4cqi; line-height: 0.8; letter-spacing: -0.04em; white-space: nowrap; text-align: center; }
.hero-title .accent-dot { color: var(--accent); }
.hero-badge {
  position: absolute; right: var(--gutter); top: 18%;
  width: 132px; height: 132px; z-index: 2;
  color: var(--text);
}
.hero-badge svg { width: 100%; height: 100%; animation: spin 16s linear infinite; }
.hero-badge span { position: absolute; inset: 0; display: grid; place-items: center; }
.hero-badge span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Page hero (interne) ---------- */
.page-hero { padding: 180px 0 clamp(60px, 8vw, 110px); position: relative; }
.page-hero .crumbs { display: flex; gap: 24px; margin-bottom: 36px; color: var(--muted); }
.page-hero .crumbs b { color: var(--text); font-weight: 500; }
.light.page-hero .crumbs b { color: var(--ink); }
.page-hero-row {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: end;
  margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line);
}
.light .page-hero-row { border-color: var(--line-dark); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee.big { padding: 10px 0; }
.marquee.orange { background: var(--accent); color: var(--ink); border: 0; }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding-right: 0.5em;
  font-family: var(--display); font-weight: 900; font-stretch: 125%;
  text-transform: uppercase; white-space: nowrap; letter-spacing: -0.02em;
  font-size: clamp(32px, 5vw, 72px); line-height: 1.05;
}
.marquee.big .marquee-item { font-size: clamp(64px, 12vw, 200px); line-height: 1; }
.marquee-item .star { display: inline-flex; }
.marquee-item svg { width: 0.5em; height: 0.5em; flex: none; }
.marquee-item.o { color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.marquee-item.o svg { color: var(--accent); }

/* ---------- Manifesto ---------- */
.manifesto { overflow: hidden; }
.manifesto-body { display: grid; grid-template-columns: 1fr 5fr; gap: clamp(16px, 3vw, 48px); align-items: start; }
.quote-mark {
  font-family: var(--display); font-weight: 900; font-stretch: 125%;
  font-size: clamp(110px, 17vw, 300px); line-height: .72;
  color: var(--accent); display: block; text-align: right;
}
.manifesto-text {
  font-size: clamp(32px, 5vw, 84px); font-weight: 700;
  line-height: 1.08; letter-spacing: -0.03em;
}
.anim .manifesto-text .w { opacity: 0.12; }
.pill {
  display: inline-block; vertical-align: middle;
  width: 1.9em; height: 0.86em; margin: -0.12em 0.04em 0;
  border-radius: 999px; overflow: hidden;
  background: var(--bone-2);
}
.pill img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .6s, transform .8s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .pill:hover img { filter: none; transform: scale(1.1); } }
.manifesto-sign { display: flex; align-items: center; gap: 16px; margin-top: clamp(40px, 5vw, 72px); }
.manifesto-sign .line { width: 64px; height: 1px; background: var(--ink); }

/* ---------- Aree (card impilate) ---------- */
.stack-card {
  position: sticky; top: 96px;
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: min(76vh, 680px);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 6px; overflow: hidden;
  margin-bottom: 40px;
  transform-origin: center top;
}
.stack-card:nth-child(2) { top: 116px; background: #1c1c1c; }
.stack-card:nth-child(3) { top: 136px; background: var(--accent); color: var(--ink); border-color: transparent; }
.stack-card:nth-child(3) .muted, .stack-card:nth-child(3) .todo { color: rgba(13,13,13,0.7); }
.stack-body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.stack-head { display: flex; justify-content: space-between; }
.stack-media { overflow: hidden; }
.stack-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .8s, transform 1.2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .stack-card:hover .stack-media img { filter: grayscale(0); transform: scale(1.04); } }

/* ---------- Section head ---------- */
.s-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(48px, 6vw, 88px); }
.s-head .label { display: block; margin-bottom: 22px; }

/* ---------- Horizontal scroll corsi ---------- */
.hscroll { overflow: hidden; }
.hscroll-wrap { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: 100px 0 40px; }
.hscroll-track { display: flex; gap: 20px; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.h-card {
  position: relative; flex: none;
  width: clamp(240px, 22vw, 360px);
  display: flex; flex-direction: column; gap: 16px;
}
.h-card .img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; position: relative; }
.h-card .img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .6s, transform 1s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .h-card:hover .img img { filter: none; transform: scale(1.05); } }
.h-card .img .label { position: absolute; top: 14px; left: 14px; background: var(--ink); color: var(--text); padding: 6px 10px; border-radius: 3px; }
.h-card .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.h-card.end {
  display: flex; flex-direction: column; justify-content: space-between;
  aspect-ratio: 4 / 5; border-radius: 4px; padding: 28px;
  background: var(--accent); color: var(--ink);
  align-self: flex-start;
  transition: background .4s;
}
@media (hover: hover) and (pointer: fine) { .h-card.end:hover { background: var(--text); } }
.hscroll-bar { height: 1px; background: var(--line); margin: 0 var(--gutter); position: relative; }
.hscroll-bar i { position: absolute; inset: 0; background: var(--text); transform-origin: left; transform: scaleX(0); }

/* ---------- Galleria parallax ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: start; }
.gallery figure { overflow: hidden; border-radius: 4px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g1 { grid-column: 1 / 6; aspect-ratio: 4 / 5; }
.gallery .g2 { grid-column: 7 / 13; aspect-ratio: 16 / 11; margin-top: 18vh; }
.gallery .g3 { grid-column: 2 / 7; aspect-ratio: 16 / 11; margin-top: 4vh; }
.gallery .g4 { grid-column: 8 / 12; aspect-ratio: 3 / 4; margin-top: -10vh; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-grid.three { grid-template-columns: repeat(3, 1fr); }
.coach { display: flex; flex-direction: column; gap: 14px; }
.coach .img {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px;
  background: var(--ink-2);
}
.light .coach .img { background: var(--bone-2); }
.coach .img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .6s, transform 1s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .coach:hover .img img { filter: none; transform: scale(1.05); } }
.coach .img .no-photo {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: 90px; color: rgba(242,239,233,0.08);
}
.light .coach .img .no-photo { color: rgba(13,13,13,0.08); }
.coach .img .tag { position: absolute; left: 12px; bottom: 12px; background: var(--bone); color: var(--ink); padding: 6px 10px; border-radius: 3px; }
.light .coach .img .tag { background: var(--ink); color: var(--bone); }
.coach .ig {
  position: absolute; right: 12px; top: 12px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: var(--ink); display: grid; place-items: center;
  transform: scale(0); transition: transform .5s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .coach:hover .ig { transform: scale(1); } }
.coach h3 { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 22px; text-transform: uppercase; line-height: 1.05; }
.coach-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; border-top: 1px solid var(--line); padding-top: 12px; }
.light .coach-row { border-color: var(--line-dark); }
.team-grid .coach:nth-child(even) { margin-top: 80px; }
.team-grid.three .coach:nth-child(even) { margin-top: 0; }
.team-grid.three .coach:nth-child(3n+2) { margin-top: 100px; }

/* Metodo */
.method { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.method-sticky { position: sticky; top: 120px; align-self: start; }
.step { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 36px 0; border-top: 1px solid var(--line-dark); }
.step:last-child { border-bottom: 1px solid var(--line-dark); }
.step h3 { font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(26px, 3vw, 44px); line-height: 1; margin-bottom: 14px; }

/* ---------- Lista corsi (pagina corsi) ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.chip {
  height: 42px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 14px; font-weight: 500;
  transition: background .3s, color .3s, border-color .3s;
}
@media (hover: hover) and (pointer: fine) { .chip:hover { border-color: var(--text); } }
.chip.active { background: var(--text); color: var(--ink); border-color: var(--text); }
.chip sup { font-family: var(--mono); font-size: 10px; margin-left: 4px; }

.clist { border-top: 1px solid var(--line); }
.citem { border-bottom: 1px solid var(--line); }
.citem.hidden { display: none; }
.citem-head {
  width: 100%; text-align: left;
  display: grid; grid-template-columns: 1fr 180px 48px; gap: 20px; align-items: center;
  padding: 28px 0;
  transition: color .3s;
}
.citem-title { transition: transform .5s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .citem-head:hover { color: var(--accent); } }
@media (hover: hover) and (pointer: fine) { .citem-head:hover .citem-title { transform: translateX(14px); } }
.citem-title { font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(30px, 5.4vw, 88px); line-height: .9; letter-spacing: -0.02em; }
.citem-plus {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid currentColor;
  display: grid; place-items: center; transition: transform .5s var(--ease-out), background .3s;
}
.citem.open .citem-plus { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: var(--ink); }
.citem-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.citem.open .citem-body { grid-template-rows: 1fr; }
.citem-body > div { overflow: hidden; }
.citem-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; padding: 0 0 40px; }
.citem-inner .spec { display: grid; gap: 4px; align-content: start; }
.citem-inner .spec + .spec { margin-top: 18px; }
.citem-img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; }
.citem-img img { width: 100%; height: 100%; object-fit: cover; }

.preview {
  position: fixed; top: 0; left: 0; z-index: 80;
  width: 280px; aspect-ratio: 4 / 5;
  pointer-events: none;
  border-radius: 4px; overflow: hidden;
  opacity: 0;
  transition: opacity .3s;
}
.preview.on { opacity: 1; }
.preview img { width: 100%; height: 100%; object-fit: cover; }

/* Orari */
.schedule-wrap { overflow-x: auto; border-top: 1px solid var(--line-dark); }
.schedule { width: 100%; border-collapse: collapse; min-width: 820px; }
.schedule th, .schedule td { padding: 18px 12px; text-align: left; border-bottom: 1px solid var(--line-dark); vertical-align: top; }
.schedule th { font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; }
.schedule td:first-child { font-family: var(--mono); font-size: 13px; }
.slot { display: block; padding: 10px 12px; border-radius: 3px; background: rgba(13,13,13,0.05); font-size: 13px; color: #57544e; }

/* ---------- Contatti ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); }
.info-item { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); align-items: baseline; }
.info-item:last-child { border-bottom: 1px solid var(--line); }
.info-item .val { font-size: clamp(20px, 2vw, 28px); font-weight: 600; letter-spacing: -0.01em; }
.info-item .val.todo { font-size: 15px; font-weight: 400; justify-self: start; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a {
  height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line);
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px;
  transition: background .3s, color .3s, border-color .3s;
}
@media (hover: hover) and (pointer: fine) { .socials a:hover { background: var(--text); color: var(--ink); border-color: var(--text); } }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.field { position: relative; padding-top: 22px; }
.field.full { grid-column: 1 / -1; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 12px 0; font-size: 19px; outline: none; border-radius: 0;
  transition: border-color .3s;
}
.field select { appearance: none; cursor: pointer; }
.field select option { background: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.field label { position: absolute; top: 34px; left: 0; color: var(--muted); pointer-events: none; transition: top .3s var(--ease-out), font-size .3s; font-size: 17px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field.static label { top: 0; font-size: 12px; font-family: var(--mono); text-transform: uppercase; }
.check { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 18px 0 10px; }
.check input { margin-top: 3px; accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.check a { color: var(--text); text-decoration: underline; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-note { font-size: 14px; color: var(--accent); }

.map {
  position: relative; margin-top: clamp(60px, 8vw, 120px);
  height: clamp(320px, 45vw, 560px); border-radius: 4px; overflow: hidden;
  background: var(--ink-2);
  display: grid; place-items: center; text-align: center;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.1); }
.map-msg { display: grid; gap: 18px; justify-items: center; padding: 24px; max-width: 44ch; }

.faq-item { border-top: 1px solid var(--line-dark); }
.faq-item:last-child { border-bottom: 1px solid var(--line-dark); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0; font-size: clamp(19px, 1.8vw, 26px); font-weight: 600; letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 18px; height: 18px;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transition: transform .4s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq-item .todo { margin-bottom: 26px; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--accent); color: var(--ink); }
.cta .container { position: relative; padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(80px, 10vw, 150px); }
.cta-title { font-size: clamp(52px, 11vw, 200px); }
.cta-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-top: 48px; }
.cta-circle {
  width: clamp(150px, 15vw, 210px); aspect-ratio: 1; border-radius: 50%;
  background: var(--ink); color: var(--text);
  display: grid; place-items: center; text-align: center;
  font-weight: 700; font-size: 16px; line-height: 1.2;
  transition: background .4s, color .4s;
}
@media (hover: hover) and (pointer: fine) { .cta-circle:hover { background: var(--text); color: var(--ink); } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); padding: clamp(80px, 9vw, 130px) 0 24px; position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-top h4 { color: var(--muted); margin-bottom: 18px; }
.footer-top ul { list-style: none; display: grid; gap: 8px; }
.footer-top .big { font-size: clamp(24px, 2.6vw, 38px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; max-width: 16ch; }
.footer-brand {
  font-family: var(--display); font-weight: 900; font-stretch: 125%;
  font-size: 12vw; font-size: 12.8cqi; line-height: .78; letter-spacing: -0.04em;
  text-transform: uppercase; white-space: nowrap; text-align: center;
  margin: clamp(60px, 9vw, 140px) 0 24px;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
@media (hover: hover) and (pointer: fine) { .footer-bottom a:hover, .footer-bottom button:hover { color: var(--text); } }
.footer-bottom button { color: inherit; font: inherit; text-transform: inherit; letter-spacing: inherit; }

/* ---------- Pagine legali ---------- */
.legal { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 6vw, 100px); }
.legal-toc { position: sticky; top: 110px; align-self: start; display: grid; gap: 10px; }
.legal-toc a { color: #57544e; font-size: 14px; transition: color .3s; }
@media (hover: hover) and (pointer: fine) { .legal-toc a:hover { color: var(--ink); } }
.legal-body { max-width: 76ch; }
.legal-body h2 { font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.05; margin: 56px 0 18px; scroll-margin-top: 110px; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 { font-size: 18px; margin: 28px 0 10px; }
.legal-body p, .legal-body li { margin-bottom: 12px; }
.legal-body ul { padding-left: 20px; }
.legal-body a { text-decoration: underline; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; display: block; overflow-x: auto; }
.legal-body th, .legal-body td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line-dark); vertical-align: top; min-width: 120px; }
.legal-body th { font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; }
.legal-body .legal-note { padding: 18px 20px; border-radius: 12px; background: rgba(255, 77, 26, 0.1); margin-bottom: 48px; font-size: 15px; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 150;
  width: min(420px, calc(100vw - 40px));
  background: var(--bone); color: var(--ink);
  border-radius: 6px; padding: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  transform: translateY(calc(100% + 40px));
  transition: transform .8s var(--ease);
}
.cookie.show { transform: none; }
.cookie h3 { font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: 22px; line-height: 1; margin-bottom: 10px; }
.cookie p { font-size: 14px; color: #4b4944; }
.cookie p a { text-decoration: underline; color: var(--ink); }
.cookie-actions { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.cbtn { height: 44px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 1px solid var(--ink); color: var(--ink); transition: background .3s, color .3s, border-color .3s; }
.cbtn.fill { background: var(--ink); color: var(--bone); }
@media (hover: hover) and (pointer: fine) { .cbtn:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); } }
.cbtn.text { border-color: transparent; text-decoration: underline; padding: 0 8px; }
@media (hover: hover) and (pointer: fine) { .cbtn.text:hover { background: none; border-color: transparent; color: var(--accent); } }

.cmodal {
  position: fixed; inset: 0; z-index: 160;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .4s;
}
.cmodal.show { opacity: 1; pointer-events: auto; }
.cmodal-box {
  width: min(560px, 100%); max-height: 90vh; overflow: auto;
  background: var(--bone); color: var(--ink); border-radius: 6px; padding: 32px;
  transform: translateY(20px); transition: transform .5s var(--ease-out);
}
.cmodal.show .cmodal-box { transform: none; }
.cmodal h3 { font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: 28px; line-height: 1; margin-bottom: 12px; }
.cmodal-box > p { font-size: 14px; color: #4b4944; margin-bottom: 20px; }
.cmodal-box > p a { text-decoration: underline; }
.copt { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line-dark); }
.copt b { display: block; margin-bottom: 4px; }
.copt p { font-size: 13px; color: #4b4944; }
.switch { position: relative; flex: none; width: 50px; height: 28px; }
.switch input { opacity: 0; width: 100%; height: 100%; position: absolute; cursor: pointer; z-index: 1; margin: 0; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #bdb8ae; transition: background .3s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease-out); }
.switch input:checked + span { background: var(--ink); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + span { opacity: .5; }

/* ---------- WhatsApp widget ---------- */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 140; transition: transform .6s var(--ease); }
.wa-fab {
  position: relative;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform .4s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .wa-fab:hover { transform: scale(1.08) rotate(-8deg); } }
.wa-fab::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa);
  animation: waPulse 2.6s var(--ease-out) 3;
}
@keyframes waPulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.wa-fab .ic-close { display: none; }
.wa.open .wa-fab .ic-wa { display: none; }
.wa.open .wa-fab .ic-close { display: block; }
.wa.open .wa-fab::before { animation: none; opacity: 0; }
.wa-badge {
  position: absolute; top: -2px; right: -2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); color: var(--ink);
  font-size: 11px; font-weight: 700; display: grid; place-items: center;
  border: 2px solid var(--ink);
}
.wa.seen .wa-badge { display: none; }
.wa-tip {
  position: absolute; right: 76px; bottom: 12px;
  background: var(--bone); color: var(--ink);
  padding: 10px 14px; border-radius: 12px 12px 2px 12px;
  font-size: 14px; font-weight: 500; white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  opacity: 0; transform: translateX(10px); pointer-events: none;
  transition: opacity .4s, transform .5s var(--ease-out);
}
.wa-tip.show { opacity: 1; transform: none; }
.wa.open .wa-tip { opacity: 0; }
.wa-panel {
  position: absolute; right: 0; bottom: 78px;
  width: min(360px, calc(100vw - 28px));
  background: #efeae2; color: #111;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  transform-origin: bottom right;
  transform: scale(0.85) translateY(10px); opacity: 0; pointer-events: none; visibility: hidden;
  transition: transform .5s var(--ease-out), opacity .3s, visibility 0s .5s;
}
.wa.open .wa-panel { transform: none; opacity: 1; pointer-events: auto; visibility: visible; transition: transform .5s var(--ease-out), opacity .3s; }
.wa-head { background: #075e54; color: #fff; display: flex; align-items: center; gap: 12px; padding: 16px 18px; }
.wa-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--accent); color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: 18px;
}
.wa-head b { display: block; font-size: 16px; }
.wa-head small { font-size: 12px; opacity: .8; }
.wa-body {
  padding: 20px 16px; min-height: 130px;
  background-color: #efeae2;
  background-image: radial-gradient(rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 14px 14px;
}
.wa-bubble {
  position: relative; max-width: 85%;
  background: #fff; padding: 10px 12px 18px; border-radius: 0 10px 10px 10px;
  font-size: 14.5px; line-height: 1.4; box-shadow: 0 1px 1px rgba(0,0,0,0.08);
}
.wa-bubble time { position: absolute; right: 8px; bottom: 4px; font-size: 10px; color: #8a8a8a; }
.wa-typing { display: inline-flex; gap: 4px; padding: 14px 16px; background: #fff; border-radius: 0 10px 10px 10px; }
.wa-typing i { width: 7px; height: 7px; border-radius: 50%; background: #9a9a9a; }
.wa.open .wa-typing i { animation: typing 1.2s infinite; }
.wa-typing i:nth-child(2) { animation-delay: .15s; }
.wa-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.wa-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.wa-quick a {
  font-size: 13px; padding: 7px 12px; border-radius: 999px;
  background: #fff; color: #075e54; border: 1px solid #cfe9dd; font-weight: 600;
  transition: background .3s, color .3s;
}
@media (hover: hover) and (pointer: fine) { .wa-quick a:hover { background: #075e54; color: #fff; } }
.wa-foot { padding: 12px 16px 16px; background: #efeae2; }
.wa-start {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 700; font-size: 15px;
  transition: background .3s;
}
@media (hover: hover) and (pointer: fine) { .wa-start:hover { background: #1ebe5a; } }
.wa-foot small { display: block; text-align: center; margin-top: 8px; font-size: 11px; color: #6b6b6b; }
.wa-foot small a { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid.three { grid-template-columns: repeat(2, 1fr); }
  .team-grid.three .coach:nth-child(3n+2) { margin-top: 0; }
  .team-grid.three .coach:nth-child(even) { margin-top: 80px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-top { grid-template-columns: 1fr 1fr; }
  .hero-top > :nth-child(n+3) { display: none; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav, .header-right .label, .header-right .link-u { display: none; }
  .header .container { grid-template-columns: 1fr auto; height: 70px; }
  .menu-btn { display: inline-flex; }
  .hero-badge { width: 96px; height: 96px; top: 30%; }
  .hero { padding-bottom: 96px; }
  .page-hero { padding-top: 140px; }
  .page-hero-row, .method, .contact-grid, .legal { grid-template-columns: 1fr; }
  .manifesto-body { grid-template-columns: 1fr; gap: 0; }
  .quote-mark { text-align: left; font-size: 120px; margin-bottom: -10px; }
  .method-sticky { position: static; }
  .legal-toc { display: none; }
  .stack-card { grid-template-columns: 1fr; position: relative; top: 0 !important; min-height: 0; margin-bottom: 16px; }
  .stack-media { aspect-ratio: 16 / 10; order: -1; }
  .hscroll-wrap { min-height: 0; padding: 96px 0; }
  .hscroll-track { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
  .hscroll-track::-webkit-scrollbar { display: none; }
  .h-card { scroll-snap-align: start; width: 74vw; }
  .hscroll-bar { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery .g1, .gallery .g2, .gallery .g3, .gallery .g4 { grid-column: auto; margin-top: 0; aspect-ratio: 4 / 5; }
  .gallery .g2, .gallery .g4 { margin-top: 40px; }
  .citem-head { grid-template-columns: 1fr 44px; }
  .citem-head .citem-cat { display: none; }
  .citem-plus { width: 44px; height: 44px; }
  .citem-inner { grid-template-columns: 1fr; }
  .preview { display: none; }
  .info-item { grid-template-columns: 1fr; gap: 6px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .wa { right: 14px; bottom: 14px; }
}
@media (max-width: 600px) {
  .team-grid, .team-grid.three { grid-template-columns: 1fr 1fr; gap: 12px; }
  .team-grid .coach:nth-child(even), .team-grid.three .coach:nth-child(even) { margin-top: 40px; }
  .coach h3 { font-size: 16px; }
  .coach-row { flex-direction: column; gap: 4px; }
  .form { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-top { grid-template-columns: 1fr; }
  .hero-top > :nth-child(n+2) { display: none; }
  .btn { height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .manifesto-text .w { opacity: 1; }
}

/* =========================================================
   Rifiniture: superfici del browser, stati, mobile
   ========================================================= */
html { scrollbar-color: #3a3835 var(--ink); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #3a3835; border-radius: 999px; border: 2px solid var(--ink); }
@media (hover: hover) and (pointer: fine) { ::-webkit-scrollbar-thumb:hover { background: var(--accent); } }
input, textarea { caret-color: var(--accent); }
a { text-underline-offset: 0.18em; }
h1, h2, h3, .display { text-wrap: balance; }
p, li { text-wrap: pretty; }
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* icone SVG in linea con il testo */
.i { width: 0.9em; height: 0.9em; vertical-align: -0.08em; flex: none; display: inline-block; }

/* link per saltare al contenuto (tastiera) */
.skip {
  position: fixed; left: 16px; top: 12px; z-index: 400;
  padding: 10px 18px; border-radius: 999px;
  background: var(--accent); color: var(--ink); font-weight: 600; font-size: 14px;
  transform: translateY(-180%); transition: transform .3s var(--ease-out);
}
.skip:focus { transform: none; }

/* feedback alla pressione */
.btn:active, .chip:active, .cta-circle:active, .cbtn:active, .wa-start:active,
.wa-quick a:active, .citem-plus:active, .menu-btn:active, .socials a:active { scale: 0.97; }
.wa-fab:active { scale: 0.94; }


/* link social non ancora compilati: nascosti invece di puntare a "#" */
.coach .ig[href="#"] { display: none; }

/* errori del modulo */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-error { display: block; margin-top: 8px; font-size: 13px; color: #ff8a6e; }
.field.invalid input, .field.invalid textarea { border-color: #ff8a6e; }
.check.invalid { color: #ff8a6e; }

/* aree sicure (notch / barra home iPhone) */
.container { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.wa { bottom: max(20px, env(safe-area-inset-bottom)); }
@media (max-width: 860px) {
  .wa { bottom: max(14px, env(safe-area-inset-bottom)); }
  .cookie { bottom: max(12px, env(safe-area-inset-bottom)); }
}

/* 404 */
.notfound { min-height: 100svh; display: grid; align-content: center; padding: 140px 0 80px; }
.notfound .display { font-size: clamp(120px, 30vw, 420px); line-height: .8; letter-spacing: -0.04em; color: var(--accent); }
.notfound p { margin: 28px 0 36px; }

/* ---------- Mobile: sensazione da app (skill mobile-native) ---------- */
/* tocco immediato: niente attesa del doppio tap */
a, button, summary, label, [role="button"] { touch-action: manipulation; }
/* tenendo premuto un controllo non si seleziona il testo (i contenuti restano selezionabili) */
button, .btn, .chip, .cta-circle, .cbtn, .wa-fab, .wa-start, .wa-quick a,
.menu-btn, .nav a, .mobile-menu a, .citem-head, .faq-item summary, .h-card {
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
/* feedback alla pressione con una transizione breve */
.chip, .cta-circle, .cbtn, .wa-start, .wa-quick a, .menu-btn, .socials a { transition-property: color, background, border-color, scale; }
.btn { transition: color .5s var(--ease-out), scale .12s var(--ease-out); }
.chip, .cbtn, .wa-start, .wa-quick a, .menu-btn, .socials a { transition-duration: .12s; }
/* header fisso lontano da notch / Dynamic Island */
.header { padding-top: env(safe-area-inset-top, 0px); }
.mobile-menu { padding-top: calc(120px + env(safe-area-inset-top, 0px)); padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); }
/* sul touch il link Instagram dei coach è sempre visibile (non esiste l'hover) */
@media (hover: none) { .coach .ig { transform: scale(1); } }
/* il menu e il pannello WhatsApp non trascinano la pagina dietro */
.mobile-menu, .wa-panel, .cmodal-box { overscroll-behavior: contain; }
