/* 101 Sport — pagina di presentazione
   Mobile first: gli stili base sono per smartphone, i media query allargano. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  /* Palette ricavata dal logo */
  --red: #e93f33;
  --red-ink: #c42d22;          /* rosso per testi piccoli (contrasto AA su bianco) */
  --red-soft: #fdeceb;
  --navy: #272262;
  --navy-900: #1b1748;
  --navy-700: #36307d;
  --navy-soft: #ecebf5;
  --ink: #1d1b33;
  --muted: #565470;
  --line: #e3e3ee;
  --bg: #ffffff;
  --bg-soft: #f5f5fa;
  --wa: #15803d;               /* verde WhatsApp scurito: testo bianco AA */
  --wa-hover: #116633;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(27, 23, 72, .06), 0 2px 8px rgba(27, 23, 72, .05);
  --shadow: 0 2px 6px rgba(27, 23, 72, .06), 0 12px 32px rgba(27, 23, 72, .09);
  --header-h: 64px;

  --bs-body-font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--bg);
  --bs-link-color-rgb: 39, 34, 98;
  --bs-link-hover-color-rgb: 196, 45, 34;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }

h1, h2, h3, .h-display {
  font-stretch: 88%;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.01em;
  line-height: 1.12;
}
h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.6rem); margin-bottom: .75rem; }
h3 { font-size: 1.2rem; font-stretch: 92%; font-weight: 750; line-height: 1.25; margin-bottom: .4rem; }
p { margin-bottom: 1rem; }
strong { font-weight: 700; }
.text-red { color: var(--red); }

/* Accessibilità */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; box-shadow: none; }

/* ---------- Pulsanti ---------- */
.btn {
  --bs-btn-font-weight: 700;
  --bs-btn-padding-y: .75rem;
  --bs-btn-padding-x: 1.25rem;
  --bs-btn-border-radius: 999px;
  min-height: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-stretch: 95%;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn-lg { --bs-btn-padding-y: .9rem; --bs-btn-padding-x: 1.6rem; --bs-btn-font-size: 1.075rem; min-height: 54px; }
.btn i { font-size: 1.15em; }
.btn-wa {
  --bs-btn-color: #fff; --bs-btn-bg: var(--wa); --bs-btn-border-color: var(--wa);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--wa-hover); --bs-btn-hover-border-color: var(--wa-hover);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--wa-hover); --bs-btn-active-border-color: var(--wa-hover);
  box-shadow: 0 6px 18px rgba(21, 128, 61, .25);
}
.btn-wa:hover { transform: translateY(-1px); }
.btn-wa-sm { --bs-btn-padding-x: .9rem; --bs-btn-padding-y: .45rem; min-height: 44px; min-width: 44px; box-shadow: none; }
.btn-outline-navy {
  --bs-btn-color: var(--navy); --bs-btn-border-color: var(--navy); --bs-btn-bg: transparent;
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--navy); --bs-btn-hover-border-color: var(--navy);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--navy-900); --bs-btn-active-border-color: var(--navy-900);
  --bs-btn-border-width: 2px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 16px rgba(27, 23, 72, .06); }
.site-header .navbar { min-height: var(--header-h); padding: .5rem 0; }
.navbar-brand { padding: 0; margin-right: auto; }
.brand-logo { height: 44px; width: auto; display: block; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.navbar-toggler {
  border: 0; width: 44px; height: 44px; border-radius: 12px; padding: 0;
  color: var(--navy); font-size: 1.3rem; display: inline-flex; align-items: center; justify-content: center;
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler:focus-visible { outline: 3px solid var(--red); }
.navbar-nav { padding: .5rem 0 .75rem; }
.navbar-nav .nav-link {
  color: var(--navy); font-weight: 600; padding: .75rem .25rem; border-bottom: 1px solid var(--line);
}
.navbar-nav .nav-item:last-child .nav-link { border-bottom: 0; }
.navbar-nav .nav-link:hover { color: var(--red-ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 2rem 0 3rem;
  background:
    radial-gradient(1200px 500px at 110% -10%, var(--navy-soft) 0, transparent 60%),
    var(--bg-soft);
  overflow: hidden;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .875rem; font-weight: 700; color: var(--navy);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .35rem .85rem; margin-bottom: 1.1rem;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
.hero-title {
  font-size: clamp(2.15rem, 1.4rem + 3.6vw, 3.6rem);
  font-weight: 850; font-stretch: 84%;
  margin-bottom: 1rem;
}
.hero-lead { font-size: 1.125rem; color: var(--muted); max-width: 34em; margin-bottom: 1.5rem; }
.hero-cta { display: grid; gap: .75rem; margin-bottom: 1.4rem; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; font-size: .95rem; font-weight: 600; color: var(--navy); }
.hero-trust i { color: var(--wa); margin-right: .45rem; }

/* Mockup dispositivi (screenshot reali) */
.device-stage { position: relative; padding: 0 2.25rem 1.5rem 0; }
.device-browser {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.browser-bar {
  display: flex; align-items: center; gap: 5px; padding: 8px 10px; background: #f0f0f5; border-bottom: 1px solid var(--line);
}
.browser-bar span { width: 8px; height: 8px; border-radius: 50%; background: #d3d2de; }
.browser-bar em {
  font-style: normal; font-size: .7rem; color: var(--muted); background: #fff; border-radius: 6px;
  padding: 1px 10px; margin-left: 8px; flex: 1; max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.device-browser img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.device-phone {
  position: absolute; right: 0; bottom: 0; width: 30%; max-width: 170px;
  border: 6px solid var(--ink); border-radius: 22px; overflow: hidden; background: var(--ink);
  box-shadow: 0 18px 40px rgba(27, 23, 72, .28);
}
.device-phone img { display: block; width: 100%; aspect-ratio: 390 / 700; object-fit: cover; object-position: top; border-radius: 15px; }
.device-caption { font-size: .8rem; color: var(--muted); margin-top: .9rem; max-width: 70%; }

/* ---------- Discipline ---------- */
.sports { padding: 2.75rem 0 1rem; }
.sports-head { max-width: 46rem; margin-bottom: 1.25rem; }
.sports-head h2 { font-size: 1.5rem; margin-bottom: .4rem; }
.sports-head p { color: var(--muted); margin: 0; }
.sports-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem;
}
.sports-grid li { position: relative; border-radius: var(--radius-sm); overflow: hidden; background: var(--navy-soft); }
.sports-grid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.sports-grid span {
  position: absolute; inset: auto 0 0 0; padding: 1.4rem .4rem .4rem;
  font-size: .72rem; font-weight: 700; line-height: 1.15; color: #fff; text-align: center;
  background: linear-gradient(to top, rgba(27, 23, 72, .88), rgba(27, 23, 72, 0));
}

/* ---------- Sezioni ---------- */
.section { padding: 4rem 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: #e7e6f3; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 44rem; margin-bottom: 2rem; }
.section-lead { color: var(--muted); font-size: 1.075rem; }
.section-navy .section-lead { color: #cfcde4; }
.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--red-ink); margin-bottom: .6rem;
}
.kicker::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--red); }
.kicker-light { color: #ff9e95; }
.container-narrow { max-width: 820px; }

/* Vantaggi */
.benefit {
  height: 100%; display: flex; gap: 1rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; box-shadow: var(--shadow-sm);
}
.benefit h3 { font-size: 1.125rem; }
.benefit p { color: var(--muted); margin: 0; font-size: 1rem; }
.benefit-icon {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red-soft); color: var(--red-ink); font-size: 1.15rem;
}
.benefit-cta { background: var(--navy); border-color: var(--navy); color: #e7e6f3; }
.benefit-cta h3 { color: #fff; }
.benefit-cta p { color: #cfcde4; margin-bottom: 1rem; }

/* Il sito */
.feature-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .1rem; }
.feature-list li { display: flex; gap: .85rem; align-items: flex-start; padding: .55rem 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.feature-list li:last-child { border-bottom: 0; }
.feature-list strong { color: var(--navy); }
.feature-list i { color: var(--red); width: 1.25rem; text-align: center; margin-top: .3rem; flex: none; }
.panel-note {
  display: flex; gap: .9rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red);
  border-radius: var(--radius-sm); padding: 1rem 1.1rem;
}
.panel-note i { color: var(--navy); font-size: 1.2rem; margin-top: .25rem; }
.panel-note p { margin: 0; color: var(--muted); font-size: 1rem; }
.panel-note strong { color: var(--navy); }

/* Strumenti */
.tag {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 999px; white-space: nowrap;
}
.tag-all { background: rgba(255, 255, 255, .14); color: #fff; }
.tag-premium { background: var(--red); color: #fff; }
.tool {
  height: 100%; padding: 1rem 1.1rem; border-radius: var(--radius);
  background: var(--navy-700); border: 1px solid rgba(255, 255, 255, .08);
  display: grid; grid-template-columns: 44px 1fr; column-gap: .9rem; align-items: start;
}
/* su smartphone: icona a sinistra, etichetta sopra il titolo */
.tool-top { display: contents; }
.tool-top .tool-icon { grid-row: 1 / span 3; }
.tool-top .tag { justify-self: start; margin-bottom: .45rem; }
.tool h3, .tool p { grid-column: 2; }
.tool-icon {
  width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .1); color: #fff; font-size: 1.1rem;
}
.tool p { margin: 0; color: #cfcde4; font-size: 1rem; }

/* Esempi */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.filter {
  min-height: 44px; padding: .5rem 1rem; border-radius: 999px;
  border: 2px solid var(--line); background: #fff; color: var(--navy);
  font-weight: 700; font-size: .95rem; transition: background-color .2s, border-color .2s, color .2s;
}
.filter:hover { border-color: var(--navy); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.examples { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
.example[hidden] { display: none; }
.example a {
  display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.example a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.example img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.example-body { display: flex; flex-direction: column; gap: .15rem; padding: .8rem .85rem 1rem; flex: 1; }
.example-sport { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--red-ink); }
.example-name { font-weight: 750; font-stretch: 92%; color: var(--navy); line-height: 1.2; font-size: 1rem; }
.example-link { margin-top: auto; padding-top: .5rem; font-size: .85rem; font-weight: 700; color: var(--navy); display: inline-flex; gap: .4rem; align-items: center; }
.example-link i { font-size: .75em; }
.example a:hover .example-link { color: var(--red-ink); }

/* Come funziona */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: none; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.25rem 5rem; box-shadow: var(--shadow-sm); min-height: 100px;
}
.step-num {
  position: absolute; left: 1.1rem; top: 1rem;
  font-size: 3.2rem; font-weight: 900; font-stretch: 75%; line-height: 1; color: var(--red);
  -webkit-text-stroke: 0;
}
.step p { color: var(--muted); margin: 0; font-size: 1rem; }

/* Piani */
.plan {
  position: relative; height: 100%; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 1.6rem 1.35rem 1.4rem; box-shadow: var(--shadow-sm);
}
.plan-featured { border: 2px solid var(--navy); box-shadow: var(--shadow); padding-top: 2.4rem; }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  margin: 0; white-space: nowrap; background: var(--red); color: #fff;
  font-size: .8rem; font-weight: 800; padding: .35rem .9rem; border-radius: 999px;
  display: inline-flex; gap: .4rem; align-items: center;
}
.plan-name { font-size: 1.6rem; margin-bottom: .1rem; }
.plan-for { color: var(--red-ink); font-weight: 700; margin-bottom: 1rem; font-size: 1rem; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .6rem; margin-bottom: .6rem; }
.plan-price .amount { font-size: 2.6rem; font-weight: 850; font-stretch: 85%; color: var(--navy); line-height: 1; }
.plan-price .period { font-size: .9rem; color: var(--muted); font-weight: 600; }
.plan-ideal { color: var(--muted); font-size: .95rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.plan-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; font-size: .975rem; }
.plan-list li { display: flex; gap: .6rem; align-items: flex-start; }
.plan-list i { color: var(--wa); margin-top: .3rem; font-size: .85rem; flex: none; }
.plan-list .plan-all { font-weight: 700; color: var(--navy); }
.plan-list .plan-all i { color: var(--navy); }
.plan-support {
  margin-top: auto; margin-bottom: 1.1rem; display: flex; gap: .6rem; align-items: flex-start;
  background: var(--bg-soft); border-radius: var(--radius-sm); padding: .75rem .85rem; font-size: .925rem; color: var(--muted);
}
.plan-support i { color: var(--navy); margin-top: .25rem; }
.plan-support strong { color: var(--navy); }

.conditions {
  list-style: none; padding: 1.1rem; margin: 2rem 0 0;
  display: grid; gap: .65rem; background: var(--navy-soft); border-radius: var(--radius);
  font-weight: 650; color: var(--navy); font-size: .975rem;
}
.conditions li { display: flex; gap: .65rem; align-items: center; }
.conditions i { width: 1.25rem; text-align: center; color: var(--red-ink); }

.compare { margin-top: 1.5rem; text-align: center; }
.compare-toggle {
  min-height: 48px; border: 2px solid var(--line); background: #fff; border-radius: 999px;
  padding: .6rem 1.2rem; font-weight: 700; color: var(--navy);
  display: inline-flex; gap: .6rem; align-items: center;
}
.compare-toggle:hover { border-color: var(--navy); }
.compare-toggle .chev { font-size: .8em; transition: transform .25s; }
.compare-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.compare-table {
  width: 100%; margin-top: 1.25rem; border-collapse: separate; border-spacing: 0; text-align: left;
  font-size: .875rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  table-layout: fixed;
}
.compare-table th, .compare-table td { padding: .6rem .4rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare-table thead th { position: sticky; top: var(--header-h); background: var(--navy); color: #fff; text-align: center; font-weight: 800; font-size: .85rem; z-index: 1; }
.compare-table thead th:first-child { width: 40%; border-top-left-radius: var(--radius); }
.compare-table thead th:last-child { border-top-right-radius: var(--radius); }
.compare-table thead th { font-size: .72rem; padding-left: .15rem; padding-right: .15rem; letter-spacing: -.01em; }
.compare-table thead th.col-featured { background: var(--red); }
.compare-table tbody th { font-weight: 600; color: var(--ink); padding-left: .75rem; line-height: 1.3; }
.compare-table td { text-align: center; }
.compare-table td.col-featured { background: #fbf7f7; }
.compare-table .fa-check { color: var(--wa); }
.compare-table .no { color: #a8a7b8; font-weight: 700; }
.compare-table .txt { font-size: .75rem; font-weight: 700; color: var(--wa); line-height: 1.1; display: inline-block; }
.compare-table tr.group th { background: var(--bg-soft); color: var(--navy); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.compare-table tr.price-row th, .compare-table tr.price-row td { font-weight: 800; color: var(--navy); border-bottom: 0; }
.compare-table tr:last-child td.col-featured { color: var(--red-ink); }

/* Chi siamo */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 0; }
.stat {
  display: flex; flex-direction: column; gap: .35rem;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius); padding: .9rem .75rem;
}
.stat dd { margin: 0; font-size: 1.75rem; font-weight: 900; font-stretch: 78%; color: #fff; line-height: 1; }
.stat dt { font-size: .85rem; line-height: 1.3; }
.stat dd::after { content: ""; display: block; width: 26px; height: 3px; background: var(--red); border-radius: 2px; margin-top: .45rem; }
.stat dt { font-weight: 600; color: #cfcde4; }
.clients { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.clients-title { font-size: 1rem; font-weight: 700; color: #cfcde4 !important; text-align: center; margin-bottom: 1.1rem; font-stretch: 100%; }
.clients-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.clients-list li {
  background: #fff; border-radius: 14px; width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center; padding: 9px;
}
.clients-list img { max-height: 54px; width: auto; object-fit: contain; }

/* FAQ */
.faq {
  --bs-accordion-border-color: var(--line);
  --bs-accordion-border-radius: var(--radius);
  --bs-accordion-inner-border-radius: calc(var(--radius) - 1px);
  --bs-accordion-btn-padding-y: 1.1rem;
  --bs-accordion-btn-padding-x: 1.15rem;
  --bs-accordion-body-padding-x: 1.15rem;
  --bs-accordion-active-bg: var(--navy-soft);
  --bs-accordion-active-color: var(--navy);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(233, 63, 51, .45);
  --bs-accordion-btn-color: var(--navy);
}
.faq .accordion-header { margin: 0; }
.faq .accordion-button { font-weight: 700; font-size: 1.05rem; font-stretch: 95%; line-height: 1.3; }
.faq .accordion-body { color: var(--muted); }

/* CTA finale */
.final-cta { padding: 1rem 0 4rem; }
.final-box {
  position: relative; overflow: hidden; text-align: center;
  background: var(--navy); color: #e7e6f3; border-radius: 24px; padding: 2.5rem 1.25rem;
}
.final-box::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--red);
}
.final-box h2 { color: #fff; }
.final-box p { color: #cfcde4; max-width: 34rem; margin-left: auto; margin-right: auto; }
.final-box .btn { margin-top: .5rem; }
.final-number { margin: 1rem 0 0; font-weight: 700; letter-spacing: .02em; color: #fff !important; }

/* Barra WhatsApp fissa (smartphone) */
.wa-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1020;
  padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(27, 23, 72, .08);
  transform: translateY(110%); visibility: hidden;
  transition: transform .3s ease, visibility 0s linear .3s;
}
.wa-bar.is-visible { transform: none; visibility: visible; transition: transform .3s ease, visibility 0s; }
.wa-bar .btn { box-shadow: none; }
/* spazio per non coprire l'ultimo contenuto */
body { padding-bottom: 76px; }

/* Animazioni leggere: solo con JS attivo e senza riduzione del movimento */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ============ ≥ 576px ============ */
@media (min-width: 576px) {
  .hero-cta { display: flex; flex-wrap: wrap; }
  .hero-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
  .examples { gap: 1.1rem; }
  .clients-list li { width: 92px; height: 92px; }
  .clients-list img { max-height: 68px; }
  .conditions { grid-template-columns: 1fr 1fr; }
}

/* ============ ≥ 768px ============ */
@media (min-width: 768px) {
  .section { padding: 5.5rem 0; }
  .examples { grid-template-columns: repeat(2, 1fr); }
  .example img { aspect-ratio: 16 / 10; }
  .example-body { padding: 1rem 1.15rem 1.15rem; }
  .example-name { font-size: 1.15rem; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { padding: 1.5rem; padding-top: 5rem; }
  .step-num { top: 1.1rem; left: 1.4rem; font-size: 3.6rem; }
  .stats { gap: .75rem; }
  .stat { padding: 1.1rem 1.2rem; }
  .stat dd { font-size: 2.4rem; }
  .stat dt { font-size: 1rem; }
  .tool { display: block; padding: 1.25rem; }
  .tool-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; }
  .tool-top .tag { margin-bottom: 0; }
  .compare-table { font-size: .975rem; }
  .compare-table thead th { font-size: .9rem; }
  .compare-table th, .compare-table td { padding: .7rem 1rem; }
  .compare-table thead th:first-child { width: 52%; }
  .final-box { padding: 3.5rem 2rem; }
  /* la barra fissa serve solo su smartphone */
  .wa-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ============ ≥ 992px ============ */
@media (min-width: 992px) {
  :root { --header-h: 76px; }
  .brand-logo { height: 52px; }
  .navbar-nav { padding: 0; gap: .25rem; }
  .navbar-nav .nav-link { border: 0; padding: .5rem .8rem !important; border-radius: 8px; }
  .navbar-nav .nav-link:hover { background: var(--bg-soft); }
  .hero { padding: 4rem 0 5rem; }
  .hero-lead { font-size: 1.2rem; }
  .device-stage { padding-right: 3rem; }
  .sports { padding: 3.5rem 0 1rem; }
  .sports-head { display: flex; gap: 2rem; align-items: baseline; max-width: none; }
  .sports-head h2 { flex: none; }
  .sports-grid { grid-template-columns: repeat(8, 1fr); gap: .75rem; }
  .sports-grid img { aspect-ratio: 4 / 5; }
  .sports-grid span { font-size: .85rem; padding-bottom: .6rem; }
  .benefit { padding: 1.5rem; flex-direction: column; }
  .examples { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .plan { padding: 2rem 1.75rem 1.75rem; }
  .plan-featured { transform: translateY(-10px); padding-top: 2.6rem; }
  .conditions { grid-template-columns: repeat(4, 1fr); padding: 1.25rem 1.5rem; }
  .compare-table { max-width: 900px; margin-left: auto; margin-right: auto; }
  .clients-list { gap: 1rem; }
  .clients-list li { width: 110px; height: 110px; padding: 14px; }
  .clients-list img { max-height: 76px; }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .sports-grid img { transition: transform .5s ease; }
  .sports-grid li:hover img { transform: scale(1.05); }
}
