/* ===================================================================
   ACADEMIA MALHA AÇÃO — Landing Page
   Paleta e tipografia oficiais, extraídas do Manual da Marca (2026 · V1).
   Ajuste as variáveis abaixo para atualizar cores em todo o site.
   =================================================================== */

:root {
  /* Azul Malha — cor base oficial da marca */
  --navy: #17265a;
  --navy-600: #142150;
  --navy-700: #121c46;
  --navy-800: #0f173a;
  --navy-900: #101725; /* Grafite — texto corrido / versão 1 cor */

  /* Laranja Ação — o "A", destaques e botões (máx. 15% da peça) */
  /* --accent: uso DECORATIVO e texto sobre fundo escuro (5.5:1 sobre navy). */
  --accent: #f2622e;
  --accent-600: #d6491a;
  /* --accent-cta: fundo de botão com texto branco — 4.62:1 (WCAG AA). */
  --accent-cta: #d1440f;
  --accent-cta-600: #b03809;
  /* --accent-ink: laranja para TEXTO sobre fundo claro — 5.14:1 (WCAG AA). */
  --accent-ink: #c2410c;

  --star: #c9761a; /* âmbar das estrelas — 3.45:1 sobre branco */
  --whatsapp: #25d366;
  --whatsapp-600: #1eb856;

  --white: #ffffff;
  --areia: #ede8e0; /* fundo de respiro dos impressos/posts claros */
  --azul-claro: #8fa3d6; /* legendas sobre azul e gráficos */
  --light: #ede8e0;
  --gray-200: #dfe2ea;
  --gray-400: #9099b0;
  --gray-600: #626a82;
  --gray-700: #4d5470;

  /* Manual da Marca p.06 — Manrope, uma família só, em três papéis fixos:
     800 título (-0.035em) · 700 etiqueta (0.28em) · 500 texto (1.65). */
  --font-display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 40px -20px rgba(16, 21, 42, 0.35);
  --shadow-sm: 0 10px 24px -14px rgba(16, 21, 42, 0.3);

  --container: 1180px;
  --header-h: 76px;
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--navy-900);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.035em; line-height: 1.15; color: var(--navy-900); }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================== BOTÕES ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  white-space: nowrap;
}
.btn--accent {
  background: var(--accent-cta);
  color: var(--white);
  box-shadow: 0 12px 24px -10px rgba(37, 57, 113, 0.6);
}
.btn--accent:hover { background: var(--accent-cta-600); transform: translateY(-2px); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-2px); }
.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn--outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }
.btn__icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ===================== HEADER ===================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
}
.header.is-scrolled {
  background: var(--navy-900);
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.4);
  height: 70px;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Lockup oficial (Manual da Marca p.02): o "A" é compartilhado entre as
   duas linhas. Vai inline como SVG para herdar a Manrope da página.
   Tamanho mínimo em tela pelo manual: 104px de largura. */
.logo { display: flex; align-items: center; }
.logo__lockup {
  display: block;
  height: 55px;   /* 406/214 => 104,3px de largura, acima do mínimo de 104px */
  width: auto;
  transition: height 0.3s ease;
}
/* Não encolhe no scroll: abaixo de 54px a marca cruza o mínimo do manual. */
/* Versão horizontal — o manual destina esta a fachada e rodapé */
.logo__lockup--horizontal { height: 42px; }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__list { display: flex; gap: 28px; }
.nav__list a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  font-size: 0.92rem;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.nav__list a:hover { color: var(--white); }
.nav__list a:hover::after { width: 100%; }
.nav__cta { padding: 10px 22px; font-size: 0.88rem; }

.nav__socials { display: flex; align-items: center; }
.nav__socials a {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.nav__socials a:hover { background: var(--accent-cta); transform: translateY(-2px); }
.nav__socials svg { width: 17px; height: 17px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  z-index: 110;
}
.hamburger span {
  display: block;
  width: 26px; height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.is-active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--navy-900);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: -10px;
  background: url("img/foto-local.webp") center/cover no-repeat;
  animation: heroKenBurns 22s ease-in-out infinite alternate;
  z-index: 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 40px);
  pointer-events: none;
  z-index: 1;
}
@keyframes heroKenBurns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1%, -1%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::after { animation: none; }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(16,21,42,0.55), rgba(16,21,42,0.7) 50%, rgba(16,21,42,0.88) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: var(--header-h);
}
.hero__title {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  max-width: 720px;
}
.hero__title .tw-accent { color: var(--accent); }
.tw-cursor {
  display: inline-block;
  width: 3px;
  margin-left: 4px;
  background: var(--accent);
  vertical-align: -0.1em;
  height: 0.85em;
  animation: cursorBlink 0.9s step-end infinite;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
  max-width: 720px;
}
.js [data-animate].hero__actions--delayed { transition-delay: 0.25s; }
.hero__scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 28px; height: 44px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 20px;
}
.hero__scroll span {
  display: block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--white);
  margin: 8px auto 0;
  animation: scrollDown 1.8s infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}

/* ===================== SEÇÃO GENÉRICA ===================== */
section { padding: 110px 0; }
.eyebrow {
  display: inline-block;
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.section-head p { color: var(--gray-600); font-size: 1.05rem; }
.section-head--light h2 { color: var(--white); }
.section-head--light p { color: var(--gray-200); }
.section-head--light .eyebrow { color: var(--accent); }

/* ===================== SOBRE ===================== */
.sobre__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.sobre__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.sobre__text p { color: var(--gray-600); margin-bottom: 24px; }
.sobre__list { margin-bottom: 28px; }
.sobre__list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  color: var(--navy-900);
}
.sobre__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 10px; height: 10px;
  border-radius: 3px;
  background: var(--accent);
}
.link-arrow {
  font-weight: 700;
  color: var(--navy);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}
.link-arrow:hover { opacity: 0.7; }

/* ===================== MODALIDADES ===================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card__photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--light);
}
.card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.card:hover .card__photo img { transform: scale(1.06); }
.card__icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  margin: -28px 0 0 24px;
  box-shadow: var(--shadow-sm);
  border: 3px solid var(--white);
  position: relative;
  z-index: 1;
  transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
}
.card__icon svg { width: 24px; height: 24px; }
.card:hover .card__icon { transform: scale(1.08) rotate(-6deg); }
.card__body { padding: 16px 28px 32px; }
.card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.card__tagline { color: var(--accent-ink); font-weight: 700; font-size: 0.92rem; margin-bottom: 10px; }
.card__schedule {
  display: block;
  color: var(--gray-600);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Com 4 modalidades, 3 colunas deixariam um card sozinho na segunda linha.
   Escopado em .modalidades de propósito: os depoimentos seguem em 3 colunas. */
@media (min-width: 861px) {
  .modalidades .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 400px));
    justify-content: center;
  }
}

/* ===================== DEPOIMENTOS ===================== */
.testimonial-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.testimonial-card__quote { width: 28px; height: 28px; color: var(--accent); margin-bottom: 16px; }
.testimonial-card p { color: var(--navy-900); font-size: 1rem; line-height: 1.6; margin-bottom: 16px; }
.testimonial-card__author { color: var(--gray-700); font-size: 0.85rem; font-weight: 700; }

/* Selo de nota do Google — a prova social mais forte da página.
   As estrelas são decorativas (aria-hidden): o valor está em texto. */
.rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 10px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.rating:hover { border-color: var(--star); transform: translateY(-2px); }
.rating__score {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--navy-900);
  line-height: 1;
}
.rating__stars {
  position: relative;
  display: inline-block;
  color: var(--gray-200);
  letter-spacing: 2px;
  font-size: 1rem;
  line-height: 1;
}
/* 4,6 de 5 = 92% preenchido. Nada de 5 estrelas cheias mentindo. */
.rating__stars::before {
  content: "★★★★★";
  position: absolute;
  left: 0;
  top: 0;
  width: 92%;
  overflow: hidden;
  white-space: nowrap;
  color: var(--star);
}
.rating__count {
  color: var(--gray-600);
  font-size: 0.88rem;
  font-weight: 700;
}

.testimonial-card__author small {
  display: block;
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--gray-700);
  margin-top: 2px;
}

@media (max-width: 480px) {
  .rating { flex-wrap: wrap; gap: 6px 10px; }
}

/* ===================== FAIXA DE DESTAQUE ===================== */
.statement {
  padding: 90px 0;
  background: url("img/foto-musculacao.webp") center/cover no-repeat, var(--navy-900);
  text-align: center;
  overflow: hidden;
  position: relative;
}
.statement::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(16,21,42,0.88), rgba(37,57,113,0.8) 60%, rgba(16,21,42,0.88));
}
.statement .container { position: relative; z-index: 1; }
.statement__text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 5vw, 3rem);
  letter-spacing: -0.5px;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
}

/* ===================== PLANOS ===================== */
.planos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
.plan-card {
  position: relative;
  background: var(--light);
  border-radius: var(--radius);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.plan-card--featured {
  background: var(--navy); /* cor chapada — manual p.05 proíbe gradiente */
  color: var(--white);
  transform: scale(1.04);
  box-shadow: var(--shadow);
}
.plan-card--featured:hover { transform: scale(1.04) translateY(-6px); }
.plan-card--featured h3, .plan-card--featured .plan-card__price { color: var(--white); }
.plan-card--featured ul li { color: rgba(255,255,255,0.85); }
.plan-card__tag {
  position: absolute;
  top: -14px; left: 32px;
  background: var(--accent-cta);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.plan-card h3 { font-size: 1.3rem; }
.plan-card__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.plan-card ul { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.plan-card ul li { color: var(--gray-700); font-size: 0.92rem; padding-left: 22px; position: relative; }
.plan-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-ink); font-weight: 700; }
.plan-card .btn { margin-top: 8px; width: 100%; }

.plan-card__tiers { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.plan-card__tiers li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.92rem;
  color: var(--gray-700);
}
.plan-card--featured .plan-card__tiers li { border-bottom-color: rgba(255, 255, 255, 0.18); color: rgba(255, 255, 255, 0.85); }
.plan-card__tiers li:last-child { border-bottom: none; padding-bottom: 0; }
.plan-card__tiers li strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy);
  white-space: nowrap;
}
.plan-card--featured .plan-card__tiers li strong { color: var(--white); }
.plan-card__tiers li strong small { font-weight: 600; font-size: 0.7rem; opacity: 0.8; margin-left: 2px; }

.planos-note {
  text-align: center;
  margin-top: 32px;
  color: var(--gray-700);
  font-size: 0.92rem;
}
.planos-note strong { color: var(--navy); font-family: var(--font-display); font-weight: 800; }

/* ===================== LOCALIZAÇÃO ===================== */
.localizacao__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.info-list { margin-top: 26px; display: flex; flex-direction: column; gap: 20px; }
.info-list li strong { display: block; font-family: var(--font-display); font-size: 0.95rem; margin-bottom: 4px; }
.info-list li a { color: var(--navy); font-weight: 700; border-bottom: 1px solid transparent; }
.info-list li a:hover { border-color: var(--navy); }
.placeholder-text {
  color: var(--gray-400);
  font-style: italic;
  font-size: 0.92rem;
}
.localizacao__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
}
.localizacao__map iframe { width: 100%; height: 100%; border: 0; }

/* ===================== CTA FINAL ===================== */
.cta-final {
  background: url("img/foto-local.webp") center/cover no-repeat, var(--navy-900);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,21,42,0.75), rgba(16,21,42,0.9));
}
.cta-final .container { position: relative; z-index: 1; }
.cta-final h2 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 16px;
}
.cta-final p {
  color: var(--gray-200);
  max-width: 480px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

/* ===================== RODAPÉ ===================== */
.footer { background: var(--navy-900); color: var(--gray-200); padding-top: 72px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand p { margin: 10px 0; font-size: 0.92rem; }
.footer__brand a:hover { color: var(--white); }
.footer__owner { color: var(--gray-400); font-size: 0.82rem; font-style: italic; }
.logo--footer { margin-bottom: 6px; }
.footer__socials { display: flex; gap: 12px; margin-top: 16px; }
.footer__socials a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.footer__socials a:hover { background: var(--accent-cta); transform: translateY(-2px); }
.footer__socials svg { width: 18px; height: 18px; color: var(--white); }
.footer__nav h4, .footer__cta h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.footer__nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a { font-size: 0.92rem; transition: color 0.2s ease; }
.footer__nav a:hover { color: var(--white); }
.footer__cta .btn { margin-top: 4px; }
.footer__bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--gray-400);
}

/* ===================== CTA FIXO MOBILE ===================== */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  padding: 16px;
  text-align: center;
  background: var(--accent-cta);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 -8px 20px -6px rgba(0,0,0,0.3);
}

/* ===================== BOTÃO FLUTUANTE WHATSAPP ===================== */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 95;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: whatsappPulse 2.6s infinite;
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover {
  background: var(--whatsapp-600);
  transform: scale(1.08);
  animation-play-state: paused;
}
@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.6); }
  50% { box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.15); }
}

/* ===================== ANIMAÇÕES DE ENTRADA =====================
   Escopadas em .js de propósito: sem JavaScript (ou se o script.js
   falhar em carregar), nada fica escondido e a página continua legível. */
.js [data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js [data-animate="fade-right"] { transform: translateX(-30px); }
.js [data-animate="fade-left"] { transform: translateX(30px); }
.js [data-animate].is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ===================== RESPONSIVO ===================== */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .planos-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .plan-card--featured { transform: none; }
  .plan-card--featured:hover { transform: translateY(-6px); }
}

/* Faixa em que o menu ainda é horizontal mas o espaço aperta:
   entre 861px e ~1080px a nav estourava o cabeçalho e colava no logo. */
@media (min-width: 861px) and (max-width: 1080px) {
  .nav { gap: 16px; }
  .nav__list { gap: 14px; }
  .nav__list a { font-size: 0.84rem; }
  .nav__cta { padding: 9px 14px; font-size: 0.8rem; }
}

@media (max-width: 860px) {
  section { padding: 80px 0; }
  .sobre__grid, .localizacao__grid { grid-template-columns: 1fr; gap: 40px; }
  .sobre__media { order: -1; }

  .nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    height: 100dvh;
    width: min(320px, 82vw);
    background: var(--navy-900);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -20px 0 40px -20px rgba(0,0,0,0.4);
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; gap: 24px; }
  .nav__list a { font-size: 1.15rem; }
  .nav__cta { width: 100%; }
  .hamburger { display: flex; }

  .mobile-cta { display: block; }
  .whatsapp-float { display: none; }
  body { padding-bottom: 64px; }
}

@media (max-width: 640px) {
  .cards-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ===================== MOVIMENTO REDUZIDO =====================
   Respeita quem pediu menos animação no sistema operacional.
   Fica no fim do arquivo de propósito, para vencer as regras acima. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .js [data-animate],
  .js [data-animate].is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero::after,
  .hero__scroll span,
  .whatsapp-float,
  .tw-cursor {
    animation: none;
  }

  .card,
  .card__photo img,
  .card__icon,
  .btn,
  .plan-card,
  .testimonial-card,
  .nav,
  .header {
    transition: none;
  }

  .card:hover,
  .btn:hover,
  .plan-card:hover,
  .testimonial-card:hover,
  .card:hover .card__photo img,
  .card:hover .card__icon {
    transform: none;
  }
}
