/* ==========================================================================
   BASE CRS — Landing page (HTML/CSS/JS puro, sem build)
   ========================================================================== */

@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-VariableFont_wght.ttf") format("truetype-variations"),
       url("../fonts/Raleway-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ff-body: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ink: #0a0a0a;
  --ink-soft: #161616;
  --white: #ffffff;

  --red-50: #fdf1f1;
  --red-500: #d2131f;
  --red-600: #b30f19;
  --red-700: #8c0b14;
  --red-900: #b3131a;

  --green-600: #16843f;
  --green-700: #0f6631;

  --max-width: 1152px;
  --pad-x: 20px;

  /* Curva única de easing usada em todas as transições/animações do site:
     saída rápida, chegada suave — nada de "linear" nem de easings que
     desaceleram cedo demais e parecem travar no fim. */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.6s;
}

@media (min-width: 640px) {
  :root { --pad-x: 32px; }
}

/* ---------- Reset base ---------- */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--ff-body);
  background: var(--ink);
  color: #f5f5f5;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 {
  font-family: var(--ff-body);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0; }

button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section { padding: 96px 0; }
.section--tight-top { padding-top: 152px; }
.section--white { background: var(--white); color: var(--ink); }
.section--ink { background: var(--ink); }
.section--ink-soft { background: var(--ink-soft); }
.section--red { background: var(--red-600); }
.section--maroon { background: var(--red-900); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 8px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
}
.eyebrow svg { width: 16px; height: 16px; color: var(--red-500); flex-shrink: 0; }

.eyebrow--dark { background: rgba(10, 10, 10, 0.4); }

/* ---------- Reveal ao rolar (fade + subida, via IntersectionObserver em main.js) ----------
   Um único bloco entra de cada vez (nada de linha-a-linha): mais simples,
   mais leve e sem o efeito "mecânico" do texto sendo digitado linha por linha. */

.reveal-title {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.reveal-title.is-visible { opacity: 1; transform: none; }

/* .line-mask permanece só para forçar a quebra de linha manual do título,
   sem nenhum papel na animação. */
.line-mask { display: block; white-space: nowrap; }
.line-mask > span { display: inline-block; }

/* ---------- Hero — entrada em cascata ao carregar a página ---------- */

.hero-in { opacity: 0; transform: translateY(24px); }
body.boot .hero-in { animation: heroIn 0.9s var(--ease) forwards; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.hero-panel .eyebrow.hero-in { animation-delay: 0.1s; }
.hero-panel h1.hero-in { animation-delay: 0.25s; }
.hero-panel .hero-support.hero-in { animation-delay: 0.42s; }
.hero-panel .hero-panel__ctas.hero-in { animation-delay: 0.58s; }
.hero-panel .hero-panel__proof.hero-in { animation-delay: 0.74s; }

.hero-mobile__content h1.hero-in { animation-delay: 0.15s; }
.hero-mobile__content .hero-support.hero-in { animation-delay: 0.32s; }
.hero-mobile__content .hero-mobile__ctas.hero-in { animation-delay: 0.48s; }

/* ---------- Stagger genérico (via data-stagger em main.js) ---------- */

[data-stagger] > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
[data-stagger].is-visible > * { opacity: 1; transform: none; }

/* ---------- Botões ---------- */

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 15px 28px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: 2px solid transparent;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, 0.55);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.3s var(--ease);
}
.button:hover { transform: translateY(-3px); }
.button:active { transform: translateY(-1px) scale(0.98); }
.button:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.button svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Todos os botões preenchidos usam o vermelho da marca; a sombra de cada um
   é sempre um tom mais escuro da própria cor de fundo do botão. */
.button--primary,
.button--whatsapp,
.button--dark {
  background: var(--red-600);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
  box-shadow: 0 12px 26px -10px rgba(92, 8, 14, 0.65);
}
.button--primary:hover,
.button--whatsapp:hover,
.button--dark:hover {
  background: var(--red-700);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 16px 32px -10px rgba(92, 8, 14, 0.75);
}

.button--outline { background: transparent; border-color: rgba(255, 255, 255, 0.7); color: var(--white); }
.button--outline:hover { border-color: var(--white); }

.hero-panel .button--outline {
  background: rgba(10, 10, 10, 0.45);
}

.button--full { width: 100%; }
@media (min-width: 640px) { .button--full-mobile-only { width: auto; } }

.button__shine {
  position: absolute;
  inset: 0 auto 0 0;
  width: 33%;
  transform: translateX(-120%) skewX(-12deg);
  background: rgba(255, 255, 255, 0.25);
  opacity: 0;
  pointer-events: none;
  will-change: transform;
}

/* ---------- Navbar ---------- */

.site-header {
  /* absolute (não fixed): a navbar rola junto com a hero e some depois
     dela, em vez de ficar fixa por cima do resto do site. */
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  transition: background-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: inline-flex; align-items: center; min-height: 44px; }
.logo__img { height: 42px; width: auto; display: block; }

.site-nav { display: none; align-items: center; gap: 32px; }
.site-nav a {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.85);
}
.site-nav a:hover { color: var(--white); }

@media (min-width: 1024px) {
  .site-nav { display: flex; }
}

/* ---------- Hero ---------- */

.hero { position: relative; background: var(--ink); }

.hero-desktop { display: none; }

@media (min-width: 768px) {
  .hero-desktop {
    display: flex;
    position: relative;
    min-height: 90svh;
    width: 100%;
    overflow: hidden;
    align-items: center;
  }
  .hero-mobile { display: none; }
}

.hero-desktop__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}

/* Gradiente de cima a baixo (e mais escuro à direita, atrás do texto),
   cobrindo a hero inteira — não só a caixa do texto. */
.hero-desktop::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(10, 10, 10, 0.45) 0%, rgba(10, 10, 10, 0.1) 30%, rgba(10, 10, 10, 0.15) 65%, rgba(10, 10, 10, 0.6) 100%),
    linear-gradient(to left, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.25) 40%, rgba(10, 10, 10, 0) 75%);
}

.hero-desktop__content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
}

.hero-panel {
  margin-left: auto;
  margin-right: 8vw;
  width: 100%;
  max-width: 660px;
  padding: 0 24px 0 24px;
  text-align: right;
}

.hero-panel__inner {
  width: 100%;
  padding: 36px 32px;
  text-align: right;
}

.hero-panel h1 {
  font-size: clamp(2.3rem, 3.7vw, 3.9rem);
  color: var(--white);
  margin-top: 24px;
}

.hero-panel p.hero-support {
  margin-top: 24px;
  margin-left: auto;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.05rem;
}

.hero-panel__ctas {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.hero-panel__proof {
  margin-top: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
}

/* Mobile hero — texto sobreposto na própria foto, com gradiente no rodapé
   (a foto já vem com um escurecimento natural embutido; o gradiente aqui é
   só um reforço para garantir legibilidade). */

.hero-mobile {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-mobile__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
}

.hero-mobile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.1) 45%, rgba(10, 10, 10, 0.85) 88%);
}

.hero-mobile__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 24px 20px 48px;
}

.hero-mobile__content h1 {
  font-size: clamp(1.9rem, 9vw, 2.6rem);
  color: var(--white);
}

.hero-mobile__content .hero-support {
  margin-top: 14px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-mobile__ctas {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 768px) { .hero-mobile { display: none; } }

/* ---------- Ticker de autoridade ---------- */

.ticker {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--ink);
  padding: 16px 0;
}

.ticker__track {
  display: flex;
  width: max-content;
}
@media (prefers-reduced-motion: no-preference) {
  .ticker__track { animation: marquee 28s linear infinite; }
}

.ticker__set { display: flex; align-items: center; flex-shrink: 0; }
.ticker__item {
  padding: 0 24px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  white-space: nowrap;
}
.ticker__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red-500); flex-shrink: 0; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Muito além do futebol (cards) ---------- */

.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 56px;
}
@media (min-width: 640px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .pillars { grid-template-columns: repeat(4, 1fr); } }

.pillar-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--red-900);
  padding: 24px;
  /* Transição própria e completa (em vez de herdar a de [data-stagger] > *)
     para que o hover reaja rápido (.35s) mesmo depois da entrada (.6s). */
  transition: opacity 0.6s var(--ease), transform 0.35s var(--ease), border-color 0.3s var(--ease);
}
/* A sombra do hover vive num ::after que só troca de opacidade (nunca o
   próprio box-shadow). Animar box-shadow direto força o navegador a repintar
   a cada frame, o que desincroniza com o transform (que é só compositado) e
   dá aquele efeito de "corte" na sombra durante a animação. */
.pillar-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.pillar-card:hover { border-color: var(--white); transform: translateY(-6px); }
.pillar-card:hover::after { opacity: 1; }
.pillar-card svg { width: 32px; height: 32px; color: var(--white); }
.pillar-card h3 { font-size: 1.1rem; margin-top: 20px; color: var(--white); }
.pillar-card p { margin-top: 8px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.65); }

.section-intro { max-width: 640px; }
.section-intro p { margin-top: 24px; font-size: 1.05rem; color: rgba(255, 255, 255, 0.7); }
.section--white .section-intro p { color: rgba(10, 10, 10, 0.7); }

/* ---------- Metodologia ---------- */

.methodology-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) { .methodology-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }

.methodology-bar { display: inline-block; width: 56px; height: 6px; background: var(--red-600); margin-bottom: 16px; }

.methodology-list {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) { .methodology-list { grid-template-columns: 1fr 1fr; } }

.methodology-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 2px solid var(--red-600);
  background: var(--red-50);
  color: var(--ink);
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.methodology-list li:hover {
  transform: translateX(4px);
  background: #fbe1e3;
  border-color: var(--red-700);
}
.methodology-list li svg { width: 20px; height: 20px; color: var(--red-600); flex-shrink: 0; }

.methodology-cta { margin-top: 36px; }

/* ---------- Photo slot (placeholder elegante) ---------- */

.photo-slot {
  position: relative;
  overflow: hidden;
  background: var(--ink-soft);
}
.photo-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}
.photo-slot:hover img { transform: scale(1.06); filter: brightness(1.05); }
.photo-slot__placeholder {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.photo-slot.is-broken img { display: none; }
.photo-slot.is-broken .photo-slot__placeholder { display: flex; }
.photo-slot__placeholder svg { width: 24px; height: 24px; color: rgba(255, 255, 255, 0.3); }
.photo-slot__placeholder .label { font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.4); }
.photo-slot__placeholder .path { font-size: 0.62rem; color: rgba(255, 255, 255, 0.25); }

.photo--4-5 { aspect-ratio: 4 / 5; width: 100%; }
.photo--clip-a { clip-path: polygon(0 0, 100% 0, 100% 90%, 90% 100%, 0 100%); }
.photo--clip-b { clip-path: polygon(0 0, 100% 0, 100% 92%, 92% 100%, 0 100%); }
.photo--clip-main { clip-path: polygon(0 0, 100% 0, 100% 100%, 6% 100%, 0 94%); }

/* ---------- Experiência de treino (galeria) ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 48px;
}
@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .photo-slot--main { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: 1.1fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .gallery-grid .photo-slot--main { grid-column: 1; grid-row: 1 / span 2; height: 100%; }
}

.photo-slot {
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.photo-slot.is-visible { opacity: 1; transform: scale(1); }

.photo--16-10 { aspect-ratio: 16 / 10; width: 100%; }

/* ---------- Turmas (carrossel) ---------- */

.classes-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.classes-header .reveal-title { text-align: center; }

.classes-nav { display: none; gap: 12px; }
@media (min-width: 640px) { .classes-nav { display: flex; } }
.classes-nav button {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  transition: border-color 0.25s;
}
.classes-nav button:hover { border-color: var(--white); }
.classes-nav svg { width: 20px; height: 20px; }

.classes-track {
  /* padding vertical generoso: quando só overflow-x é definido, o navegador
     também vira o overflow-y "auto" nos bastidores, então sem esse respiro
     a sombra do card (e a do hover, ainda maior) é cortada em cima/embaixo
     na borda da própria track. */
  margin-top: 16px;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 20px;
  padding: 24px 12vw 64px 20px;
  cursor: grab;
  scrollbar-width: none;
}
.classes-track::-webkit-scrollbar { display: none; }
.classes-track.is-dragging { cursor: grabbing; user-select: none; }
@media (min-width: 640px) { .classes-track { padding-right: 8vw; } }

.class-card {
  position: relative;
  flex-shrink: 0;
  width: 78vw;
  max-width: 340px;
  scroll-snap-align: start;
  border: 1px solid rgba(10, 10, 10, 0.08);
  background: var(--white);
  box-shadow: 0 16px 32px -22px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s var(--ease), border-color 0.3s var(--ease);
}
/* Sombra do hover num ::after (só troca opacidade) em vez de animar o
   box-shadow direto — evita o "corte" na sombra durante o lift do hover. */
.class-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  box-shadow: 0 24px 44px -20px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.class-card:hover {
  transform: translateY(-6px);
  border-color: rgba(10, 10, 10, 0.18);
}
.class-card:hover::after { opacity: 1; }
.class-card__photo { aspect-ratio: 4 / 3; width: 100%; }
.class-card__body { padding: 24px; }
.class-card h3 { font-size: 1.35rem; color: var(--ink); }
.class-card__subtitle { margin-top: 10px; font-size: 0.92rem; line-height: 1.5; color: rgba(10, 10, 10, 0.65); }
.class-card .button { margin-top: 24px; width: 100%; }

/* ---------- Para quem é a BASE CRS ---------- */

.forparents-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) { .forparents-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } }

.forparents-panel {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  background: var(--red-600);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%, 0 8%);
}
.forparents-panel svg.decor-arrow {
  position: absolute;
  top: 32px;
  right: 24px;
  width: 80px;
  height: 40px;
  color: rgba(255, 255, 255, 0.25);
}
.forparents-panel p {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.15;
}

.forparents-text p { margin-top: 24px; max-width: 42ch; color: rgba(10, 10, 10, 0.7); font-size: 1.05rem; }
.forparents-text .button { margin-top: 36px; }

/* ---------- Depoimentos (grade com stagger) ---------- */

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 720px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.testimonial-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(10, 10, 10, 0.08);
  background: var(--red-600);
  padding: 32px;
  /* filter/drop-shadow em vez de box-shadow: o card precisa de overflow:hidden
     para recortar o ícone de aspas decorativo no canto, e box-shadow some
     (fica cortada, com uma "mossa" visível) quando combinada com overflow
     no mesmo elemento. drop-shadow não sofre esse corte. */
  /* Sombra fixa (não anima): interpolar drop-shadow/box-shadow junto com o
     transform do hover causa um "corte" visível, porque um é compositado
     (barato) e o outro exige repintura a cada frame (caro) — eles saem de
     sincronia. Aqui só o transform e a borda mudam no hover. */
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.4));
  /* Transição própria e completa (em vez de herdar a de [data-stagger] > *)
     para que o hover reaja rápido (.35s) mesmo depois da entrada (.6s). */
  transition: opacity 0.6s var(--ease), transform 0.35s var(--ease), border-color 0.3s var(--ease);
}
.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.5);
}

.testimonial-card svg.decor-quote {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 112px;
  height: 112px;
  color: rgba(255, 255, 255, 0.15);
}
.testimonial-card .bar { display: inline-block; width: 48px; height: 6px; background: var(--white); margin-bottom: 24px; }
.testimonial-card blockquote {
  position: relative;
  margin: 0;
  flex: 1;
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
}
.testimonial-card .author { margin-top: 32px; }
.testimonial-card .author strong { display: block; font-size: 0.9rem; font-weight: 800; text-transform: uppercase; color: var(--white); }
.testimonial-card .author span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); }

/* ---------- Localização / contato ---------- */

.units-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 48px; }
@media (min-width: 640px) { .units-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .units-grid { grid-template-columns: repeat(3, 1fr); } }

.unit-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--ink-soft);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease), transform 0.35s var(--ease), border-color 0.3s var(--ease);
}
.unit-card.is-visible { opacity: 1; transform: none; }
/* Sombra do hover num ::after (só troca opacidade) em vez de animar o
   box-shadow direto — evita o "corte" na sombra durante o lift do hover. */
.unit-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.unit-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.35);
}
.unit-card:hover::after { opacity: 1; }

.unit-card__map {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  filter: grayscale(0.25) contrast(1.05);
}
.unit-card__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

.unit-card__body { padding: 24px; }
.unit-card svg.pin { width: 28px; height: 28px; color: var(--red-500); }
.unit-card h3 { margin-top: 16px; font-size: 1.1rem; color: var(--white); }
.unit-card .address { margin-top: 8px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }
.unit-card__ctas { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- FAQ ---------- */

.faq-list { margin-top: 40px; }
.faq-item { border-bottom: 1px solid rgba(10, 10, 10, 0.1); }
.faq-item__question {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}
.faq-item__question svg { width: 20px; height: 20px; color: var(--red-600); flex-shrink: 0; transition: transform 0.3s; }
.faq-item.is-open .faq-item__question svg { transform: rotate(45deg); }
.faq-item__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease-in-out;
}
.faq-item.is-open .faq-item__answer { max-height: 240px; }
.faq-item__answer p { padding-bottom: 24px; font-size: 0.95rem; color: rgba(10, 10, 10, 0.65); }

/* ---------- CTA final (faixa) ---------- */

.section--cta-band { padding: 56px 0; }

.finalcta-text {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.finalcta-text .reveal-title { text-align: center; }
.finalcta-text p { margin: 24px auto 0; max-width: 42ch; color: rgba(255, 255, 255, 0.9); font-size: 1.05rem; }
.finalcta-text .button { margin-top: 32px; }

/* ---------- Rodapé ---------- */

.site-footer { background: #000; padding: 56px 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }

.footer-grid h3 { text-transform: uppercase; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.5); margin-bottom: 16px; }
.footer-grid p { margin-top: 16px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.5); }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }
.footer-links a:hover { color: var(--white); }

.footer-contact a { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }
.footer-contact a svg { width: 16px; height: 16px; color: var(--green-600); }
.footer-social { margin-top: 20px; display: flex; gap: 12px; }
.footer-social a {
  height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.footer-social a:hover { border-color: rgba(255, 255, 255, 0.4); color: var(--white); }

.footer-bottom {
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-bottom a:hover { color: rgba(255, 255, 255, 0.7); }

/* ---------- WhatsApp flutuante ---------- */

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green-600);
  color: var(--white);
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float:active { transform: scale(0.94); }
.whatsapp-float svg { width: 28px; height: 28px; position: relative; }
.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--green-600);
  animation: waPulse 2.4s infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (min-width: 640px) { .whatsapp-float { width: 64px; height: 64px; } }

/* ---------- Pop-up de WhatsApp ---------- */

.wa-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 10, 10, 0.75);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.wa-modal-overlay.is-open { opacity: 1; visibility: visible; }

.wa-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 210;
  width: min(420px, calc(100% - 40px));
  max-height: 85vh;
  overflow-y: auto;
  background: var(--ink-soft);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 36px 28px 28px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(0.94);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.7);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.wa-modal.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.wa-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.25s var(--ease);
}
.wa-modal__close:hover { color: var(--white); }
.wa-modal__close svg { width: 22px; height: 22px; }

.wa-modal__logo {
  height: 76px;
  width: auto;
  margin: 0 auto 22px;
  display: block;
}

.wa-modal p { font-size: 0.92rem; line-height: 1.5; color: rgba(255, 255, 255, 0.65); }

.wa-modal__hint {
  margin-top: 20px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
}

.wa-modal__units {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.wa-modal__unit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.wa-modal__unit:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.25); }
.wa-modal__unit svg:first-child { width: 18px; height: 18px; color: var(--green-600); flex-shrink: 0; }
.wa-modal__unit span { flex: 1; }
.wa-modal__unit-go { width: 16px; height: 16px; color: rgba(255, 255, 255, 0.35); flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
  .wa-modal-overlay, .wa-modal { transition-duration: 0.001ms; }
}

/* ---------- Decor (gracinhas) ---------- */

.decor { position: absolute; pointer-events: none; color: rgba(255, 255, 255, 0.06); }
.decor--float { animation: float-slow 10s ease-in-out infinite; }

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Utilidades ---------- */

.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Movimento reduzido ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .ticker__track { animation: none !important; }
  .reveal-title,
  .hero-in,
  [data-stagger] > *,
  .pillar-card,
  .photo-slot,
  .testimonial-card,
  .unit-card {
    opacity: 1 !important;
    transform: none !important;
  }
}
