/* ==========================================================================
   CT Force — style.css
   Recriação 1:1 do handoff "CT Force - Handoff" (Home.dc.html + context.md)
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Marca */
  --accent: #FF5B00;
  --accent-shadow-30: rgba(255, 91, 0, 0.3);
  --accent-shadow-18: rgba(255, 91, 0, 0.18);
  --accent-glow-53: rgba(255, 91, 0, 0.533);
  --ink-on-accent: #1a0d00;

  /* Fundos */
  --bg-base: #0b0b0b;
  --bg-black: #000000;
  --bg-alt: #121212;
  --bg-alt-2: #101010;
  --bg-header: rgba(10, 10, 10, 0.96);
  --bg-hero-fallback: #140e0b;
  --surface: #141414;
  --surface-2: #1c1c1c;
  --surface-3: #262626;
  --surface-card: rgba(17, 17, 17, 0.92);
  --surface-glass: rgba(11, 11, 11, 0.94);
  --surface-glass-light: rgba(255, 255, 255, 0.12);
  --surface-today: rgba(255, 255, 255, 0.05);
  --plan-highlight: #1a1410;
  --track: #1a1a1a;

  /* Texto */
  --white: #ffffff;
  --text-1: #e6e6e6;
  --text-2: #dcdcdc;
  --text-3: #cfcfcf;
  --text-3b: #d4d4d4;
  --text-4: #b5b5b5;
  --text-4b: #a9a9a9;
  --text-4c: #bdbdbd;
  --text-muted: #8a8a8a;
  --text-muted-2: #9a9a9a;
  --text-muted-3: #808080; /* era #7a7a7a — ajustado p/ contraste AA (4,6:1) */
  --text-faint: #7b7b7b; /* era #6a6a6a — ajustado p/ contraste AA (4,65:1) */
  --text-faint-2: #5a5a5a;

  /* Estados */
  --success: #3ddc84;
  --danger: #ff6b6b;
  --star: #FFB400;
  --whatsapp: #25D366;
  --whatsapp-ink: #0b2e16;

  /* Bordas */
  --border: rgba(255, 255, 255, 0.08);
  --border-soft: rgba(255, 255, 255, 0.06);
  --border-mid: rgba(255, 255, 255, 0.1);
  --border-arrow: rgba(255, 255, 255, 0.25);
  --border-strong: rgba(255, 255, 255, 0.3);

  /* LED / brilhos */
  --bar-fill: rgba(255, 255, 255, 0.85);
  --led-line: 0 0 6px rgba(255, 255, 255, 0.9), 0 0 18px rgba(255, 255, 255, 0.45), 0 0 42px rgba(255, 255, 255, 0.2);
  --led-frame: 0 0 8px rgba(255, 255, 255, 0.8), 0 0 24px rgba(255, 255, 255, 0.35), inset 0 0 8px rgba(255, 255, 255, 0.5);
  --led-diag: drop-shadow(0 0 4px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.45));
  --led-bar: 0 0 5px rgba(255, 255, 255, 0.7), 0 0 14px rgba(255, 255, 255, 0.3);
  --led-bar-today: 0 0 6px var(--accent), 0 0 16px var(--accent), 0 0 32px var(--accent-glow-53);
  /* SVG não aceita text-shadow: drop-shadow equivalente (os filtros se somam, por isso intensidades menores) */
  --arrow-glow: drop-shadow(0 0 4px rgba(255, 255, 255, 0.85)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.35));
  --shadow-cta: 0 12px 30px var(--accent-shadow-30);
  --shadow-plan: 0 24px 60px var(--accent-shadow-18);
  --shadow-glass-btn: inset 0 1px 1px rgba(255, 255, 255, 0.35), inset 0 -6px 12px rgba(0, 0, 0, 0.15);

  /* Tipografia */
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;

  /* Layout */
  --container: 1120px;
  --container-narrow: 880px;
  --section-py: clamp(64px, 8vw, 104px);
  --gap-title: clamp(32px, 4vw, 48px);
  --diag-hero: 7vw;
  --diag: 6vw;

  /* Movimento (ajustados pelo JS conforme a intensidade) */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --dur-ui: .3s;
  --dur-press: .12s;
  --accent-tint-18: rgba(255, 91, 0, 0.18);
  --accent-shadow-40: rgba(255, 91, 0, 0.4);
  --shadow-lift: 0 10px 24px rgba(0, 0, 0, 0.35);
  --header-h: 69px;
  --bg-header-solid: rgba(10, 10, 10, 0.98);
  --bg-menu: #080808;
  --shadow-header: 0 8px 24px rgba(0, 0, 0, 0.35);
  --reveal-y: 16px;
  --mask-scale: 1.06;
}

/* ---------- 1b. Fontes (hospedadas no próprio site; subset latin, cobre o português) ----------
   Barlow e Barlow Condensed — SIL Open Font License 1.1 (Google Fonts). */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/barlow-400.woff2') format('woff2'); 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: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/barlow-500.woff2') format('woff2'); 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: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/barlow-600.woff2') format('woff2'); 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: 'Barlow Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/barlow-condensed-500.woff2') format('woff2'); 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: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/barlow-condensed-600.woff2') format('woff2'); 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: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/barlow-condensed-700.woff2') format('woff2'); 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: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url('../assets/fonts/barlow-condensed-800.woff2') format('woff2'); 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; }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg-base);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-display); margin: 0; text-transform: uppercase; }
a { color: var(--accent); text-decoration: none; }
:where(a:hover) { color: var(--white); }
picture { display: contents; }
img { display: block; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }

/* Utilitários de cor */
.text-accent { color: var(--accent); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.nowrap { white-space: nowrap; }

/* Ícones SVG (sprite embutido no index.html; paths do Font Awesome Free 6.5.1).
   Mesmas proporções e alinhamento da fonte do FA: altura 1em, largura = viewBox / 512. */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  display: inline-block;
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -0.125em;
  overflow: visible;
}
.icon--w320 { width: 0.625em; }
.icon--w384 { width: 0.75em; }
.icon--w448 { width: 0.875em; }
.icon--w488 { width: 0.953125em; }
.icon--w576 { width: 1.125em; }
.icon--w640 { width: 1.25em; }

/* Âncoras do menu: compensa o header fixo (69px) para o título não ficar por baixo */
main section[id] { scroll-margin-top: var(--header-h); }

/* ---------- 3. Keyframes ---------- */
@keyframes bounceDown { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 10px); } }
@keyframes ledOn { 0% { opacity: 0; } 8% { opacity: .9; } 12% { opacity: .1; } 22% { opacity: 1; } 26% { opacity: .25; } 40% { opacity: 1; } 100% { opacity: 1; } }
/* Brilho do WhatsApp: a sombra fica fixa num pseudo-elemento e só a opacidade anima
   (composição na GPU). Antes a própria box-shadow era animada e repintava todo frame. */
@keyframes waGlowPulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- 4. Componentes compartilhados ---------- */
.container {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--gap-title);
}
.container--center { align-items: center; }
.container--narrow { max-width: var(--container-narrow); }

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.h2 { font-size: clamp(28px, 4vw, 44px); color: var(--white); }
.h2--xl { font-size: clamp(34px, 5vw, 56px); line-height: 0.95; }

.led-line {
  display: block;
  width: 72px;
  height: 3px;
  border-radius: 3px;
  margin: 18px auto 0;
  background: var(--white);
  box-shadow: var(--led-line);
}
.led-line--left { margin: 18px 0 0; }

.led-diag {
  position: absolute;
  left: 0;
  width: 100%;
  height: var(--diag);
  z-index: 3;
  pointer-events: none;
  overflow: visible;
  filter: var(--led-diag);
}
.led-diag--top { top: 0; }
.led-diag--bottom { bottom: 0; }

.icon-box {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-box--bordered { border: 1px solid var(--border); }
.icon-box .icon { color: var(--accent); font-size: 16px; }

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  width: 100%;
}

.btn-primary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 34px;
  border-radius: 30px;
  background: var(--accent);
  color: var(--ink-on-accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-cta);
  transition: transform .2s ease;
}
.btn-primary:hover { transform: translateY(-2px); color: var(--ink-on-accent); }

/* ---------- 5. Header ----------
   Mobile: logo | Treinar agora | menu (☰→✕). Instagram fica dentro do painel.
   Desktop (≥820px): logo | links (com seção ativa) | Instagram | Treinar agora. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border-soft);
  transition: background-color var(--dur-ui) ease, box-shadow var(--dur-ui) ease, border-color var(--dur-ui) ease;
}
/* Ao rolar: fundo sólido + sombra, separa o menu do conteúdo (a altura não muda) */
.site-header.is-scrolled {
  background: var(--bg-header-solid);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-header);
}
.site-header.menu-open { background: var(--bg-header-solid); box-shadow: none; }

.nav {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
}
.nav__logo { display: flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.nav__logo img { height: 30px; width: auto; }

.nav__links {
  display: none;
  gap: clamp(14px, 2.4vw, 30px);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 1px;
}
.nav__link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-1);
  transition: color var(--dur-ui) ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--dur-ui) var(--ease-out);
}
.nav__link:hover,
.nav__link:focus-visible { color: var(--white); }
.nav__link.is-active { color: var(--accent); }
.nav__link:hover::after,
.nav__link:focus-visible::after,
.nav__link.is-active::after { transform: scaleX(1); }

.nav__actions { display: flex; gap: 8px; align-items: center; }

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
}
.icon-btn .icon { font-size: 16px; }
.nav__insta { display: none; }

/* CTA principal sempre visível */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 16px 0 14px;
  border-radius: 30px;
  background: var(--accent);
  color: var(--ink-on-accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  white-space: nowrap;
  transition: transform var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) ease;
}
.header-cta .icon { font-size: 17px; }
.header-cta:hover,
.header-cta:focus-visible {
  color: var(--ink-on-accent);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px var(--accent-shadow-40);
}
.header-cta:active { transform: scale(.96); transition-duration: var(--dur-press); }

/* Botão do menu: três linhas que viram um X */
.menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--white);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--dur-ui) ease, border-color var(--dur-ui) ease, transform var(--dur-ui) var(--ease-out);
}
.menu-toggle:hover { background: var(--surface-3); }
.menu-toggle:active { transform: scale(.92); transition-duration: var(--dur-press); }
.menu-toggle[aria-expanded="true"] { background: var(--surface-3); border-color: var(--border-strong); }
.burger { position: relative; width: 20px; height: 14px; }
.burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: top .35s var(--ease-out), transform .35s var(--ease-out), opacity .2s ease;
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 6px; }
.burger span:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Painel mobile: sobrepõe a página (não empurra o conteúdo) e ocupa a tela abaixo do header */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg-menu);
  border-top: 1px solid var(--border-soft);
}
.mobile-menu:not([hidden]) { display: block; }
.mobile-menu__inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 8px 20px calc(24px + env(safe-area-inset-bottom, 0px));
}
.mobile-menu__list { display: flex; flex-direction: column; }
.mobile-menu__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  border-bottom: 1px solid var(--border-soft);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--white);
  transition: color var(--dur-ui) ease, padding-left var(--dur-ui) var(--ease-out);
}
.mobile-menu__num {
  min-width: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  transition: color var(--dur-ui) ease;
}
.mobile-menu__link .icon {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-faint-2);
  transition: transform var(--dur-ui) var(--ease-out), color var(--dur-ui) ease;
}
.mobile-menu__link:hover,
.mobile-menu__link:focus-visible { color: var(--accent); padding-left: 8px; }
.mobile-menu__link:hover .icon,
.mobile-menu__link:focus-visible .icon { transform: translateX(4px); color: var(--accent); }
.mobile-menu__link:active { padding-left: 12px; transition-duration: var(--dur-press); }
/* Seção atual: cor da marca + barra lateral */
.mobile-menu__link.is-active,
.mobile-menu__link.is-active .mobile-menu__num { color: var(--accent); }
.mobile-menu__link.is-active::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--accent);
}

.mobile-menu__footer {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-menu__status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
}
.mobile-menu__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  border-radius: 30px;
  background: var(--accent);
  color: var(--ink-on-accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
}
.mobile-menu__cta .icon { font-size: 18px; }
.mobile-menu__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  border-radius: 30px;
  border: 1.5px solid var(--border-strong);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  transition: border-color var(--dur-ui) ease, transform var(--dur-ui) var(--ease-out);
}
.mobile-menu__social .icon { font-size: 18px; }
.mobile-menu__social:hover,
.mobile-menu__social:focus-visible { border-color: var(--accent); color: var(--white); }
.mobile-menu__social:active { transform: scale(.97); transition-duration: var(--dur-press); }

/* Trava a rolagem da página com o menu aberto */
html.is-menu-open,
html.is-menu-open body { overflow: hidden; }

@media (min-width: 820px) {
  .nav__links { display: flex; }
  .nav__insta { display: flex; }
  .nav__logo img { height: 32px; }
  .menu-toggle, .mobile-menu, .mobile-menu:not([hidden]) { display: none; }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  z-index: 2;
  min-height: clamp(480px, 82vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-hero-fallback);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--diag-hero)));
}
.hero__media {
  position: absolute;
  left: 0;
  right: 0;
  top: -15%;
  height: 130%;
  will-change: transform;
}
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 55%, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.92) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  will-change: transform, opacity;
}
.hero__title {
  font-size: clamp(34px, 6.4vw, 72px);
  color: var(--white);
  line-height: 1.02;
  letter-spacing: 0.5px;
  font-weight: 700;
}
.btn-glass {
  background: var(--surface-glass-light);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--accent);
  box-shadow: var(--shadow-glass-btn);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  padding: 14px 34px;
  border-radius: 30px;
}
.btn-glass:hover { color: var(--white); }
.hero__arrow {
  position: absolute;
  bottom: calc(var(--diag-hero) + 16px);
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 22px;
  z-index: 2;
  filter: var(--arrow-glow);
  animation: bounceDown 1.6s ease-in-out infinite;
}

/* ---------- 7. O primeiro passo ---------- */
.steps {
  position: relative;
  z-index: 1;
  margin-top: calc(var(--diag-hero) * -1);
  background: var(--bg-black);
  padding: calc(var(--diag-hero) + 48px) 24px calc(var(--diag) + var(--section-py));
}
.section-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  pointer-events: none;
}
.lead {
  max-width: 600px;
  color: var(--text-3);
  font-size: 16px;
  line-height: 1.6;
  text-wrap: pretty;
}
.step-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s ease, border-color .35s ease;
}
.step-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.step-card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--bg-black);
}
.step-card__media--logo { display: flex; align-items: center; justify-content: center; }
.step-card__img { width: 100%; height: 100%; object-fit: cover; }
.step-card__img--pos-30 { object-position: center 30%; }
.step-card__img--logo { width: 58%; height: 58%; object-fit: contain; }
.step-card__body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--accent);
}
.card-title { color: var(--white); font-size: 22px; line-height: 1.1; letter-spacing: 0.5px; }
.card-text { color: var(--text-4); font-size: 15px; line-height: 1.6; text-wrap: pretty; }

/* ---------- 8. Sobre nós ---------- */
.about {
  position: relative;
  z-index: 2;
  margin: calc(var(--diag) * -1) 0;
  padding: calc(var(--diag) + var(--section-py)) 24px;
  overflow: hidden;
  clip-path: polygon(0 var(--diag), 100% 0, 100% calc(100% - var(--diag)), 0 100%);
  background: var(--bg-alt);
}
.about__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}
.about__text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 24px; }
.about__lead { color: var(--text-1); font-size: clamp(17px, 1.6vw, 19px); line-height: 1.65; text-wrap: pretty; }
.feature-list {
  padding: 24px 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list__text { color: var(--text-2); font-size: 15px; line-height: 1.6; padding-top: 10px; text-wrap: pretty; }
.about__photo { flex: 1 1 360px; position: relative; }
.about__frame {
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--white);
  border-radius: 20px;
  box-shadow: var(--led-frame);
}
.about__photo-box {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-black);
}
.about__parallax {
  position: absolute;
  left: 0;
  right: 0;
  top: -12%;
  height: 124%;
  will-change: transform;
}
.about__img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }

/* ---------- 9. Nosso ambiente ---------- */
.ambiente {
  padding: calc(var(--diag) + var(--section-py)) 24px var(--section-py);
  background: var(--bg-base);
}
.env-card-wrap { display: flex; min-width: 0; }
.env-card {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .4s ease, border-color .4s ease;
}
.env-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.env-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.env-card__img--musculacao { object-position: 45% center; }
.env-card__img--cardio { object-position: 55% 30%; }
.env-card__img--poltrona { object-position: 62% 30%; }
.env-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.6) 62%, rgba(0, 0, 0, 0.95) 100%);
}
.env-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.env-card__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 2px;
  color: var(--accent);
}
.env-card__title { color: var(--white); font-size: 24px; line-height: 1.05; letter-spacing: 0.5px; }
.env-card__text { color: var(--text-3b); font-size: 14px; line-height: 1.55; text-wrap: pretty; }

.perks {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.perk {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.perk__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.perk__icon .icon { color: var(--accent); font-size: 16px; }
.perk__label {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

/* ---------- 10. Planos ---------- */
.plans { position: relative; padding: var(--section-py) 24px; background: var(--bg-alt); }
.plans__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
  width: 100%;
  padding-top: 14px;
  align-items: stretch;
}
.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.plan--featured {
  background: var(--plan-highlight);
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-plan);
}
.plan__badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--accent);
  color: var(--ink-on-accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  padding: 5px 12px;
  border-radius: 20px;
}
.plan__badge--light { background: var(--white); }
.plan__head { display: flex; flex-direction: column; gap: 10px; }
.plan__name { color: var(--white); font-size: 22px; letter-spacing: 0.5px; }
.plan--featured .plan__name { color: var(--accent); }
.price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
}
.price__cur { font-size: 20px; }
.price__int { font-size: 60px; line-height: 0.9; }
.price__cents { font-size: 24px; }
.price__per {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-muted-2);
  margin-left: 6px;
}
.plan__save { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; }
.plan__old { color: var(--text-muted-3); text-decoration: line-through; }
.plan__eco { color: var(--success); font-weight: 600; }
.plan__list {
  padding: 22px 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.4;
}
.plan__list .icon { color: var(--accent); font-size: 13px; margin-top: 3px; }
.btn-plan {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  border-radius: 30px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  transition: transform .2s ease;
}
.btn-plan--solid { background: var(--accent); color: var(--ink-on-accent); border: 0; }
.btn-plan--solid:hover { transform: translateY(-2px); color: var(--ink-on-accent); }
.btn-plan--outline { background: transparent; color: var(--white); border: 1.5px solid var(--border-strong); }
.btn-plan--outline:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--white); }

/* ---------- 11. Avaliações ---------- */
.reviews { padding: var(--section-py) 24px; background: var(--bg-base); }
.reviews__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.carousel-nav { display: flex; gap: 10px; }
.arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--border-arrow);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.arrow-btn:hover { border-color: var(--accent); color: var(--accent); }
.reviews__body { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.rating-card {
  flex: 1 1 280px;
  background: var(--accent);
  border-radius: 18px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
}
.rating-card__top { display: flex; flex-direction: column; gap: 10px; }
.rating-card__label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-on-accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1.5px;
}
.rating-card__score {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 96px;
  line-height: 0.9;
  color: var(--ink-on-accent);
}
.rating-card__stars { display: flex; gap: 3px; color: var(--ink-on-accent); font-size: 18px; }
.rating-card__count { color: var(--ink-on-accent); font-size: 15px; font-weight: 500; }
.btn-dark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: 30px;
  background: var(--bg-base);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
}
.btn-dark:hover { color: var(--white); }
.btn-dark .icon { font-size: 13px; }
.reviews__track-wrap { flex: 999 1 480px; min-width: 0; }
.reviews__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  height: 100%;
}
.reviews__track::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 min(100%, 340px);
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.review__top { display: flex; justify-content: space-between; align-items: center; }
.review__quote { color: var(--accent); font-size: 28px; }
.review__stars { display: flex; gap: 3px; color: var(--star); font-size: 13px; }
.review__text { color: var(--text-1); font-size: 16px; line-height: 1.6; flex: 1; text-wrap: pretty; }
.review__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  flex-shrink: 0;
}
.review__meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.review__name { color: var(--white); font-weight: 600; font-size: 15px; }
.review__when { color: var(--text-muted-3); font-size: 13px; }
.review__g { margin-left: auto; color: var(--text-faint-2); font-size: 16px; }

/* ---------- 12. Horários ---------- */
.hours {
  position: relative;
  padding: var(--section-py) 24px calc(var(--diag) + var(--section-py));
  background: var(--bg-alt-2);
}
.hours__sub { color: var(--text-4b); font-size: 15px; line-height: 1.6; max-width: 520px; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 30px;
  background: var(--bg-base);
  border: 1px solid var(--border-mid);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
}
.is-open { color: var(--success); }
.is-closed { color: var(--danger); }
.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  animation: livePulse 1.6s ease-in-out infinite;
}
.hours__panel {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(14px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hours__row,
.hours__scale {
  display: grid;
  grid-template-columns: minmax(64px, 110px) minmax(0, 1fr) minmax(92px, auto);
  gap: clamp(12px, 3vw, 24px);
}
.hours__row {
  align-items: center;
  padding: 14px clamp(10px, 2vw, 16px);
  border-radius: 12px;
  background: transparent;
}
.hours__row.is-today { background: var(--surface-today); }
.hours__day { display: flex; flex-direction: column; gap: 2px; }
.hours__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.5px;
  color: var(--text-4c);
}
.hours__tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--accent);
}
.hours__track { position: relative; height: 4px; border-radius: 4px; background: var(--track); }
.hours__bar {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 4px;
  background: var(--bar-fill);
  box-shadow: var(--led-bar);
}
/* Escala 4h–23h: left = (abre − 4) / 19, width = (fecha − abre) / 19 */
.hours__bar--wk { left: 5.26%; width: 89.47%; }
.hours__bar--sat { left: 15.79%; width: 47.37%; }
.hours__bar--sun { left: 21.05%; width: 21.05%; }
.hours__row.is-today .hours__bar { background: var(--accent); box-shadow: var(--led-bar-today); }
.hours__now {
  position: absolute;
  top: -6px;
  bottom: -6px;
  width: 2px;
  background: var(--white);
  border-radius: 2px;
}
.hours__time {
  text-align: right;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--text-4c);
  white-space: nowrap;
}
.hours__row.is-today .hours__name,
.hours__row.is-today .hours__time { color: var(--white); }
.hours__scale { padding: 6px clamp(10px, 2vw, 16px) 0; }
.hours__ticks { position: relative; height: 16px; color: var(--text-faint); font-size: 11px; }
.tick { position: absolute; transform: translateX(-50%); }
.tick--6 { left: 10.53%; }
.tick--12 { left: 42.11%; }
.tick--18 { left: 73.68%; }
.tick--22 { left: 94.74%; }

/* Celular: a barra ficava espremida (~50px) entre o dia e o horário e os rótulos
   6h/12h/18h/22h se sobrepunham. Abaixo de 600px: dia + horário em cima,
   barra e escala na largura toda embaixo. */
@media (max-width: 599px) {
  /* Avaliações no celular: sem setas (ficavam longe do carrossel, acima do card
     laranja); o card ocupa 85% e a ponta do próximo aparece, indicando o arraste. */
  .carousel-nav { display: none; }
  .review { flex-basis: 85%; }

  .hours__row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "day time" "track track";
    row-gap: 12px;
  }
  .hours__day { grid-area: day; flex-direction: row; align-items: baseline; gap: 8px; }
  .hours__time { grid-area: time; }
  .hours__track { grid-area: track; }
  .hours__scale { grid-template-columns: 1fr; }
  .hours__scale > span { display: none; }
}

/* ---------- 13. Contato ---------- */
.contact {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--diag) * -1);
  padding: calc(var(--diag) + var(--section-py)) 24px var(--section-py);
  overflow: hidden;
  clip-path: polygon(0 var(--diag), 100% 0, 100% 100%, 0 100%);
  background: var(--bg-black);
}
.contact__bg {
  position: absolute;
  left: 0;
  right: 0;
  top: -10%;
  bottom: -10%;
  will-change: transform;
  opacity: 0.35;
}
.contact__bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; pointer-events: none; }
.contact__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.85) 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 45%, rgba(0, 0, 0, 0.95) 100%);
  pointer-events: none;
}
.contact__card {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  background: var(--surface-glass);
  border: 1px solid var(--border-mid);
  border-radius: 20px;
  overflow: hidden;
}
.contact__main {
  flex: 1 1 340px;
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact__text { color: var(--text-2); font-size: 16px; line-height: 1.7; text-wrap: pretty; }
.contact__list { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: center; gap: 14px; color: var(--white); }
.contact-item:hover { color: var(--white); }
.contact-item__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-item__label { color: var(--text-muted); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.contact-item__value { color: var(--white); font-size: 15px; font-weight: 500; line-height: 1.4; }
.contact__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.btn-cta,
.btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  border-radius: 30px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
}
.btn-cta { flex: 1 1 180px; background: var(--accent); color: var(--ink-on-accent); }
.btn-cta:hover { color: var(--ink-on-accent); }
.btn-cta .icon { font-size: 18px; }
.btn-outline { flex: 1 1 140px; border: 1.5px solid var(--border-strong); color: var(--white); }
.btn-outline:hover { border-color: var(--accent); color: var(--white); }

/* ---------- 14. Rodapé ---------- */
.site-footer { position: relative; background: var(--bg-base); padding: clamp(56px, 6vw, 72px) 24px 28px; }
.footer__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  align-items: start;
}
.footer__brand { display: flex; flex-direction: column; gap: 18px; }
.footer__logo { display: flex; }
.footer__logo img { height: 34px; width: auto; }
.footer__addr { color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.social { display: flex; gap: 8px; }
.social__btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
}
.social__btn:hover { background: var(--accent); color: var(--ink-on-accent); }
.social__btn .icon { font-size: 16px; }
.footer__col { display: flex; flex-direction: column; gap: 14px; }
.footer__title { color: var(--white); font-size: 15px; letter-spacing: 1.5px; margin: 0; }
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__link {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--text-4b);
  font-size: 14px;
  min-height: 28px;
}
.footer__link:hover { color: var(--white); }
.footer__link .icon { color: var(--accent); font-size: 13px; width: 14px; text-align: center; }
.footer__bottom {
  max-width: var(--container);
  margin: 48px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.copyright { color: var(--text-faint); font-size: 13px; }
.to-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-4b);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
}
.to-top:hover { color: var(--accent); }
.to-top .icon { font-size: 12px; }

/* ---------- 15. Botão flutuante do WhatsApp ---------- */
.wa-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border-radius: 40px;
  background: var(--whatsapp);
  color: var(--whatsapp-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  box-shadow: 0 0 0 1px rgba(160, 255, 200, 0.25), 0 10px 26px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .2s ease;
}
.wa-fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.45), 0 0 26px rgba(37, 211, 102, 0.22);
  opacity: 0.35;
  pointer-events: none;
}
/* Só pulsa quando o botão está visível (escondido no topo não gasta nada) */
@media (prefers-reduced-motion: no-preference) {
  .wa-fab.is-visible::after { animation: waGlowPulse 3.2s ease-in-out infinite; }
}
.wa-fab:hover { color: var(--whatsapp-ink); }
.wa-fab__icon {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.wa-fab__icon .icon { position: relative; font-size: 22px; color: var(--whatsapp); }
.wa-fab__text { display: none; flex-direction: column; line-height: 1.05; }
.wa-fab__kicker { font-size: 10px; font-weight: 600; letter-spacing: 1px; opacity: 0.8; }
@media (min-width: 820px) {
  .wa-fab { padding: 4px 16px 4px 4px; }
  .wa-fab__text { display: flex; }
}

/* ---------- 16. Estados iniciais das animações ----------
   <html class="js"> vem no HTML; o main.js (defer) troca as classes e aplica as transições.
   Desfoque (blur) na entrada só no desktop: em celular ele pesa muito na GPU/CPU.
   Rede de segurança: se o main.js não carregar (sem "js-ready"), tudo aparece após 3 s. */
@media (prefers-reduced-motion: no-preference) {
  .js .site-header:not(.is-in) { opacity: 0; transform: translateY(-12px); }
  .js .intro:not(.is-in) { opacity: 0; transform: translateY(18px); }
  .js .hero__img:not(.is-in) { transform: scale(1.08); }

  .js [data-reveal="up"]:not(.is-revealed) { opacity: 0; transform: translateY(var(--reveal-y)); }
  .js [data-reveal="mask"]:not(.is-revealed) { opacity: 0; transform: translateY(14px); }
  .js [data-reveal="mask"]:not(.is-revealed) img { transform: scale(var(--mask-scale)); }

  .js [data-led] { opacity: 0; }
  .js [data-led].is-lit { animation: ledOn 1.3s ease-out 0.25s forwards; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 820px) {
  .js .intro:not(.is-in) { filter: blur(8px); }
  .js [data-reveal="up"]:not(.is-revealed) { filter: blur(6px); }
}

@keyframes failsafeShow { to { opacity: 1; transform: none; filter: none; } }
html.js:not(.js-ready) .site-header,
html.js:not(.js-ready) .intro,
html.js:not(.js-ready) .hero__img,
html.js:not(.js-ready) [data-reveal],
html.js:not(.js-ready) [data-reveal] img,
html.js:not(.js-ready) [data-led] { animation: failsafeShow 0s 3s forwards; }

/* ---------- 17. Micro-interações dos botões ----------
   Hover: sobe/acende suavemente. :active: leve "afundada" (feedback no toque).
   :focus-visible recebe o mesmo realce do hover para navegação por teclado. */

/* Transições base */
.btn-glass,
.btn-primary,
.btn-plan,
.btn-cta,
.btn-outline,
.btn-dark,
.mobile-menu__cta {
  transition:
    transform var(--dur-ui) var(--ease-out),
    background-color var(--dur-ui) ease,
    border-color var(--dur-ui) ease,
    box-shadow var(--dur-ui) ease,
    color var(--dur-ui) ease;
}
.icon-btn,
.arrow-btn,
.social__btn {
  transition:
    transform var(--dur-ui) var(--ease-out),
    background-color var(--dur-ui) ease,
    border-color var(--dur-ui) ease,
    color var(--dur-ui) ease;
}
.btn-cta .icon,
.btn-outline .icon,
.btn-dark .icon,
.mobile-menu__cta .icon,
.arrow-btn .icon,
.to-top .icon { transition: transform var(--dur-ui) var(--ease-out); }
.footer__link,
.to-top,
.nav__link { transition: color var(--dur-ui) ease; }

/* CTA do hero (vidro) */
.btn-glass:hover,
.btn-glass:focus-visible {
  transform: translateY(-2px);
  background: var(--accent-tint-18);
  box-shadow: var(--shadow-glass-btn), 0 12px 30px var(--accent-shadow-40);
}

/* Botões sólidos / contorno: sobem 2px */
.btn-primary:hover,
.btn-primary:focus-visible { box-shadow: 0 16px 36px var(--accent-shadow-40); }
.btn-plan--solid:hover,
.btn-plan--solid:focus-visible,
.btn-cta:hover,
.btn-cta:focus-visible,
.mobile-menu__cta:hover,
.mobile-menu__cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px var(--accent-shadow-40);
}
.btn-plan--outline:focus-visible,
.btn-outline:hover,
.btn-outline:focus-visible { transform: translateY(-2px); border-color: var(--accent); }
.btn-dark:hover,
.btn-dark:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-cta:hover .icon,
.mobile-menu__cta:hover .icon { transform: rotate(-8deg) scale(1.1); }
.btn-outline:hover .icon { transform: translateX(3px); }
.btn-dark:hover .icon { transform: rotate(72deg); }

/* Botões de ícone */
.icon-btn:hover,
.icon-btn:focus-visible { background: var(--surface-3); color: var(--white); }
.social__btn:hover,
.social__btn:focus-visible { transform: translateY(-2px); }
.arrow-btn:focus-visible { border-color: var(--accent); color: var(--accent); }
.arrow-btn[data-review-dir="-1"]:hover .icon { transform: translateX(-3px); }
.arrow-btn[data-review-dir="1"]:hover .icon { transform: translateX(3px); }
.to-top:hover .icon { transform: translateY(-3px); }

/* Estado pressionado (vale também no toque) */
.btn-glass:active,
.btn-primary:active,
.btn-plan:active,
.btn-cta:active,
.btn-outline:active,
.btn-dark:active,
.mobile-menu__cta:active {
  transform: translateY(0) scale(.97);
  transition-duration: var(--dur-press);
}
.icon-btn:active,
.arrow-btn:active,
.social__btn:active {
  transform: scale(.92);
  transition-duration: var(--dur-press);
}

/* Botão flutuante */
.wa-fab.is-visible:hover,
.wa-fab.is-visible:focus-visible { transform: translateY(-3px) scale(1.04); }
.wa-fab.is-visible:active { transform: scale(.96); transition-duration: var(--dur-press); }

/* Abertura/fechamento do menu mobile (itens em cascata) */
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes menuOut { to { opacity: 0; transform: translateY(-8px); } }
@keyframes menuItemIn { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  .mobile-menu:not([hidden]) { animation: menuIn .3s var(--ease-out); }
  .mobile-menu:not([hidden]) .mobile-menu__list > li,
  .mobile-menu:not([hidden]) .mobile-menu__footer { animation: menuItemIn .42s var(--ease-out) backwards; }
  .mobile-menu__list > li:nth-child(1) { animation-delay: .03s; }
  .mobile-menu__list > li:nth-child(2) { animation-delay: .07s; }
  .mobile-menu__list > li:nth-child(3) { animation-delay: .11s; }
  .mobile-menu__list > li:nth-child(4) { animation-delay: .15s; }
  .mobile-menu__list > li:nth-child(5) { animation-delay: .19s; }
  .mobile-menu__list > li:nth-child(6) { animation-delay: .23s; }
  .mobile-menu__footer { animation-delay: .3s; }
  .mobile-menu.is-closing { animation: menuOut .2s ease forwards; }
  .mobile-menu.is-closing .mobile-menu__list > li,
  .mobile-menu.is-closing .mobile-menu__footer { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .btn-glass, .btn-primary, .btn-plan, .btn-cta, .btn-outline, .btn-dark, .mobile-menu__cta,
  .icon-btn, .arrow-btn, .social__btn, .mobile-menu__link, .nav__link::after,
  .header-cta, .menu-toggle, .burger span, .mobile-menu__social, .site-header { transition-duration: .01s; }
}

/* ---------- 18. Páginas internas (política de privacidade, 404) ---------- */
.copyright__link {
  color: var(--text-4b);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-ui) ease;
}
.copyright__link:hover,
.copyright__link:focus-visible { color: var(--white); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--text-1);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  transition: color var(--dur-ui) ease;
}
.back-link .icon { font-size: 13px; transition: transform var(--dur-ui) var(--ease-out); }
.back-link:hover,
.back-link:focus-visible { color: var(--accent); }
.back-link:hover .icon { transform: translateX(-3px); }

.legal { padding: clamp(48px, 6vw, 80px) 24px var(--section-py); background: var(--bg-base); }
.legal__inner { max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: clamp(30px, 4.5vw, 48px); color: var(--white); line-height: 1.05; }
.legal__updated { color: var(--text-muted); font-size: 14px; margin-top: 12px; }
.legal h2 { font-size: 22px; color: var(--white); letter-spacing: 0.5px; margin: 40px 0 12px; }
.legal p,
.legal li { color: var(--text-2); font-size: 16px; line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.legal li::marker { color: var(--accent); }
.legal strong { color: var(--white); }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover,
.legal a:focus-visible { color: var(--white); }

.notfound {
  min-height: calc(100vh - 69px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--section-py) 24px;
  background: var(--bg-black);
}
.notfound__code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(96px, 18vw, 180px);
  line-height: 0.9;
  color: var(--accent);
}
.notfound h1 { font-size: clamp(28px, 4vw, 40px); color: var(--white); margin-top: 8px; }
.notfound p { color: var(--text-3); font-size: 16px; line-height: 1.6; max-width: 460px; margin: 16px auto 32px; }
.notfound .btn-primary { display: inline-flex; }
