/* =============================================================================
   Mentoportuna — folha de estilos
   Sem dependências externas. Tema escuro, mobile-first, acessível.
   Compatível com a CSP estrita definida em staticwebapp.config.json
   (nenhum estilo inline é necessário).
   ============================================================================= */

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;

  --bg: #0b0b0c;
  --bg-2: #111114;
  --bg-3: #18181c;
  --fg: #f5f5f7;
  --fg-2: #b9b9c2;
  --fg-3: #8a8a94;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);

  --red: #e2231a;
  --orange: #f26b1d;
  --amber: #f7931e;
  --yellow: #ffb347;
  --brand: linear-gradient(135deg, #e2231a 0%, #f26b1d 55%, #f7931e 100%);

  --radius: 20px;
  --radius-sm: 12px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;

  --font-sans: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "SF Pro Display", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 900px) {
  :root { --header-h: 76px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
/* Scroll suave apenas após interação do utilizador: evita que o salto inicial
   para uma âncora (ex.: /#contacto vindo de outra página) fique a meio. */
@media (prefers-reduced-motion: no-preference) {
  html:focus-within { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgba(242, 107, 29, 0.45); color: #fff; }
section[tabindex="-1"]:focus { outline: none; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--fg);
  color: #000;
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.grad-text {
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, border-color 0.2s;
}
.btn .icon { width: 18px; height: 18px; }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(226, 35, 26, 0.65);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(242, 107, 29, 0.75); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--fg);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.07); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.header.is-scrolled {
  background: rgba(11, 11, 12, 0.74);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
}
.header .container {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
@media (min-width: 1100px) {
  .nav { margin-left: auto; }
  .header-actions { margin-left: 0; }
  .nav .nav-langs { display: none; }
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 36px; width: auto; }
@media (min-width: 900px) { .brand img { height: 40px; } }

.nav { display: flex; align-items: center; gap: 16px; }
.nav ul { display: flex; gap: 2px; }
.nav li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--fg-2);
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav li a:hover, .nav li a.is-active, .nav li a[aria-current="page"] { color: var(--fg); background: rgba(255, 255, 255, 0.06); }
.nav-cta { min-height: 44px; padding-block: 10px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--fg);
  transition: transform 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1099.98px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0; bottom: 0;
    z-index: 90;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    background: var(--bg);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0s 0.25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s, transform 0.25s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li a {
    display: flex;
    padding: 16px 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--fg);
  }
  .nav li a:hover, .nav li a.is-active { background: transparent; color: var(--amber); }
  .nav .nav-cta { margin-top: 24px; width: 100%; }
  .nav .nav-langs { flex-direction: row; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
  .nav .nav-langs li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    min-height: 42px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--fg-2);
  }
  .nav .nav-langs li a[aria-current="page"] { background: var(--brand); border-color: transparent; color: #fff; }
  body.nav-open { overflow: hidden; }
  body.nav-open .header { background: var(--bg); border-color: var(--line); }
}

/* ---------- Seletor de idioma ---------- */
.lang { position: relative; flex: none; }
.lang summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s, border-color 0.2s;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary .icon { width: 16px; height: 16px; color: var(--amber); }
.lang summary:hover, .lang[open] summary { border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.07); }
.lang ul {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 120;
  min-width: 170px;
  padding: 6px;
  display: grid;
  gap: 2px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: #141418;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.9);
}
.lang li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--fg-2);
}
.lang li a:hover { background: rgba(255, 255, 255, 0.06); color: var(--fg); }
.lang li a[aria-current="page"] { color: var(--fg); font-weight: 600; }
.lang li a[aria-current="page"]::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
}
@media (max-width: 1099.98px) { .header:not(.header-simple) .lang { display: none; } }
@media (max-width: 599.98px) { .header-simple .nav-cta { display: none; } }

.footer-bottom a { color: var(--fg-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.3); }
.footer-bottom a:hover { color: var(--fg); text-decoration-color: var(--amber); }

[hidden] { display: none !important; }

/* ---------- Cabeçalho das páginas interiores ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 96px));
  padding-bottom: clamp(24px, 4vw, 40px);
  overflow: clip;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(55% 60% at 85% 0%, rgba(226, 35, 26, 0.22), transparent 62%),
    radial-gradient(40% 40% at 10% 100%, rgba(242, 107, 29, 0.12), transparent 60%);
}
.page-hero > .container { position: relative; z-index: 1; max-width: 860px; }
.page-hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.8rem); font-weight: 800; letter-spacing: -0.035em; }
.page-hero .lead { margin-top: 20px; }
.page-hero .hero-actions { margin-top: 28px; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.jump a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fg-2);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.jump a:hover { color: var(--fg); border-color: rgba(242, 107, 29, 0.5); background: rgba(242, 107, 29, 0.1); }

/* ---------- Cabeçalho com imagem de marca (página Fut360) ---------- */
.page-hero.hero-split > .container {
  max-width: var(--container);
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
@media (min-width: 960px) { .page-hero.hero-split > .container { grid-template-columns: 1.05fr 0.95fr; } }
.page-hero.hero-split .platform-visual { padding: 16px 48px; }

/* ---------- Dashboards: cronologia de eventos e calendário ---------- */
.events { display: grid; gap: 8px; }
.events li {
  display: grid;
  grid-template-columns: 3.2rem 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.82rem;
  color: var(--fg-2);
}
.events .min { font-weight: 700; color: var(--amber); font-variant-numeric: tabular-nums; }
.events .tag {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-2);
  white-space: nowrap;
}
.events li.goal { border-color: rgba(140, 227, 161, 0.4); }
.events li.goal .tag { background: rgba(140, 227, 161, 0.15); color: #8ce3a1; }
.events li.against { border-color: rgba(255, 92, 92, 0.35); }
.events li.against .tag { background: rgba(255, 92, 92, 0.15); color: #ff8a80; }
.events li.ai .tag { background: rgba(247, 147, 30, 0.16); color: var(--amber); }

.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-h { padding: 4px 0; font-size: 0.64rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); text-align: center; }
.cal .d {
  min-height: 48px;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.68rem;
  line-height: 1.3;
  color: var(--fg-3);
  overflow: hidden;
}
.cal .d b { display: block; margin-bottom: 2px; font-weight: 600; color: var(--fg-2); }
.cal .d.ev { border-color: rgba(242, 107, 29, 0.45); color: var(--fg-2); }
.cal .d.match { background: rgba(226, 35, 26, 0.12); border-color: rgba(226, 35, 26, 0.45); color: var(--fg); }
.cal .d.off { opacity: 0.35; }
@media (max-width: 599.98px) { .cal .d { min-height: 40px; font-size: 0.6rem; padding: 4px; } }

/* ---------- Teasers das soluções (home) ---------- */
.teasers {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  margin-top: clamp(32px, 5vw, 48px);
}
.teaser { display: block; color: inherit; }
.teaser h3 { font-size: 1.15rem; }
.teaser-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--amber);
}
.teaser-link .icon { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.teaser:hover .teaser-link .icon { transform: translateX(3px); }

.platform.platform-compact { margin-top: 24px; padding: clamp(24px, 4vw, 40px); }
@media (min-width: 900px) { .platform.platform-compact { grid-template-columns: minmax(200px, 300px) 1fr; } }
.platform.platform-compact h3 { margin-top: 12px; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -0.03em; }
.platform.platform-compact .platform-lead { margin-top: 12px; font-size: 1rem; }
.platform.platform-compact .hero-actions { margin-top: 22px; }
.compact-lockup {
  display: block;
  width: min(100%, 300px);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 24px 48px rgba(3, 158, 118, 0.3));
}
@media (max-width: 899.98px) { .compact-lockup { width: min(60vw, 260px); } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(40px, 8vw, 96px));
  padding-bottom: clamp(48px, 8vw, 96px);
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 80% 18%, rgba(226, 35, 26, 0.22), transparent 62%),
    radial-gradient(45% 40% at 12% 90%, rgba(242, 107, 29, 0.14), transparent 60%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 25%, transparent 100%);
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 25%, transparent 100%);
}
.hero > .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 24px; height: 2px;
  border-radius: 2px;
  background: var(--brand);
}
@media (max-width: 599.98px) {
  .eyebrow { font-size: 0.7rem; letter-spacing: 0.1em; }
}

.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.hero h1 span { display: block; }

.lead {
  max-width: 58ch;
  margin-top: 24px;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--fg-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 36px;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--fg-2);
}
.hero-trust .icon { width: 18px; height: 18px; color: var(--amber); }

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: 24px 12px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242, 107, 29, 0.42), rgba(226, 35, 26, 0.16) 55%, transparent 74%);
  filter: blur(28px);
  animation: glow 7s ease-in-out infinite;
}
.hero-mark {
  position: relative;
  width: min(100%, 560px);
  filter: drop-shadow(0 30px 60px rgba(226, 35, 26, 0.35));
  animation: float 7s ease-in-out infinite;
}
@media (max-width: 959.98px) {
  .hero-visual { order: -1; padding: 0 12px; }
  .hero-mark { width: min(68vw, 360px); }
}

.chip-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(17, 17, 20, 0.86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.9);
  font-size: 0.85rem;
  font-weight: 600;
  animation: float 6s ease-in-out infinite;
}
.chip-float .icon { width: 16px; height: 16px; color: var(--amber); }
.chip-float:nth-of-type(1) { left: 0; top: 10%; animation-delay: -1s; }
.chip-float:nth-of-type(2) { right: 0; top: 4%; animation-delay: -3s; }
.chip-float:nth-of-type(3) { left: 2%; bottom: 8%; animation-delay: -2s; }
.chip-float:nth-of-type(4) { right: 2%; bottom: 14%; animation-delay: -4s; }
@media (max-width: 959.98px) {
  .chip-float { font-size: 0.78rem; padding: 8px 12px; }
  .chip-float:nth-of-type(2), .chip-float:nth-of-type(3) { display: none; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes glow {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 44px; padding-right: 44px; }
.marquee li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.marquee li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secções ---------- */
.section {
  position: relative;
  padding-block: clamp(72px, 10vw, 128px);
}
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.section-head p { margin-top: 18px; font-size: 1.1rem; color: var(--fg-2); }

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }

.card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), rgba(242, 107, 29, 0.14), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(242, 107, 29, 0.4); box-shadow: 0 24px 50px -30px rgba(226, 35, 26, 0.5); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }

.card-icon {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  margin-bottom: 20px;
  border-radius: 14px;
  border: 1px solid rgba(242, 107, 29, 0.28);
  background: rgba(242, 107, 29, 0.12);
  color: var(--amber);
}
.card h3 { margin-bottom: 10px; font-size: 1.25rem; }
.card p { color: var(--fg-2); font-size: 0.98rem; }

.list { display: grid; gap: 10px; margin-top: 18px; }
.list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--fg-2);
  font-size: 0.95rem;
}
.list .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--amber); }

/* ---------- Futebol ---------- */
.futebol {
  background:
    linear-gradient(180deg, transparent, rgba(226, 35, 26, 0.06) 30%, rgba(226, 35, 26, 0.06) 70%, transparent);
}
.futebol-top {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}
@media (min-width: 1000px) {
  .futebol-top { grid-template-columns: 1fr 1fr; }
  .futebol-top .section-head { margin-bottom: 0; }
}

.dash {
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #151519, #0e0e11);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dash-title { font-weight: 600; font-size: 0.95rem; }
.dash-sub { font-size: 0.8rem; color: var(--fg-3); }
.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(226, 35, 26, 0.35);
  background: rgba(226, 35, 26, 0.12);
  color: #ff8a6a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.badge-live::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ff4d3d;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 77, 61, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(255, 77, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 61, 0); }
}

.pitch {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #16191e, #101216);
}
.pitch svg { width: 100%; height: auto; }
.pitch .pass {
  stroke-dasharray: 3 3;
  animation: dash 1.6s linear infinite;
}
.pitch .player {
  transform-box: fill-box;
  transform-origin: center;
  animation: blip 3s ease-in-out infinite;
}
.pitch .player:nth-child(2) { animation-delay: -0.6s; }
.pitch .player:nth-child(3) { animation-delay: -1.2s; }
.pitch .player:nth-child(4) { animation-delay: -1.8s; }
.pitch .player:nth-child(5) { animation-delay: -2.4s; }
@keyframes dash { to { stroke-dashoffset: -12; } }
@keyframes blip {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}
.stat-label { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.stat-value { margin-top: 4px; font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; font-variant-numeric: tabular-nums; }
.bar {
  height: 6px;
  margin-top: 10px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  border-radius: 3px;
  background: var(--brand);
  transform-origin: left;
  animation: grow 1.4s var(--ease) both;
}
.w-58 { --w: 58%; }
.w-72 { --w: 72%; }
.w-84 { --w: 84%; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.dash-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
  font-size: 0.85rem;
  color: var(--fg-2);
}
.dash-foot strong { color: var(--fg); }
.rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ---------- Tecnologia ---------- */
.tech-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(32px, 5vw, 48px);
}
.tech-chips li {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg-2);
}

/* ---------- Processo ---------- */
.steps {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.step-num {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.step h3 { margin-bottom: 10px; font-size: 1.2rem; }
.step p { color: var(--fg-2); font-size: 0.98rem; }

/* ---------- Sobre ---------- */
.sobre-grid {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (min-width: 960px) {
  .sobre-grid { grid-template-columns: 1.1fr 0.9fr; }
  .sobre-grid .section-head { margin-bottom: 0; }
}
.sobre-text { display: grid; gap: 16px; margin-top: 18px; color: var(--fg-2); font-size: 1.05rem; }
.sobre-text a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(247, 147, 30, 0.6); }
.sobre-text a:hover { text-decoration-color: var(--amber); }
.values { display: grid; gap: 14px; }
.value {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.value .card-icon { width: 44px; height: 44px; margin: 0; flex: none; }
.value h3 { font-size: 1.05rem; margin-bottom: 6px; }
.value p { font-size: 0.95rem; color: var(--fg-2); }

/* ---------- Estrutura (funções que trabalham connosco) ---------- */
.roles { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.roles li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.95rem;
  font-weight: 600;
}
.roles .icon { width: 20px; height: 20px; color: var(--amber); }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 64px);
  border-radius: 28px;
  border: 1px solid rgba(242, 107, 29, 0.35);
  background:
    radial-gradient(60% 100% at 100% 0%, rgba(247, 147, 30, 0.25), transparent 60%),
    radial-gradient(50% 100% at 0% 100%, rgba(226, 35, 26, 0.3), transparent 60%),
    #131316;
  display: grid;
  gap: 24px;
  align-items: center;
}
@media (min-width: 900px) { .cta-banner { grid-template-columns: 1fr auto; } }
.cta-banner h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; }
.cta-banner p { margin-top: 10px; color: var(--fg-2); }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; gap: clamp(32px, 5vw, 56px); }
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; }
  .contact-grid .section-head { margin-bottom: 0; }
}
.contact-info { display: grid; gap: 14px; margin-top: 28px; }
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.contact-item .card-icon { width: 44px; height: 44px; margin: 0; flex: none; }
.contact-item h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-item p, .contact-item a { color: var(--fg-2); font-size: 0.95rem; }
.contact-item a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.3); }
.contact-item a:hover { color: var(--fg); text-decoration-color: var(--amber); }

.form {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 32px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--fg-2); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.28);
  color: var(--fg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--fg-3); }
.field :is(input, select, textarea):focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(247, 147, 30, 0.22); }
.field textarea { min-height: 150px; resize: vertical; }
.field-error { display: none; font-size: 0.85rem; color: #ff8a80; }
.field.is-invalid :is(input, select, textarea) { border-color: #ff5c5c; }
.field.is-invalid .field-error { display: block; }

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--fg-2);
  cursor: pointer;
}
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--orange); flex: none; }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.check.is-invalid { color: #ff8a80; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { font-size: 0.9rem; color: var(--fg-2); min-height: 1.4em; }
.form-status.is-success { color: #8ce3a1; }
.form-status.is-error { color: #ff8a80; }
.form-note { font-size: 0.82rem; color: var(--fg-3); }

/* ---------- Footer ---------- */
.footer {
  padding: 56px 0 calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #09090a;
}
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; } }
.footer-brand img { height: 40px; width: auto; }
.footer-brand p { max-width: 36ch; margin-top: 18px; font-size: 0.95rem; color: var(--fg-3); }
.footer h4 {
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.footer ul { display: grid; gap: 10px; }
.footer li a { color: var(--fg-3); font-size: 0.95rem; transition: color 0.2s; }
.footer li a:hover { color: var(--fg); }
.footer-bottom {
  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: 0.85rem;
  color: var(--fg-3);
}

/* ---------- Páginas secundárias (404, privacidade) ---------- */
.page { padding-top: calc(var(--header-h) + clamp(40px, 8vw, 96px)); padding-bottom: clamp(64px, 10vw, 128px); }
.page .section-head p { margin-top: 14px; }
.prose { max-width: 72ch; display: grid; gap: 16px; color: var(--fg-2); }
.prose h2 { margin-top: 24px; font-size: 1.5rem; color: var(--fg); }
.prose h3 { margin-top: 8px; font-size: 1.15rem; color: var(--fg); }
.prose ul { display: grid; gap: 8px; padding-left: 20px; list-style: disc; }
.prose a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--fg); }
.error-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 10rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

/* ---------- Plataforma Fut360 ---------- */
.platform {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 28px;
  border: 1px solid rgba(242, 107, 29, 0.3);
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(247, 147, 30, 0.16), transparent 60%),
    radial-gradient(50% 80% at 0% 100%, rgba(226, 35, 26, 0.2), transparent 60%),
    #121215;
}
@media (min-width: 1000px) { .platform { grid-template-columns: 1.1fr 0.9fr; } }
.platform h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; }
.platform-lead { margin-top: 18px; font-size: 1.08rem; color: var(--fg-2); }
.platform-note { margin-top: 18px; font-size: 0.92rem; color: var(--fg-3); }
.platform .hero-actions { margin-top: 24px; }
.platform-visual { display: grid; place-items: center; padding: 28px 48px; }

.list-2 { gap: 10px 20px; }
@media (min-width: 640px) { .list-2 { grid-template-columns: 1fr 1fr; } }

.ring360 {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.ring-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(247, 147, 30, 0.45);
  animation: spin 48s linear infinite;
}
.ring-orbit::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.ring-core {
  position: relative;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  border: 1px solid var(--line-2);
  background: radial-gradient(circle at 30% 30%, #202026, #0e0e11);
  box-shadow: 0 0 90px -20px rgba(242, 107, 29, 0.65), inset 0 0 40px rgba(226, 35, 26, 0.14);
}
.ring-core .ring-lockup { display: block; width: 84%; height: auto; margin: 0 auto; }
.orb {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(17, 17, 20, 0.92);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.9);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.orb .icon { width: 14px; height: 14px; color: var(--amber); }
.orb-1 { top: -4%; left: 50%; transform: translateX(-50%); }
.orb-2 { top: 26%; right: -10%; }
.orb-3 { bottom: 8%; right: -4%; }
.orb-4 { bottom: 8%; left: -4%; }
.orb-5 { top: 26%; left: -10%; }
@keyframes spin { to { transform: rotate(360deg); } }
/* Em ecrãs estreitos os satélites passam a uma fila de pílulas por baixo do núcleo. */
@media (max-width: 599.98px) {
  .platform-visual { padding: 8px 0 0; }
  .ring360 { width: 100%; aspect-ratio: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .ring-orbit { display: none; }
  .ring-core { width: 200px; flex: none; margin-bottom: 10px; }
  .orb { position: static; transform: none; }
}
/* Versão maior do anel para o cabeçalho da página Fut360 (logo com tagline no núcleo). */
@media (min-width: 600px) {
  .ring360.ring-hero { width: min(100%, 440px); }
  .ring-hero .ring-core { width: 66%; }
}

/* Fut360: ecrãs reais da plataforma (PC + telemóvel sobreposto) */
.shots { position: relative; width: 100%; }
.shots.has-tel { padding-right: 7%; padding-bottom: 9%; }
.shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background: #0e0e11;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
}
.shots .shot-tel {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28%;
  border-radius: 20px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.shot-tel-solo { width: min(62%, 300px); margin-inline: auto; border-radius: 24px; }
.section-gap { margin-top: clamp(28px, 4vw, 40px); }
.section-gap-sm { margin-top: 20px; }
.solution .sol-name { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.solution h2.sol-name { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.modules .card { padding: 22px 22px 20px; }
.modules .card h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 1.05rem; }
.modules .card .chip { font-size: 0.62rem; }

/* Fut360: maquete "jogo ao vivo" (secção O que faz) */
.device {
  width: min(100%, 340px);
  padding: 18px;
  border-radius: 28px;
  border: 1px solid var(--line-2);
  background: #0e0e11;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.device-bar { display: flex; justify-content: space-between; align-items: center; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.device-live { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--fg); font-variant-numeric: tabular-nums; }
.device-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(226, 35, 26, 0.22); }
.device-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 16px 0; text-align: center; font-size: 0.86rem; font-weight: 700; }
.device-score strong { font-family: var(--font-display); font-size: 2.1rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.device-foot { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin-top: 16px; font-size: 0.74rem; color: var(--fg-3); }
.device-foot .bar { margin-top: 0; }
.device-foot strong { color: var(--fg); font-variant-numeric: tabular-nums; white-space: nowrap; }

.hero-trust a { text-decoration: underline dotted; text-underline-offset: 4px; text-decoration-color: rgba(247, 147, 30, 0.7); }
.hero-trust a:hover { color: var(--fg); text-decoration-style: solid; }

/* ---------- Soluções ---------- */
.solutions { display: grid; gap: 24px; }
.solution {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
}
@media (min-width: 1000px) {
  .solution { grid-template-columns: 1.05fr 0.95fr; }
  .solution:nth-child(even) .sol-visual { order: -1; }
}
.sol-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}
.sol-kicker::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: var(--brand); }
.sol-name { margin-top: 14px; font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; }
.sol-tagline { margin-top: 8px; font-size: 1.12rem; font-weight: 600; color: var(--fg); }
.sol-desc { margin-top: 14px; color: var(--fg-2); }
.sol-features { margin-top: 20px; }
.sol-actions { margin-top: 24px; }

/* ---------- Serviços (página de detalhe) ---------- */
.services { display: grid; gap: 24px; }
.svc {
  padding: clamp(24px, 4vw, 48px);
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
}
.svc-head { display: grid; gap: 18px; align-items: start; }
@media (min-width: 640px) { .svc-head { grid-template-columns: auto 1fr; } }
.svc-head .card-icon { width: 56px; height: 56px; margin: 4px 0 0; }
.svc-head .sol-name { margin-top: 10px; }
.svc-intro { margin-top: 22px; max-width: 78ch; font-size: 1.05rem; color: var(--fg-2); }
.svc-cols { display: grid; gap: 18px; margin-top: 28px; }
@media (min-width: 900px) { .svc-cols { grid-template-columns: repeat(3, 1fr); } }
.svc-col {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.svc-col h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}
.svc-col h3::before { content: ""; width: 16px; height: 2px; border-radius: 2px; background: var(--brand); }
.svc-col .list { margin-top: 14px; }
.svc-proof {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.proof {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(242, 107, 29, 0.25);
  background: rgba(242, 107, 29, 0.07);
}
.proof strong { display: block; font-size: 1.05rem; letter-spacing: -0.01em; }
.proof span { display: block; margin-top: 4px; font-size: 0.86rem; color: var(--fg-2); }
.svc-stack { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 22px; }
.svc-stack-label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }
.svc-stack .tech-chips { margin: 0; justify-content: flex-start; }
.svc .sol-actions { margin-top: 26px; }

/* ---------- Ilustrações das soluções ---------- */
.mock {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #151519, #0e0e11);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.mock .bar { margin-top: 0; }
.mock-head { display: flex; align-items: center; gap: 12px; }
.avatar {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}
.mock-title { font-weight: 600; font-size: 0.95rem; }
.mock-sub { font-size: 0.78rem; color: var(--fg-3); }
.up { font-style: normal; font-weight: 700; color: #8ce3a1; }
.mock-foot { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--fg-2); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.ok { background: #8ce3a1; box-shadow: 0 0 8px rgba(140, 227, 161, 0.8); }

/* Vídeo + IA */
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 12.5% 100%,
    radial-gradient(60% 80% at 50% 115%, rgba(242, 107, 29, 0.28), transparent 60%),
    linear-gradient(180deg, #1a2a20, #0f1a14);
}
.video-frame::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 26%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.video-frame::after {
  content: "";
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.22);
}
.ai-tag {
  position: absolute;
  z-index: 1;
  top: 12px; left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(247, 147, 30, 0.5);
  background: rgba(11, 11, 12, 0.78);
  font-size: 0.72rem;
  font-weight: 600;
}
.ai-tag .icon { width: 14px; height: 14px; color: var(--amber); }
.play {
  position: absolute;
  z-index: 1;
  left: 50%; top: 50%;
  width: 52px; height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
}
.play::after {
  content: "";
  position: absolute;
  left: 20px; top: 15px;
  border-left: 16px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.timeline {
  position: absolute;
  z-index: 1;
  left: 12px; right: 12px; bottom: 12px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 71%;
  border-radius: 3px;
  background: var(--brand);
}
.tick { position: absolute; top: -4px; width: 3px; height: 14px; border-radius: 2px; background: rgba(255, 255, 255, 0.65); }
.tick.hot { background: var(--yellow); box-shadow: 0 0 10px rgba(255, 179, 71, 0.9); }
.cursor { position: absolute; top: -7px; width: 2px; height: 20px; background: #fff; box-shadow: 0 0 8px rgba(255, 255, 255, 0.8); }
.at-8 { left: 8%; } .at-21 { left: 21%; } .at-34 { left: 34%; } .at-47 { left: 47%; } .at-58 { left: 58%; } .at-71 { left: 71%; } .at-86 { left: 86%; }
.compare { display: grid; gap: 12px; }
@media (min-width: 560px) { .compare { grid-template-columns: 1fr 1fr; } }
.cmp { display: grid; gap: 6px; }
.cmp-label { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.cmp-line { display: grid; grid-template-columns: 6.2rem 1fr 2.4rem; align-items: center; gap: 8px; font-size: 0.78rem; }
.cmp-line small { font-size: 0.74rem; color: var(--fg-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmp-line strong { text-align: right; font-variant-numeric: tabular-nums; }
.bar i.dim { background: rgba(255, 255, 255, 0.3); }
.w-70 { --w: 70%; } .w-78 { --w: 78%; } .w-80 { --w: 80%; } .w-82 { --w: 82%; } .w-85 { --w: 85%; } .w-91 { --w: 91%; }

/* Scouting */
.scout-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 479.98px) { .scout-grid { grid-template-columns: 1fr; } }
.radar { width: 100%; height: auto; }
.trend { display: grid; gap: 6px; }
.spark { width: 100%; height: auto; }
.weeks { display: flex; justify-content: space-between; padding: 0 2px; font-size: 0.62rem; color: var(--fg-3); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--fg-2);
}

/* Gestão administrativa */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 479.98px) { .tiles { grid-template-columns: 1fr; } }
.tile { padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); }
.tile-sub { margin-top: 2px; font-size: 0.72rem; color: var(--fg-3); }
.rows { display: grid; gap: 8px; }
.rows li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.8rem;
}
.status {
  flex: none;
  padding: 4px 8px;
  border-radius: 999px;
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status.ok { color: #8ce3a1; background: rgba(140, 227, 161, 0.12); }
.status.warn { color: #ffb347; background: rgba(255, 179, 71, 0.14); }
.status.done { color: var(--fg-2); background: rgba(255, 255, 255, 0.08); }

/* Performance do jogador */
.athlete-grid { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; }
@media (max-width: 479.98px) { .athlete-grid { grid-template-columns: 1fr; justify-items: center; } }
.gauge { position: relative; width: 120px; aspect-ratio: 1; }
.gauge svg { width: 100%; height: 100%; }
.gauge-bg { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 10; }
.gauge-fg {
  fill: none;
  stroke: var(--amber);
  stroke-width: 10;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  animation: gauge 1.4s var(--ease) both;
}
@keyframes gauge { from { stroke-dasharray: 0 100; } }
.gauge-val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1; }
.gauge-val strong { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; }
.gauge-val span { display: block; margin-top: 5px; font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.dims { display: grid; gap: 8px; width: 100%; }
.dims li { display: grid; grid-template-columns: 6rem 1fr 2rem; align-items: center; gap: 10px; font-size: 0.8rem; }
.dims strong { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Logo Fut360 ---------- */
.fut360-logo { height: 56px; width: auto; margin-bottom: 22px; }
.sol-fut360-logo { height: 34px; width: auto; }

/* ---------- Larguras genéricas das barras ---------- */
.w-10 { --w: 10%; } .w-15 { --w: 15%; } .w-20 { --w: 20%; } .w-25 { --w: 25%; } .w-30 { --w: 30%; } .w-35 { --w: 35%; }
.w-40 { --w: 40%; } .w-45 { --w: 45%; } .w-50 { --w: 50%; } .w-55 { --w: 55%; } .w-60 { --w: 60%; } .w-65 { --w: 65%; }
.w-75 { --w: 75%; } .w-88 { --w: 88%; } .w-90 { --w: 90%; } .w-95 { --w: 95%; } .w-100 { --w: 100%; }
.w-5 { --w: 5%; } .w-7 { --w: 7%; } .w-9 { --w: 9%; } .w-12 { --w: 12%; } .w-62 { --w: 62%; }

/* ---------- Athlete Lab: dashboard de demonstração ---------- */
.app {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line-2);
  background: #0e0e11;
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.app-top {
  display: grid;
  gap: 20px;
  padding: clamp(18px, 3vw, 28px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #16161a, #101013);
}
@media (min-width: 960px) { .app-top { grid-template-columns: 1fr auto; align-items: center; } }
.athlete { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.athlete .avatar { width: 64px; height: 64px; font-size: 1.2rem; }
.athlete h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 800; letter-spacing: -0.02em; }
.athlete-meta { margin-top: 4px; font-size: 0.92rem; color: var(--fg-2); }
.athlete-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--fg-2);
}
.chip.ok { color: #8ce3a1; border-color: rgba(140, 227, 161, 0.35); background: rgba(140, 227, 161, 0.08); }
.app-right { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.readiness { display: flex; align-items: center; gap: 14px; }
.gauge.small { width: 84px; }
.gauge.small .gauge-val strong { font-size: 1.3rem; }
.gauge.small .gauge-val span { font-size: 0.52rem; }
.readiness-text strong { display: block; font-size: 1rem; }
.readiness-text span { font-size: 0.8rem; color: var(--fg-3); }
.period {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
}
.period button {
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--fg-2);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.period button[aria-pressed="true"] { background: var(--brand); color: #fff; }

.app-tabs {
  display: flex;
  gap: 4px;
  padding: 10px clamp(12px, 2vw, 20px);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.app-tabs::-webkit-scrollbar { display: none; }
.app-tabs button {
  flex: none;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: var(--fg-2);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.app-tabs button:hover { color: var(--fg); }
.app-tabs button[aria-selected="true"] { color: var(--fg); background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 -2px 0 var(--amber); }

.app-body { padding: clamp(14px, 2.5vw, 24px); }
.kpis {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  margin-bottom: 16px;
}
.kpi { padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); }
.kpi-label { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.kpi-value { margin-top: 6px; font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kpi-delta { margin-top: 4px; font-size: 0.76rem; color: var(--fg-2); }
.kpi-delta.up { color: #8ce3a1; }
.kpi-delta.down { color: #ff8a80; }

.panels { display: grid; gap: 14px; grid-template-columns: repeat(12, 1fr); }
.panel {
  grid-column: span 12;
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #151519, #101013);
}
@media (min-width: 720px) {
  .span-6 { grid-column: span 6; }
  .span-8 { grid-column: span 8; }
  .span-4 { grid-column: span 4; }
}
@media (min-width: 720px) and (max-width: 1019.98px) {
  .span-4 { grid-column: span 6; }
  .span-8 { grid-column: span 12; }
}
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.panel-head h3 { font-size: 0.98rem; font-weight: 700; }
.panel-head span { font-size: 0.74rem; color: var(--fg-3); }
.chart { width: 100%; height: auto; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 0.74rem; color: var(--fg-3); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.legend i.brand { background: var(--brand); }
.legend i.dim { background: rgba(255, 255, 255, 0.3); }
.legend i.green { background: #8ce3a1; }
.legend i.blue { background: #6cb8ff; }

.alerts { display: grid; gap: 8px; }
.alerts li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.84rem;
  color: var(--fg-2);
}
.alerts li strong { color: var(--fg); }
.alerts .dot { margin-top: 6px; }
.dot.warn { background: #ffb347; box-shadow: 0 0 8px rgba(255, 179, 71, 0.8); }
.dot.info { background: #6cb8ff; box-shadow: 0 0 8px rgba(108, 184, 255, 0.8); }
.dot.bad { background: #ff5c5c; box-shadow: 0 0 8px rgba(255, 92, 92, 0.8); }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.table th, .table td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table th { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.table th.num, .table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.table tr:last-child td { border-bottom: 0; }

.metric-list { display: grid; gap: 10px; }
.metric-list li { display: grid; grid-template-columns: minmax(6rem, 8.5rem) 1fr auto; gap: 10px; align-items: center; font-size: 0.82rem; }
.metric-list .bar { margin-top: 0; }
.metric-list strong { font-variant-numeric: tabular-nums; }
.metric-list small { display: block; font-size: 0.7rem; color: var(--fg-3); }

.bio { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.bio-item { padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.bio-item .kpi-value { font-size: 1.2rem; }
.bio-item .status { display: inline-block; margin-top: 8px; }

.plan-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
@media (max-width: 599.98px) { .plan-week { grid-template-columns: repeat(4, 1fr); } }
.day { padding: 10px 6px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); text-align: center; font-size: 0.72rem; color: var(--fg-2); }
.day b { display: block; margin-bottom: 6px; font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); }
.day.train { border-color: rgba(242, 107, 29, 0.4); }
.day.match { background: rgba(226, 35, 26, 0.12); border-color: rgba(226, 35, 26, 0.45); color: var(--fg); }
.day.rest { color: var(--fg-3); }
.day .lvl { display: block; height: 4px; margin-top: 8px; border-radius: 2px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.day .lvl i { display: block; height: 100%; width: var(--w, 50%); background: var(--brand); }

.objectives { display: grid; gap: 10px; }
.objective { display: grid; gap: 8px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); font-size: 0.84rem; }
.objective-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.objective-head strong { color: var(--fg); }
.objective-head span { font-size: 0.74rem; color: var(--fg-3); }
.objective .bar { margin-top: 0; }
.objective p { font-size: 0.8rem; color: var(--fg-2); }

.note-box { padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(247, 147, 30, 0.3); background: rgba(247, 147, 30, 0.08); font-size: 0.84rem; color: var(--fg-2); }
.note-box strong { color: var(--fg); }

.app-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 12px clamp(14px, 2.5vw, 24px);
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
  color: var(--fg-3);
}

/* ---------- Animações de entrada ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js :is(.grid, .steps, .values, .contact-info) > .reveal:nth-child(2) { transition-delay: 0.08s; }
html.js :is(.grid, .steps, .values, .contact-info) > .reveal:nth-child(3) { transition-delay: 0.16s; }
html.js :is(.grid, .steps, .values, .contact-info) > .reveal:nth-child(4) { transition-delay: 0.24s; }
html.js :is(.grid, .steps, .values, .contact-info) > .reveal:nth-child(5) { transition-delay: 0.32s; }
html.js :is(.grid, .steps, .values, .contact-info) > .reveal:nth-child(6) { transition-delay: 0.4s; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .hero-mark, .chip-float { animation: none; }
}

/* ---------- Impressão ---------- */
@media print {
  .header, .nav-toggle, .hero::before, .hero::after, .marquee, .chip-float, .form, .cta-banner { display: none !important; }
  body { background: #fff; color: #000; }
  .page, .hero { padding-top: 0; min-height: 0; }
}

/* Product-first homepage: real app screens and a clear demonstration label. */
.hero-product { margin: 0; min-width: 0; padding: 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: #111722; box-shadow: 0 24px 70px rgba(0,0,0,.35); }
.hero-product img { display: block; width: 100%; height: auto; border-radius: 12px; }
.hero-product figcaption { margin-top: 12px; color: #b9c2ce; font-size: .8rem; line-height: 1.5; }
.featured-product { padding-top: 0; }
.featured-product .platform-compact { margin-top: 0; }
.featured-product h2 { margin-top: 12px; }
