@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

a { color: inherit; text-decoration: none; }
a, button, summary, [tabindex] { outline: none; }
a:focus-visible, button:focus-visible { outline: none; }

:root {
  --green: #4a9e1e;
  --green-dark: #2d6612;
  --green-darker: #1a3d08;
  --black: #000000;
  --black-2: #0a0a0a;
  --white: #ffffff;
  --gray: #888888;
  --gray-dark: #444444;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--green-dark); border-radius: 2px; }

/* HEADER */
header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(74,158,30,0.15);
  transition: transform 0.3s ease;
}

header.hidden { transform: translateY(-100%); }

.header-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.header-logo img { height: 48px; width: auto; object-fit: contain; }

nav { display: flex; align-items: center; gap: 36px; }

nav a {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #aaaaaa;
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
  transition: color 0.2s;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 50%;
  width: 0; height: 1px;
  background: var(--green);
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

nav a:hover { color: var(--white); }
nav a:hover::after { width: 100%; }

.btn-header {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 34px;
  background-color: transparent;
  padding: 8px 20px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.btn-header::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 50px;
  height: 50px;
  border-radius: inherit;
  scale: 0;
  z-index: -1;
  background-color: #ffffff;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.btn-header:hover::before { scale: 3; }

.btn-header:hover {
  color: #212121;
  scale: 1.08;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
}

.btn-header:active { scale: 1; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; right: 0;
  width: 280px;
  height: calc(100vh - 72px);
  background: var(--black);
  border-left: 1px solid var(--green-darker);
  padding: 32px 24px;
  flex-direction: column;
  gap: 0;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: #aaaaaa;
  text-decoration: none;
  padding: 11px 0;
  border-bottom: 1px solid #111111;
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--white); }

.mobile-menu .btn-mobile {
  margin-top: 20px;
  text-align: center;
  border-bottom: none;
  cursor: pointer;
  position: relative;
  padding: 12px 28px;
  font-size: 14px;
  letter-spacing: 0.1em;
  font-family: 'Bebas Neue', sans-serif;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 34px;
  background-color: transparent;
  font-weight: 600;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.mobile-menu .btn-mobile::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 50px;
  height: 50px;
  border-radius: inherit;
  scale: 0;
  z-index: -1;
  background-color: #ffffff;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.mobile-menu .btn-mobile::before { display: none; }

.mobile-menu .btn-mobile,
.mobile-menu .btn-mobile:link,
.mobile-menu .btn-mobile:visited,
.mobile-menu .btn-mobile:hover,
.mobile-menu .btn-mobile:active {
  transition: none;
  scale: 1;
  box-shadow: none;
  color: #ffffff;
}

.mobile-menu-footer {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #111111;
}

.mobile-menu-logo-sc {
  height: 40px;
  width: auto;
}

.mobile-menu-ig {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #1a1a1a;
  border-radius: 50%;
  color: #555555;
  transition: color 0.2s, border-color 0.2s;
  padding: 0;
  background: none;
  border-bottom: 1px solid #1a1a1a !important;
}

.mobile-menu-ig:hover {
  color: var(--white);
  border-color: var(--green) !important;
}

/* HERO */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

/* OPACIDADE DA IMAGEM DE FUNDO — muda aqui para ver mais ou menos a imagem */
.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0.55;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  pointer-events: none;
}

/* OVERLAY — diminui os numeros rgba para o video aparecer mais */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.1) 40%,
    rgba(0,0,0,0.5) 80%,
    rgba(0,0,0,1) 100%
  );
  z-index: 1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(74,158,30,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,158,30,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0,0); }
  100% { transform: translate(60px,60px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 900px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--white);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.3s;
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%,100% { box-shadow: 0 0 6px var(--green); }
  50% { box-shadow: 0 0 16px var(--green); }
}

/* LOGO HERO — segunda logo maior no centro. Muda o width aqui */
.hero-logo {
  width: 130px;
  height: auto;
  object-fit: contain;
  opacity: 0;
  animation: fadeScale 1.2s ease forwards 0.5s;
}

@keyframes fadeScale {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

.hero-line {
  width: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  animation: expandLine 1s ease forwards 0.8s;
}

@keyframes expandLine { to { width: 300px; } }

/* LABEL — fonte estilo Premium Edition dourada */
.hero-label {
  font-family: 'Cormorant Garamond', 'Cinzel', serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.45em;
  color: #c8a84b;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.9s;
}

/* TITULO — muda o 72px para ajustar tamanho */
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: 0.05em;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 1.1s;
}

.hero-title .line-white { color: var(--white); display: block; }
.hero-title .line-green { color: var(--green); display: block; }

/* CRONOMETRO — sem bordas, numeros limpos */
.countdown {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 1.5s;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.countdown-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 8vw, 88px);
  color: var(--white);
  line-height: 1;
  min-width: 90px;
  text-align: center;
}

/* LABEL DO CRONOMETRO — bold e gordo */
.countdown-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--white);
  text-transform: uppercase;
}

/* SEPARADOR — bolinha redonda branca */
.countdown-sep {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--white);
  flex-shrink: 0;
  margin-bottom: 28px;
}

/* BOTÃO PRINCIPAL — usado no hero e no modal */
.btn-primary {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;          /* tamanho do texto */
  letter-spacing: 0.12em;
  color: var(--white);

  /* COR INTERNA DO BOTÃO — mude #0d0d0d para clarear ou escurecer o fundo */
  background: linear-gradient(#242424, #242424) padding-box,
              /* LINHA DE LED — gradiente que gira ao redor do botão */
              /* transparent = invisível | var(--green) = verde | #b8ff50 = ponto brilhante */
              /* ajuste os % para encurtar ou alongar a linha */
              conic-gradient(from var(--angle), transparent 80%, rgba(74,158,30,0.4) 87%, rgba(74,158,30,0.72) 91%, rgba(74,158,30,0.4) 96%, transparent 100%) border-box;

  border: 2px solid transparent; /* espessura da linha de LED — mude o 2px */
  padding: 16px 48px;
  border-radius: 50px;           /* formato pill/redondo — reduza para deixar mais quadrado */
  overflow: hidden;              /* evita contorno quadrado no mobile durante animação */
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  position: relative;
  opacity: 0;
  /* fadeUp = animação de entrada | rotateLED = linha girando | 3s = velocidade da volta */
  animation: fadeUp 0.8s ease forwards 1.7s, rotateLED 6s linear 2.5s infinite;
  transition: color 0.2s, transform 0.2s;

  /* Remove highlight retangular nativo do iOS Safari ao toque */
  -webkit-tap-highlight-color: transparent;
  /* Remove estilos nativos de botão/link em WebKit mobile */
  -webkit-appearance: none;
  appearance: none;
}

/* Wrapper do glow — cria stacking context próprio para o blur ficar atrás do botão */
.btn-glow {
  display: inline-block;
  position: relative;
  isolation: isolate;
  border-radius: 50px;           /* igual ao btn-primary — evita contexto de clip quadrado */
  -webkit-tap-highlight-color: transparent;
}

/* Sombra blur atrás do botão — acompanha a linha LED */
.btn-glow::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 58px; /* 50px do botão + 8px do inset negativo = mesma curvatura visual */
  background: conic-gradient(from var(--angle), transparent 75%, rgba(74,158,30,0.22) 84%, rgba(74,158,30,0.38) 91%, rgba(74,158,30,0.22) 96%, transparent 100%);
  filter: blur(12px);
  z-index: -1;
  pointer-events: none;
  animation: rotateLED 6s linear 2.5s infinite;
  opacity: 0;
}

/* Ativa após fadeUp */
.btn-glow.led-active::after {
  opacity: 1;
}

.manifesto .btn-glow {
  align-self: center;
  margin-top: 8px;
}

.manifesto .btn-glow::after {
  opacity: 1;
  animation: rotateLED 6s linear infinite;
}

.modal .btn-glow {
  display: flex;
  justify-content: center;
}

.modal .btn-glow::after {
  opacity: 1;
  animation: rotateLED 6s linear infinite;
}

.btn-primary:hover {
  transform: scale(1.03);
}

.btn-glow:has(.btn-primary:hover)::after {
  filter: blur(16px);
  inset: -12px;
  border-radius: 62px; /* 50px + 12px inset */
}

/* VELOCIDADE DA LINHA — mude o 2.5s no animation acima para mais rápido ou mais lento */
@keyframes rotateLED {
  to { --angle: 360deg; }
}

/* BOTÃO ANIMADO — "ENTRAR PARA A LISTA DE ESPERA" */
.animated-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 28px;
  border: 4px solid;
  border-color: transparent;
  font-size: 14px;
  border-radius: 100px;
  font-weight: 600;
  color: #212121;
  background-color: #ffffff;
  box-shadow: 0 0 0 2px #ffffff;
  cursor: pointer;
  overflow: hidden;
  appearance: none;
  -webkit-appearance: none;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button svg {
  position: absolute;
  width: 22px;
  fill: #212121;
  z-index: 9;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .arr-1 {
  right: 16px;
}

.animated-button .arr-2 {
  left: -25%;
}

.animated-button .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .text {
  position: relative;
  z-index: 1;
  transform: translateX(-12px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button:hover {
  box-shadow: 0 0 0 12px transparent;
  color: #212121;
  border-radius: 12px;
}

.animated-button:hover .arr-1 {
  right: -25%;
}

.animated-button:hover .arr-2 {
  left: 16px;
}

.animated-button:hover .text {
  transform: translateX(12px);
}

.animated-button:hover svg {
  fill: #212121;
}

.animated-button:active {
  scale: 0.95;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.4);
}

.animated-button:hover .circle {
  width: 600px;
  height: 600px;
  opacity: 1;
}

/* Entrada do botão no hero */
.hero-content .animated-button {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 1.7s;
}

.hero-tags {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--gray-dark);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 1.9s;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* SEÇÃO 2 — SOBRE */
.sobre {
  background: var(--black);
  padding: 72px 24px 72px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sobre-content {
  max-width: 820px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  text-align: center;
}

/* FRASES PRINCIPAIS — primeira frase usa Bebas Neue como título, segunda usa Inter */
.sobre-frase {
  font-family: 'Inter', sans-serif;
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 300;
  line-height: 1.65;
  color: var(--white);
  letter-spacing: -0.01em;
}

.sobre-frase:first-child {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(20px, 2.8vw, 36px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: 0.05em;
}

/* ASSINATURA DO AUTOR */
.sobre-autor {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

/* FOTO DO FUNDADOR — avatarfund.png */
.sobre-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 1px solid var(--green-dark);
  background: #111;
  display: block;
  flex-shrink: 0;
}

.sobre-cargo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .sobre { padding: 52px 20px 52px; }
  .sobre-autor { flex-direction: column; text-align: center; }
}

/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 20px;
  padding: 28px 24px 24px;
  width: 90%;
  max-width: 400px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.modal-overlay.open .modal { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 18px;
  color: #666;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
  line-height: 1;
}

.modal-close:hover { color: var(--white); }

/* — Título do formulário com ponto pulsante — */
.modal-form-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.06em;
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 30px;
  color: var(--green);
  margin: 0 0 6px;
}

.modal-form-title::before,
.modal-form-title::after {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  border-radius: 50%;
  left: 0;
  background-color: var(--green);
}

.modal-form-title::before { width: 14px; height: 14px; }
.modal-form-title::after  { animation: modal-pulse 1s linear infinite; }

@keyframes modal-pulse {
  from { transform: scale(0.9); opacity: 1; }
  to   { transform: scale(1.9); opacity: 0; }
}

.modal-form-sub {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  margin: 0 0 18px;
  line-height: 1.5;
}

/* — Campos com label flutuante — */
.form-field {
  position: relative;
  margin-bottom: 10px;
}

.form-input {
  background: #2a2a2a;
  color: #fff;
  width: 100%;
  padding: 22px 12px 8px 12px;
  outline: none;
  border: 1px solid rgba(105,105,105,0.4);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.25s;
}

.form-field label {
  color: rgba(255,255,255,0.45);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  cursor: text;
  transition: top 0.25s ease, font-size 0.25s ease, color 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.form-input:placeholder-shown + label {
  top: 50%;
  font-size: 13px;
  transform: translateY(-50%);
}

.form-input:focus + label,
.form-input:not(:placeholder-shown) + label {
  top: 8px;
  font-size: 10px;
  font-weight: 600;
  color: var(--green);
  transform: translateY(0);
}

.form-input:focus { border-color: var(--green); }
.form-input::placeholder { opacity: 0; }

@keyframes input-shake {
  0%, 100% { transform: translateX(0); }
  15%       { transform: translateX(-6px); }
  30%       { transform: translateX(6px); }
  50%       { transform: translateX(-4px); }
  70%       { transform: translateX(4px); }
  85%       { transform: translateX(-2px); }
}

@keyframes input-error-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(224,48,48,0); }
  50%       { box-shadow: 0 0 10px 3px rgba(224,48,48,0.45); }
}

.form-input.input-error {
  border-color: #e03030 !important;
  animation: input-shake 0.4s ease, input-error-glow 0.55s ease 3;
}

.form-error-msg {
  display: none;
  color: #e03030;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.03em;
  margin: -2px 0 10px 4px;
  line-height: 1.4;
}

/* ── Modal success state ─────────────────────────────── */
.modal-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 0 4px;
}

.modal-success.is-visible {
  display: flex;
  animation: success-enter 0.45s cubic-bezier(0.22,1,0.36,1) forwards;
}

@keyframes success-enter {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Animated SVG checkmark */
.success-svg {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px rgba(74,158,30,0.45));
}

.success-circle {
  fill: none;
  stroke: var(--green);
  stroke-width: 2;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: draw-stroke 0.7s ease forwards 0.1s;
}

.success-check {
  fill: none;
  stroke: var(--green);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: draw-stroke 0.4s ease forwards 0.65s;
}

@keyframes draw-stroke {
  to { stroke-dashoffset: 0; }
}

.success-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: 0.1em;
  color: var(--white);
  margin: 0 0 10px;
}

.success-sub {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.65;
  margin: 0 0 24px;
}

.success-cta-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin: 0 0 14px;
  font-weight: 300;
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: #25D366;
  border: none;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 24px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.btn-whatsapp:hover {
  background: #1fba58;
  transform: scale(1.02);
}

.btn-whatsapp svg { flex-shrink: 0; }

.btn-instagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border: none;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 24px;
  border-radius: 50px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.btn-instagram:hover {
  opacity: 0.88;
  transform: scale(1.02);
}

.btn-instagram svg { flex-shrink: 0; }

.success-hint {
  font-size: 11px;
  color: #555;
  letter-spacing: 0.04em;
  margin: 6px 0 0;
  text-align: center;
}

/* SEPARADOR ENTRE SEÇÕES */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(74,158,30,0.08) 20%,
    rgba(74,158,30,0.22) 50%,
    rgba(74,158,30,0.08) 80%,
    transparent 100%
  );
}

/* SEÇÃO 3 — MANIFESTO */
.manifesto {
  position: relative;
  overflow: hidden;
  background: var(--black);
  padding: 72px 24px 72px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.manifesto-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.12;
  filter: grayscale(100%);
  z-index: 0;
  pointer-events: none;
}

.manifesto-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

/* BALÃO — primeira versão: anéis de spread-radius pulsando */
.manifesto-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--white);
  text-transform: uppercase;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(74,158,30,0.5);
  padding: 10px 22px;
  border-radius: 50px;
  cursor: default;
  animation: badgePulse 2.4s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% {
    box-shadow:
      0 0 0 0   rgba(74,158,30,0.55),
      0 0 0 4px rgba(74,158,30,0.18),
      0 0 12px  rgba(74,158,30,0.10);
  }
  50% {
    box-shadow:
      0 0 0 5px  rgba(74,158,30,0.22),
      0 0 0 11px rgba(74,158,30,0.08),
      0 0 22px   rgba(74,158,30,0.14);
  }
}

.manifesto-badge svg {
  flex-shrink: 0;
  color: var(--green);
  opacity: 0.9;
}

/* TITULO */
.manifesto-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(30px, 4.5vw, 54px);
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: var(--white);
}

.manifesto-green {
  color: var(--green);
}

/* PARAGRAFOS */
.manifesto-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: left;
  width: 100%;
}

.manifesto-body p {
  font-family: 'Inter', sans-serif;
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.75);
}

.manifesto-highlight {
  color: rgba(255,255,255,0.95);
  font-weight: 400;
}

.manifesto-btn {
  opacity: 1;
  animation: rotateLED 6s linear infinite;
}

@media (max-width: 768px) {
  .manifesto { padding: 52px 20px 52px; }
  .manifesto-inner { gap: 28px; }
  .manifesto-body { text-align: left; }
}

/* SEÇÃO 4 — ECOSSISTEMA */
.ecossistema {
  background: var(--black);
  padding: 72px 32px;
  display: flex;
  justify-content: center;
}

.eco-inner {
  max-width: 1040px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.eco-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--white);
  text-transform: uppercase;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(74,158,30,0.5);
  padding: 9px 20px;
  border-radius: 50px;
  animation: badgePulse 2.4s ease-in-out infinite;
}

.eco-badge svg { color: var(--green); flex-shrink: 0; }

.eco-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(30px, 4.5vw, 54px);
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-top: 26px;
}

.eco-green { color: var(--green); }

.eco-sub {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.38);
  line-height: 1.65;
  max-width: 420px;
  margin-bottom: 12px;
}

/* ── GRID ── */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
}

.eco-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 18px;
  background: #0c0c0c;
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 2px solid rgba(74,158,30,0.45);
  border-radius: 8px;
  cursor: default;
  transition: border-color 0.2s, border-left-color 0.2s, background 0.2s;
}

.eco-card:hover {
  background: #111;
  border-color: rgba(255,255,255,0.1);
  border-left-color: var(--green);
}

.eco-icon {
  width: 38px; height: 38px;
  background: rgba(74,158,30,0.08);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.eco-card:hover .eco-icon { background: rgba(74,158,30,0.15); }

.eco-icon svg {
  width: 17px; height: 17px;
  color: var(--green);
}

.eco-card span {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  line-height: 1.3;
  transition: color 0.2s;
}

.eco-card:hover span { color: rgba(255,255,255,0.92); }

/* ── TABLET ── */
@media (max-width: 860px) {
  .ecossistema { padding: 60px 24px; }
  .eco-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .eco-inner { gap: 12px; }
}

/* ── MOBILE ── */
@media (max-width: 480px) {
  .ecossistema { padding: 48px 16px; }
  .eco-inner { gap: 10px; }
  .eco-sub { font-size: 13px; }
  .eco-grid {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }
  .eco-card {
    padding: 13px 12px;
    gap: 10px;
    border-radius: 7px;
  }
  .eco-icon {
    width: 32px; height: 32px;
    border-radius: 7px;
  }
  .eco-icon svg { width: 15px; height: 15px; }
  .eco-card span { font-size: 12px; }
}

/* SEÇÃO 5 — O QUE VOCÊ ENCONTRA */
.encontra {
  background: var(--black);
  padding: 100px 24px;
  display: flex;
  justify-content: center;
}

.encontra-inner {
  max-width: 960px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 72px;
}

/* ── ANIMAÇÃO DE ENTRADA (ativada por JS via .is-visible) ── */
.encontra-title,
.painel-nao,
.paineis-divisor,
.painel-sim {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.encontra-inner.is-visible .encontra-title      { opacity: 1; transform: none; transition-delay: 0s; }
.encontra-inner.is-visible .painel-nao          { opacity: 1; transform: none; transition-delay: 0.18s; }
.encontra-inner.is-visible .paineis-divisor     { opacity: 1; transform: none; transition-delay: 0.28s; }
.encontra-inner.is-visible .painel-sim          { opacity: 1; transform: none; transition-delay: 0.18s; }

.painel-lista li {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.painel-sim-item {
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.45s ease, transform 0.45s ease, border-left-color 0.2s, color 0.2s;
}

.encontra-inner.is-visible .painel-lista li:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.32s; }
.encontra-inner.is-visible .painel-lista li:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.40s; }
.encontra-inner.is-visible .painel-lista li:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.48s; }
.encontra-inner.is-visible .painel-lista li:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.56s; }
.encontra-inner.is-visible .painel-lista li:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.64s; }
.encontra-inner.is-visible .painel-lista li:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.72s; }
.encontra-inner.is-visible .painel-lista li:nth-child(7) { opacity: 1; transform: none; transition-delay: 0.80s; }

/* TÍTULO */
.encontra-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(30px, 4.5vw, 54px);
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.encontra-white { color: var(--white); }
.encontra-green { color: var(--green); }

/* PAINÉIS — grid 3 colunas: esq | divisor | dir */
.encontra-paineis {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  width: 100%;
  align-items: start;
  gap: 0;
}

/* DIVISOR VERTICAL */
.paineis-divisor {
  align-self: stretch;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--green-darker) 10%,
    var(--green-darker) 90%,
    transparent 100%
  );
}

.painel { padding: 0 44px; }
.painel:first-child { padding-left: 160px; }
.painel:last-child  { padding-right: 0; }

/* LABEL */
.painel-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 32px;
}

/* PONTOS PULSANTES */
.painel-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes dotPulseRed {
  0%, 100% { box-shadow: 0 0 0 0 rgba(107,26,26,0.8), 0 0 4px rgba(107,26,26,0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(107,26,26,0.1), 0 0 10px rgba(107,26,26,0.3); }
}

@keyframes dotPulseGreen {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,158,30,0.8), 0 0 4px rgba(74,158,30,0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(74,158,30,0.15), 0 0 10px rgba(74,158,30,0.35); }
}

.painel-dot-red   { background: #6b1a1a; animation: dotPulseRed   2s ease-in-out infinite; }
.painel-dot-green { background: var(--green); animation: dotPulseGreen 2s ease-in-out infinite; }

/* LISTA */
.painel-lista {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.painel-lista li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

/* ── ESQUERDO — itens riscados ── */
.painel-nao .painel-lista { gap: 18px; }

.painel-nao .painel-lista li { font-size: 13px; font-weight: 300; color: #444; }

.ico-x {
  color: #6b1a1a;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.6;
}

.painel-nao .painel-lista li > span:last-child {
  text-decoration: line-through;
  text-decoration-color: rgba(107,26,26,0.35);
}

/* ── DIREITO — cada item com borda esquerda ── */
.painel-sim .painel-lista { gap: 3px; }

.painel-sim-item {
  padding: 13px 0 13px 20px;
  border-left: 2px solid rgba(74,158,30,0.15);
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  cursor: default;
}

.painel-sim-item:hover {
  border-left-color: var(--green);
  color: #ffffff;
}

.ico-arrow {
  color: var(--green);
  font-size: 14px;
  flex-shrink: 0;
  display: inline-block;
  transition: transform 0.2s;
}

.painel-sim-item:hover .ico-arrow { transform: translateX(4px); }

/* MOBILE */
@media (max-width: 680px) {
  .encontra { padding: 64px 20px; }
  .encontra-inner { gap: 48px; }
  .encontra-paineis {
    grid-template-columns: 1fr;
  }
  .paineis-divisor {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--green-darker) 15%, var(--green-darker) 85%, transparent);
    margin: 8px 0;
  }
  .painel { padding: 24px 0 0; }
  .painel:first-child { padding: 0; }
  .painel:last-child  { padding: 24px 0 0; }
  .painel-nao .painel-lista li { font-size: 13px; }
  .painel-sim-item { font-size: 14px; padding: 11px 0 11px 16px; }
}

/* SEÇÃO — O MERCADO INTERNO */
.mercado-interno {
  background: #000000;
  padding: 80px 24px;
  display: flex;
  justify-content: center;
}

.mercado-inner {
  max-width: 1040px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

/* ── HEADER ── */
.mercado-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.mercado-badge {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: #4a9e1e;
  text-transform: uppercase;
  border: 1px solid #2d6612;
  padding: 6px 16px;
  border-radius: 50px;
}

.mercado-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(30px, 4.5vw, 54px);
  line-height: 1;
  letter-spacing: 0.04em;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 14px;
  animation: glitch 5s ease-in-out infinite;
}

.mt-white { color: #ffffff; }
.mt-green  { color: #4a9e1e; }

@keyframes glitch {
  0%, 91%, 100% { filter: none; transform: none; }
  92%   { filter: drop-shadow(-3px 0 rgba(255,30,30,0.9)) drop-shadow(3px 0 rgba(74,158,30,0.65)); transform: translateX(3px); }
  92.3% { filter: drop-shadow(3px 0 rgba(255,30,30,0.9)) drop-shadow(-3px 0 rgba(74,158,30,0.65)); transform: translateX(-3px); }
  92.6% { filter: none; transform: none; }
  93%   { filter: drop-shadow(-2px 0 rgba(255,30,30,0.55)); transform: translateX(2px); }
  93.2% { filter: none; transform: none; }
}

.mercado-sub {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #666666;
  line-height: 1.75;
}

/* ── CARDS GRID ── */
.mercado-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
}

/* ── CARD ── */
.mercado-card {
  background: #080808;
  border: 1px solid #1a3d08;
  border-radius: 12px;
  overflow: hidden;
  transform-style: preserve-3d;
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out,
              border-color 0.3s ease, box-shadow 0.3s ease;
}

.mercado-card.mc-visible {
  opacity: 1;
  transform: translateY(0);
}

.mercado-card:nth-child(2) { transition-delay: 0.15s, 0.15s, 0s, 0s; }

.mercado-card:hover {
  border-color: #4a9e1e;
  box-shadow: 0 0 24px rgba(74,158,30,0.12);
}

/* ── TERMINAL BAR ── */
.terminal-bar {
  height: 36px;
  background: #0d0d0d;
  border-bottom: 1px solid #1a3d08;
  border-radius: 12px 12px 0 0;
  display: flex;
  align-items: center;
  position: relative;
  padding: 0 16px;
  flex-shrink: 0;
}

.terminal-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.tdot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: block;
}

.tdot-r { background: #ff5f57; }
.tdot-y { background: #ffbd2e; }
.tdot-g { background: #28c840; }

.terminal-ttl {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Courier New', Courier, monospace;
  font-size: 11px;
  color: #4a9e1e;
  letter-spacing: 0.04em;
  white-space: nowrap;
  pointer-events: none;
}

/* ── TERMINAL BODY ── */
.terminal-body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 1;
  flex: 1;
}

/* ── SCAN LINE ── */
.scan-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(74,158,30,0.05) 30%, rgba(74,158,30,0.1) 50%, rgba(74,158,30,0.05) 70%, transparent);
  pointer-events: none;
  z-index: 0;
  animation: none;
}

.mercado-card.mc-visible .scan-line {
  animation: scanLine 4s linear infinite;
}

@keyframes scanLine {
  0%   { transform: translateY(0); }
  100% { transform: translateY(600px); }
}

/* ── TERMINAL TYPED LINES ── */
.terminal-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  color: #4a9e1e;
  min-height: 44px;
}

.tline { min-height: 20px; }

/* ── BLINKING CURSOR (injected by JS) ── */
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.terminal-cursor {
  display: inline-block;
  color: #4a9e1e;
  font-family: 'Courier New', Courier, monospace;
  animation: blink 0.6s step-end infinite;
  margin-left: 1px;
}

/* ── CARD CONTENT ── */
.mc-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: #ffffff;
  line-height: 1;
  letter-spacing: 0.02em;
}

.mc-text {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #888888;
  line-height: 1.8;
}

.mc-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mc-tag {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #4a9e1e;
  background: #0d1a08;
  border: 1px solid #2d6612;
  padding: 5px 12px;
  border-radius: 50px;
}

.mc-divider {
  height: 1px;
  background: #111111;
}

.mc-priority {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: #333333;
  text-transform: uppercase;
}

/* ── BUTTONS ── */
.mc-btn {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-decoration: none;
  border: 1px solid;
  padding: 12px 24px;
  border-radius: 50px;
  display: inline-block;
  background: transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, padding-left 0.2s;
  align-self: flex-start;
  margin-top: auto;
}

.mc-btn--green { color: #4a9e1e; border-color: #4a9e1e; }
.mc-btn--green:hover { background: #4a9e1e; color: #000000; padding-left: 28px; }

.mc-btn--gray { color: #888888; border-color: #444444; }
.mc-btn--gray:hover { color: #ffffff; border-color: #ffffff; padding-left: 28px; }

/* ── GLARE + DECO ICON ── */
.card-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  border-radius: 12px;
}

.mc-deco-icon {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

/* ── MOBILE ── */
@media (max-width: 680px) {
  .mercado-interno { padding: 60px 20px; }
  .mercado-inner { gap: 36px; }
  .mercado-title { flex-direction: column; font-size: 40px; gap: 2px; }
  .mercado-cards { grid-template-columns: 1fr; }
  .terminal-body { padding: 20px 20px 24px; gap: 16px; }
  .mc-title { font-size: 40px; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  .mercado-title { animation: none; }
  .mercado-card { opacity: 1; transform: none; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
  .scan-line { animation: none !important; opacity: 0; }
}

/* RESPONSIVO */
@media (max-width: 768px) {
  header { padding: 0 20px; }
  nav { display: none; }
  .btn-header { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .hero { padding: 100px 20px 60px; }
  .hero-logo { width: 150px; }
  .countdown-number { font-size: 44px; min-width: 64px; }
  .countdown-sep { margin-bottom: 22px; }
}

/* ═══════════════════════════════════════
   SEÇÃO RANKS
═══════════════════════════════════════ */
.ranks {
  position: relative;
  overflow: hidden;
  background: #000000;
  padding: 120px 24px;
}

/* — Scan line em loop — */
.ranks-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #4a9e1e 30%,
    #4a9e1e 70%,
    transparent 100%
  );
  opacity: 0.7;
  z-index: 2;
  pointer-events: none;
  animation: scanDown 3s ease-in-out infinite;
}

@keyframes scanDown {
  0%   { transform: translateY(0);    opacity: 0;   }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.7; }
  100% { transform: translateY(100%); opacity: 0;   }
}

@media (prefers-reduced-motion: reduce) {
  .ranks-scan-line { display: none; }
}

/* — Fundo cityart — */
.ranks-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
  filter: grayscale(100%);
}

.ranks-inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

@media (max-width: 768px) {
  .ranks-bg {
    content: url('images/cityart-mobile.png');
  }
}

/* — Cabeçalho — */
.ranks-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.ranks-badge {
  display: inline-block;
  border: 1px solid #2d6612;
  color: #4a9e1e;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
}

.ranks-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 80px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1;
}

.ranks-sub {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #666666;
  max-width: 560px;
}

/* — Grid desktop (3 colunas) — */
.ranks-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.rank-card {
  position: relative;
  width: 100%;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s ease;
  overflow: hidden;
  z-index: 0;

  background:
    linear-gradient(#0a0a0a, #0a0a0a) padding-box,
    linear-gradient(160deg, transparent 0%, rgba(40,40,40,0.4) 40%, rgba(60,60,60,0.2) 60%, transparent 100%) border-box;
  border: 1.5px solid transparent;
}

/* — Liquid blobs internos (sempre visíveis) — */
.rank-card::before,
.rank-card::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.5s ease, filter 0.5s ease, transform 0.3s ease;
}

.rank-card::before {
  width: 140px;
  height: 140px;
  top: -40px;
  right: -30px;
  animation: liquidFloat1 8s ease-in-out infinite;
}

.rank-card::after {
  width: 120px;
  height: 120px;
  bottom: -30px;
  left: -20px;
  animation: liquidFloat2 10s ease-in-out infinite;
}

/* Intensifica no hover */
.rank-card:hover::before,
.rank-card:hover::after {
  opacity: 0.85;
  filter: blur(45px);
}

/* — Liquid keyframes — */
@keyframes liquidFloat1 {
  0%   { transform: translate(0, 0) scale(1);       border-radius: 50%; }
  20%  { transform: translate(-10px, 15px) scale(1.08); border-radius: 42% 58% 55% 45%; }
  40%  { transform: translate(12px, 30px) scale(0.95);  border-radius: 55% 45% 48% 52%; }
  60%  { transform: translate(-8px, 40px) scale(1.1);   border-radius: 48% 52% 58% 42%; }
  80%  { transform: translate(5px, 18px) scale(1.02);   border-radius: 44% 56% 52% 48%; }
  100% { transform: translate(0, 0) scale(1);       border-radius: 50%; }
}

@keyframes liquidFloat2 {
  0%   { transform: translate(0, 0) scale(1);       border-radius: 50%; }
  20%  { transform: translate(15px, -10px) scale(1.06); border-radius: 58% 42% 46% 54%; }
  40%  { transform: translate(-8px, -22px) scale(1.12);  border-radius: 46% 54% 42% 58%; }
  60%  { transform: translate(18px, -30px) scale(0.96);  border-radius: 52% 48% 56% 44%; }
  80%  { transform: translate(-5px, -12px) scale(1.04);  border-radius: 48% 52% 50% 50%; }
  100% { transform: translate(0, 0) scale(1);       border-radius: 50%; }
}

/* Bordas gradient liquid por rank */
.rank-card--recruta {
  background:
    linear-gradient(#0a0a0a, #0a0a0a) padding-box,
    linear-gradient(
      160deg,
      rgba(100,100,100,0.05) 0%,
      rgba(150,150,150,0.4) 25%,
      rgba(200,200,200,0.15) 50%,
      rgba(120,120,120,0.35) 75%,
      rgba(100,100,100,0.05) 100%
    ) border-box;
  border: 1.5px solid transparent;
  box-shadow: inset 0 0 40px rgba(150,150,150,0.06),
              inset 0 -20px 40px rgba(100,100,100,0.04);
}
.rank-card--recruta::before {
  background: radial-gradient(circle, rgba(150,150,150,0.45), rgba(100,100,100,0.2));
}
.rank-card--recruta::after {
  background: radial-gradient(circle, rgba(130,130,130,0.35), rgba(80,80,80,0.15));
}

.rank-card--magnata {
  background:
    linear-gradient(#0a0a0a, #0a0a0a) padding-box,
    linear-gradient(
      160deg,
      rgba(74,158,30,0.05) 0%,
      rgba(74,158,30,0.5) 25%,
      rgba(100,200,60,0.2) 50%,
      rgba(45,102,18,0.45) 75%,
      rgba(74,158,30,0.05) 100%
    ) border-box;
  border: 1.5px solid transparent;
  box-shadow: inset 0 0 40px rgba(74,158,30,0.07),
              inset 0 -20px 40px rgba(74,158,30,0.05);
}
.rank-card--magnata::before {
  background: radial-gradient(circle, rgba(74,158,30,0.5), rgba(45,102,18,0.2));
}
.rank-card--magnata::after {
  background: radial-gradient(circle, rgba(74,158,30,0.4), rgba(34,80,12,0.15));
}

.rank-card--acima {
  background:
    linear-gradient(#0a0a0a, #0a0a0a) padding-box,
    linear-gradient(
      160deg,
      rgba(200,168,75,0.05) 0%,
      rgba(200,168,75,0.5) 25%,
      rgba(230,200,100,0.2) 50%,
      rgba(138,106,32,0.45) 75%,
      rgba(200,168,75,0.05) 100%
    ) border-box;
  border: 1.5px solid transparent;
  box-shadow: inset 0 0 40px rgba(200,168,75,0.07),
              inset 0 -20px 40px rgba(200,168,75,0.05);
}
.rank-card--acima::before {
  background: radial-gradient(circle, rgba(200,168,75,0.5), rgba(138,106,32,0.2));
}
.rank-card--acima::after {
  background: radial-gradient(circle, rgba(200,168,75,0.4), rgba(160,130,50,0.15));
}

/* ═══ Hover: spotlight do mouse + pulse de luz + glow ═══ */

/* Variáveis CSS controladas via JS (posição do mouse) */
.rank-card {
  --mouse-x: 50%;
  --mouse-y: 50%;
}

/* Spotlight que segue o mouse — aparece só no hover */
.rank-card--recruta:hover {
  background:
    radial-gradient(
      250px circle at var(--mouse-x) var(--mouse-y),
      rgba(200,200,200,0.07),
      transparent 70%
    ),
    linear-gradient(#0a0a0a, #0a0a0a) padding-box,
    radial-gradient(
      300px circle at var(--mouse-x) var(--mouse-y),
      rgba(255,255,255,0.8),
      rgba(180,180,180,0.4) 40%,
      transparent 70%
    ) border-box,
    linear-gradient(
      160deg,
      rgba(150,150,150,0.1) 0%,
      rgba(200,200,200,0.6) 20%,
      rgba(255,255,255,0.25) 50%,
      rgba(180,180,180,0.55) 80%,
      rgba(150,150,150,0.1) 100%
    ) border-box;
  box-shadow:
    0 0 25px rgba(150,150,150,0.18),
    0 0 50px rgba(120,120,120,0.06),
    0 4px 20px rgba(0,0,0,0.35),
    inset 0 0 60px rgba(150,150,150,0.1),
    inset 0 -25px 50px rgba(100,100,100,0.08);
  transform: translateY(-4px);
}

.rank-card--magnata:hover {
  background:
    radial-gradient(
      250px circle at var(--mouse-x) var(--mouse-y),
      rgba(74,158,30,0.08),
      transparent 70%
    ),
    linear-gradient(#0a0a0a, #0a0a0a) padding-box,
    radial-gradient(
      300px circle at var(--mouse-x) var(--mouse-y),
      rgba(120,230,50,0.85),
      rgba(74,158,30,0.45) 40%,
      transparent 70%
    ) border-box,
    linear-gradient(
      160deg,
      rgba(74,158,30,0.1) 0%,
      rgba(74,158,30,0.7) 20%,
      rgba(120,220,70,0.3) 50%,
      rgba(74,158,30,0.65) 80%,
      rgba(74,158,30,0.1) 100%
    ) border-box;
  box-shadow:
    0 0 25px rgba(74,158,30,0.22),
    0 0 50px rgba(74,158,30,0.08),
    0 4px 20px rgba(0,0,0,0.35),
    inset 0 0 60px rgba(74,158,30,0.1),
    inset 0 -25px 50px rgba(74,158,30,0.08);
  transform: translateY(-4px);
}

.rank-card--acima:hover {
  background:
    radial-gradient(
      250px circle at var(--mouse-x) var(--mouse-y),
      rgba(200,168,75,0.08),
      transparent 70%
    ),
    linear-gradient(#0a0a0a, #0a0a0a) padding-box,
    radial-gradient(
      300px circle at var(--mouse-x) var(--mouse-y),
      rgba(250,220,100,0.85),
      rgba(200,168,75,0.45) 40%,
      transparent 70%
    ) border-box,
    linear-gradient(
      160deg,
      rgba(200,168,75,0.1) 0%,
      rgba(200,168,75,0.7) 20%,
      rgba(240,210,110,0.3) 50%,
      rgba(200,168,75,0.65) 80%,
      rgba(200,168,75,0.1) 100%
    ) border-box;
  box-shadow:
    0 0 25px rgba(200,168,75,0.22),
    0 0 50px rgba(200,168,75,0.08),
    0 4px 20px rgba(0,0,0,0.35),
    inset 0 0 60px rgba(200,168,75,0.1),
    inset 0 -25px 50px rgba(200,168,75,0.08);
  transform: translateY(-4px);
}

/* — Linha 1: badge (some se vazia) — */
.rank-badge-row {
  width: 100%;
  min-height: 20px;
}

.rank-badge-row:empty {
  display: none;
}

.rank-badge {
  display: inline-flex;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  width: fit-content;
}

.rank-badge--gray {
  color: #999999;
  border: 1px solid #444444;
}

.rank-badge--green {
  color: #4a9e1e;
  border: 1px solid #2d6612;
}

.rank-badge--gold {
  color: #c8a84b;
  border: 1px solid #8a6a20;
}

/* — Linha 2: logo + nome/preço — */
.rank-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}

.rank-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}

.rank-title-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rank-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: #ffffff;
  margin: 0;
  line-height: 1;
}

.rank-price {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #4a9e1e;
  line-height: 1;
  margin-top: 2px;
}

.rank-price--soon {
  color: #555555;
  letter-spacing: 0.1em;
}

/* — Linha 3: descrição — */
.rank-desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: #888888;
  line-height: 1.6;
  margin: 0;
}

/* — Linha 4: texto itálico (só Acima da Lei) — */
.rank-for {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: #555555;
  font-style: italic;
  line-height: 1.6;
  margin: 0;
}

/* — Botão — */
.rank-btn {
  display: inline-block;
  align-self: flex-start;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  padding: 8px 20px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  margin-top: 0;
}

.rank-btn--white {
  background: #ffffff;
  color: #000000;
  border: none;
}
.rank-btn--white:hover { background: #4a9e1e; color: #ffffff; }

.rank-btn--outline-green {
  background: transparent;
  color: #4a9e1e;
  border: 1px solid #2d6612;
}
.rank-btn--outline-green:hover { background: #4a9e1e; color: #ffffff; }

.rank-btn--outline-gold {
  background: transparent;
  color: #c8a84b;
  border: 1px solid #8a6a20;
}
.rank-btn--outline-gold:hover { background: #c8a84b; color: #000000; }

@media (max-width: 768px) {
  .ranks-bg { display: none; }

  .ranks::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../../images/cityart-mobile.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.3;
    filter: grayscale(100%);
    z-index: 0;
    pointer-events: none;
  }
}

/* — Mobile (<1024px): coluna única, cards menores — */
@media (max-width: 1023px) {
  .ranks { padding: 80px 16px; }
  .ranks-title { font-size: 56px; }

  .ranks-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .rank-card { max-width: 560px; }

  .rank-name { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .rank-card {
    opacity: 1;
    transform: none;
    transition: border-color 0.3s, box-shadow 0.3s;
  }
  .rank-card::before,
  .rank-card::after {
    animation: none;
    display: none;
  }
  .rank-card--recruta:hover,
  .rank-card--magnata:hover,
  .rank-card--acima:hover { transform: none; }
}
